Dana Jansens
d0c1a24be9
fix frame positionings more
2007-05-22 17:46:56 +00:00
Dana Jansens
c7e813580f
fix some math for frame elements
2007-05-22 15:43:28 +00:00
Dana Jansens
0fe1e8f4d7
eat enter events when the new alttab popup hides
2007-05-22 15:34:49 +00:00
Dana Jansens
53309da211
put back the check for the window type when restoring the session. if you only have 1 firefox window in the saved session, the check for duplicates won't help
2007-05-22 04:52:44 +00:00
Dana Jansens
8679fbba8f
when restoring the session, dont restore windows which appear more than once in the session with the same identifiers, because we can;t tell them apart
2007-05-22 03:03:07 +00:00
Dana Jansens
e97a443590
don't compare variables to themselves
2007-05-22 02:28:03 +00:00
Dana Jansens
8f87a8af62
only send configure notify when they requested a move, or if we are actually changing anything.
...
that is: if they only request a resize and nothing changes, don't do anything and dont send a configurenotify. this fixes the emacs event storm
also some new macros for rects
2007-05-22 02:14:49 +00:00
Dana Jansens
4c25342316
dont use the client's area rect when figuring out where to place it because then when you want to move ti there, it thinks that it is already there! i actually fixed another bug recently that would have affectd this before but now it should work perfect..
2007-05-22 01:36:17 +00:00
Dana Jansens
e8bac610ad
adjust the frame's size before placing the window so we know how much decor it has
2007-05-22 01:32:28 +00:00
Dana Jansens
a0941554f6
fix showing the resize cursors at the right times.
...
fix losing the pre-size/position for windows mapped maximized or fullscreen states (and on restart)
2007-05-22 01:03:13 +00:00
Dana Jansens
c5508ec16f
we put desktop windows on all desktops so dont let them move.
...
make sure the window can move/resize when shutting down and restoring its geometry
2007-05-22 00:24:06 +00:00
Dana Jansens
f0940aba64
missing another break; ! wow
2007-05-22 00:19:04 +00:00
Dana Jansens
798ed11be8
missing a break; heh
2007-05-22 00:18:45 +00:00
Dana Jansens
62c311ba92
better ordering so you can unmaximize maximized windows.. but you cant resize them
2007-05-22 00:11:14 +00:00
Dana Jansens
119c48fc6c
you can't resize fully maxed windows
2007-05-22 00:09:08 +00:00
Dana Jansens
44be67844a
don't reload the session on restart
2007-05-22 00:05:28 +00:00
Dana Jansens
b8f207892a
some repositioning of frame elements for maximized windows.
...
fix clicking on borders not counting as the button in that corner for full max windows
disable the resize cursors for full max windows
2007-05-21 23:56:07 +00:00
Dana Jansens
bca4fe6c8b
maybe the user time stuff should be more like other wm implementtions and less in the way
2007-05-21 21:48:27 +00:00
Dana Jansens
fd8ce9414a
use simple pattern matching for per-app settings. all rules that match are applied to a window rather than just the first
2007-05-21 03:42:25 +00:00
Dana Jansens
209d8df0b1
leave things how we found them !
2007-05-20 22:49:34 +00:00
Dana Jansens
3c3fc81b6c
fix iconify animation to deal with the new frame layouting
2007-05-20 22:10:42 +00:00
Dana Jansens
4c7119f94f
hide more decor whwn its not being used
2007-05-20 20:00:23 +00:00
Mikael Magnusson
559ab9c922
add --restart
2007-05-20 15:23:08 +00:00
Dana Jansens
64d812c6d7
fix windows moving to monitors other than their own. client_find_onscreen uses their desired coordiantes instead of their old ones
2007-05-20 15:16:57 +00:00
Mikael Magnusson
928305d0b7
remove unused config_menu_warppointer
2007-05-20 15:01:01 +00:00
Dana Jansens
598199425d
make frame elements unmap when they arent in use
2007-05-20 14:56:09 +00:00
Dana Jansens
2cce02b1b9
fix for shaped windows
2007-05-20 07:19:52 +00:00
Dana Jansens
ef95323122
fix for variable sized border between titlebar and client
2007-05-20 07:09:31 +00:00
Dana Jansens
7472ed3557
fix new dimensions for maximized windows
2007-05-20 07:02:49 +00:00
Dana Jansens
1612a16e80
frame can handle having no border between the titlebar and the client now
2007-05-20 06:47:43 +00:00
Dana Jansens
1b7c2dac9e
draw the handle without borders
2007-05-20 06:45:02 +00:00
Dana Jansens
0353b979c6
construct the titlebar without borders
2007-05-20 05:39:16 +00:00
Dana Jansens
96fbc0c622
set the resize cursors only when the window can be resized
2007-05-20 05:01:00 +00:00
Dana Jansens
ff681544e4
the left and right resize handles are the border, not grips
2007-05-20 04:44:58 +00:00
Dana Jansens
cf5c75420a
stop using a border for the outer frame window. step 1 of borderless-ness. now transparent windows dont look so terrible, yay
2007-05-20 04:44:00 +00:00
Dana Jansens
2dada607c5
don't assume screen 0
2007-05-20 03:39:40 +00:00
Dana Jansens
8159ac5f86
i think this is good? can you run X at 32 bits?
2007-05-20 03:38:02 +00:00
Dana Jansens
883bad4386
set the functions recursively, so if you change it after the menu has been opened it takes effect all the way down
2007-05-20 02:17:19 +00:00
Dana Jansens
3a280fa949
fix segfault by ordering shutdown properly
2007-05-20 02:15:07 +00:00
Dana Jansens
d3f67abe46
set the functions in the more menu the same as the parent menu
2007-05-20 01:59:11 +00:00
Dana Jansens
a112ffa170
old unused variable
2007-05-20 01:57:10 +00:00
Dana Jansens
ce1de0f365
maybe smaller icons look nicer?
2007-05-20 00:06:48 +00:00
Dana Jansens
6b038948cc
put text back to the left and add a bit more spacing
2007-05-20 00:02:55 +00:00
Dana Jansens
b596a52fad
does the popup look better with centered text?
2007-05-19 23:56:51 +00:00
Dana Jansens
05d93485b7
show and hide the new left/right resize bars at the right time
2007-05-19 23:43:44 +00:00
Dana Jansens
1efc5111ec
revert r6638
2007-05-19 23:15:42 +00:00
Dana Jansens
813d5c2ec9
add a root context that only applies to the root window. it fallsback to the desktop context, so desktop stuff applies to it too.
2007-05-19 22:07:15 +00:00
Dana Jansens
198aab2b71
make binding fallback for mouse clicks less restrictive. if you dont have a binding for the same button AND STATE then fallback.
2007-05-19 22:03:12 +00:00
Dana Jansens
ed4d0ca31a
for startup notification, use the left ptr+watch if it is available, and fall back to the pointer instead of the unusable watch if its not
2007-05-19 21:49:45 +00:00
Dana Jansens
9014cf7c4e
missing new left and right contexts
2007-05-19 21:49:12 +00:00
Dana Jansens
b26635fe99
add Left and Right contexts for resizing
2007-05-19 21:39:40 +00:00
Dana Jansens
2f541b6ef3
make either key work for people who have super_l and super_r (or whatever ones) bound to different mod masks
2007-05-19 21:17:01 +00:00
Dana Jansens
ecdb7d5807
let you resize on the bottom of the frame when handle height is 0 in the theme
2007-05-19 21:03:51 +00:00
Dana Jansens
83da4ec939
fix escape's behavior in menus. make static stuff that shouldnt be used by others
2007-05-19 20:58:10 +00:00
Dana Jansens
ea272a93ef
show the old single-window popup for directional focus.
...
fix multirow icons for the new popup.
2007-05-19 20:52:31 +00:00
Dana Jansens
2ed4552f8b
round up rather than down for figuring out the width of the popup, so it will fit the text when possible
2007-05-19 20:37:33 +00:00
Dana Jansens
0de1fd496f
center the icons when there is only 1 row
2007-05-19 20:34:34 +00:00
Dana Jansens
2253b5e341
fix the popup for directional focusing, only show what is going to be a valid target. change directional focus to use the same criteria as normal cycling.
2007-05-19 20:31:08 +00:00
Dana Jansens
50ba7e2d4c
fix positioning of stuff in the cycling popup. oh my god. the image texture is drawn inside the margins of the outer appearance
2007-05-19 20:14:08 +00:00
Dana Jansens
2c4fef2995
fix flashy menus
2007-05-19 19:18:52 +00:00
Dana Jansens
4305448a62
better positioning and some spacing
2007-05-19 19:05:47 +00:00
Dana Jansens
7dd7c9973b
better coloring for the cycling hilite
2007-05-19 18:58:38 +00:00
Dana Jansens
53066b1808
new focus cycle popup of doom
2007-05-19 18:40:37 +00:00
Dana Jansens
83eb922012
move focus_cycle_popup into its own file
2007-05-19 14:49:00 +00:00
Dana Jansens
eb09b1873d
move focus_cycle_indicator into its own file
2007-05-19 14:36:19 +00:00
Dana Jansens
40f789e641
2007-05-19 14:22:20 +00:00
Dana Jansens
d307a36893
add missing include for new header
2007-05-19 14:16:23 +00:00
Dana Jansens
718adbae65
move focus cycling into its own file
2007-05-19 14:15:28 +00:00
Dana Jansens
3d7c2f45ec
80 cols
2007-05-19 13:45:16 +00:00
Dana Jansens
9752670920
remove a function that is no longer used. and backwards boolean algebra was causing us to not ignore the right enter events
2007-05-19 00:38:06 +00:00
Dana Jansens
7ee54ff106
get rid of the serials for ignoring enters..
2007-05-18 23:40:13 +00:00
Dana Jansens
6142eb3a48
when done iconify animating, send a configure notify (this fixes kde's pager showing the window in the wrong place)
2007-05-18 15:20:03 +00:00
Dana Jansens
6d26502631
super correct enter event ignoring that will only ignore what it has to, yay?
2007-05-18 00:11:01 +00:00
Dana Jansens
9451205cf1
but don't count the same enter events more than once still
2007-05-17 23:21:52 +00:00
Dana Jansens
ae269d77ca
fix a comment
2007-05-17 23:21:09 +00:00
Dana Jansens
bba37f0cd1
ignore enter events without disrupting the event queue
2007-05-17 23:20:50 +00:00
Dana Jansens
18ef3dce1c
re-staticify this function
2007-05-17 23:14:59 +00:00
Dana Jansens
e47499a07c
don't ignore the same enter events more than once
2007-05-17 23:11:14 +00:00
Dana Jansens
a71c91abe5
old comment
2007-05-17 13:35:35 +00:00
Mikael Magnusson
c8b4710755
static makes more sense than inline i think
2007-05-17 09:20:16 +00:00
Dana Jansens
9d004f517b
name of the action_undecorate atom was wrong
2007-05-17 04:16:20 +00:00
Dana Jansens
382d37553d
add an atom ob_wm_action_undecorate to match with ob_wm_state_undecorated, so stuff could know if the window can be undecorated
2007-05-17 04:15:34 +00:00
Dana Jansens
f9a79e6062
a little check that catches firefox and other buggy apps, which set the same wmcommand across sessions on different window types. type is a pretty obvious check its hard for it to be a false alarm
2007-05-17 03:31:20 +00:00
Dana Jansens
c6dac85397
don't let the user toggle decorations on widnows that don't have any decorations to toggle
2007-05-17 02:29:13 +00:00
Dana Jansens
3c590a5851
kill enter events without using pointer grabs
2007-05-17 02:23:35 +00:00
Dana Jansens
281c1edb42
kill enter events without using pointer grabs
2007-05-17 02:21:22 +00:00
Dana Jansens
b1076c9333
rename client_configure_full to client_configure
2007-05-17 01:45:00 +00:00
Dana Jansens
cfce6b8f4d
simpler code yay
2007-05-17 01:43:29 +00:00
Dana Jansens
2ca83f6713
grab the pointer when windows move them selves so no enter events happen. i wonder if this will cause but reports. it still does for restacking though..
...
little cleanup in client.c, and remove client_configure macro which was now
redundant
2007-05-17 01:38:01 +00:00
Dana Jansens
619eeaa962
grab the pointer accross actions run by the applications, the same as for
...
actions run by the user
2007-05-17 00:56:29 +00:00
Dana Jansens
4fdf8a4315
"fullscreen" windows that are undecorated by the user do not count as legacy fullscreen windows
2007-05-17 00:50:09 +00:00
Dana Jansens
b69bf80982
fullscreen only if no decorations
2007-05-16 17:01:47 +00:00
Dana Jansens
5a1a3c2b12
comment what i did
2007-05-16 03:08:49 +00:00
Dana Jansens
3addcd8bb9
don't queue showmenu events, and set button to 0 when a grab is in place after the buttonpress event is run
2007-05-16 03:07:17 +00:00
Dana Jansens
d30809e5fa
always ignore errors for client_focus like we used to.
2007-05-15 17:38:52 +00:00
Dana Jansens
d3e524420f
revert r6485, for backwards compatibility
2007-05-15 16:07:16 +00:00
Dana Jansens
3ddc053ccd
that broke flashing
2007-05-15 04:44:15 +00:00
Dana Jansens
2a203eb5dc
fix a comment
2007-05-15 04:34:11 +00:00
Dana Jansens
361bf6af5c
simplify focus handling a bit. no need to listen to focus going to the frame because if it ever does that, the window is unmapping and the frame will just unmap and send it to root.
...
make focus fallback a lil more robust, it checks for errors when it sets focus on the window, and if an error occured it will focus the next option.
2007-05-15 04:32:59 +00:00
Dana Jansens
f5597c060e
try draw the decorations sooner
2007-05-15 03:47:56 +00:00