Dana Jansens
0df3d6f6c3
support serials wrapping around
2007-06-03 19:20:55 +00:00
Dana Jansens
4940d007cc
super amazing enter event skipping.
...
also mucho fixed for <underMouse>
2007-06-03 19:09:32 +00:00
Dana Jansens
097d02d9d3
add <underMouse> focus option
2007-06-03 17:58:21 +00:00
Dana Jansens
b0aa29db69
do the menu_can_hide thing properly. was such a hack before? and the variable was getting set from all kinds of events like motion notify. totally not reliable. now it works all nice.
2007-06-02 19:14:32 +00:00
Dana Jansens
dcb76cac8f
better fix for focus going to the frame window when iconifying with RevertToParent. Treat the focus in like a focus out.
...
When focus moves to a window that doesn't exist, need to set the focus_client to NULL otherwise the client that lost focus won't know and won't update its decor
2007-06-02 03:31:25 +00:00
Dana Jansens
c768a7dae7
catch focus out events on the frame window - this happens with revert to parent when a window is iconified. we get focusin on the frame without a focus out - which then makes us fallback. but catch the resulting focusout on the frame to make the window lose its focused decor
2007-06-02 03:16:02 +00:00
Dana Jansens
2d9260f8c4
make escape close the whole menu
2007-05-31 23:30:50 +00:00
Dana Jansens
6fbeeb8032
don't hover buttons while the pointer is grabbed
2007-05-31 23:15:26 +00:00
Dana Jansens
467b7f4d4d
make it possible to iconify a modal window when its parent is the only window left on the desktop.
...
when focus falls off of a window, don't allow focus to go back to that same target - when a window is iconified is the case.
what focus_fallback_target, to check whe allow_refocus is false, check where focus will actually be sent
2007-05-30 20:53:00 +00:00
Dana Jansens
b2dfa2fc9b
don't hide the dock when the mouse goes into a dock app
2007-05-30 17:55:36 +00:00
Dana Jansens
6e06e45fb6
fix hack for windows moving by their decor size
2007-05-29 00:42:16 +00:00
Dana Jansens
ba2de2d512
give the client a 0 border again.
2007-05-28 23:15:51 +00:00
Dana Jansens
2aa0a6b01b
get rid of the plate window
2007-05-28 22:30:59 +00:00
Dana Jansens
3e8d8108e7
when focus goes to the root window, and it is coming from another screen, fall back to a client
2007-05-28 21:57:11 +00:00
Dana Jansens
be3b78736f
better more obvious code
2007-05-28 04:18:54 +00:00
Dana Jansens
2f579df4e7
call client_reconfigure after setup_decor_and_functions to make the changes appear
2007-05-28 04:14:03 +00:00
Dana Jansens
0299cdedd7
make mouse clicks higher up in the menu select the submenu
2007-05-28 03:48:04 +00:00
Dana Jansens
f8aab34e52
dont make motions in menus outside of the active menu, its child, and its parent, do anything
2007-05-28 03:31:06 +00:00
Dana Jansens
8205b6581d
update the strut when strut_partial changes
2007-05-28 02:23:23 +00:00
Dana Jansens
30912d467a
do try_configure to find out what width the window will actually be, before adjust the x/y based on gravity, if they didn't specify the x/y
2007-05-28 01:42:50 +00:00
Dana Jansens
33406a1c7f
when compressing motion events use both xy and rootxy
2007-05-28 01:07:45 +00:00
Dana Jansens
c53db44602
ignore focusout notifyungrab.
...
fix focus bug in firefox where you use gmarks popup and when you go to a page with it, it think focus went to a black hole
2007-05-27 23:09:22 +00:00
Dana Jansens
b8fded742a
make focuslast only apply to switching desktops, like 3.3.1
2007-05-27 22:50:40 +00:00
Dana Jansens
35889c2854
mssing a break; *^^;*
2007-05-27 22:37:16 +00:00
Mikael Magnusson
47744e03c3
don't crash when you press enter with nothing selected in the menu
2007-05-27 18:57:51 +00:00
Dana Jansens
2e529e3ff3
don't change clients' borders
2007-05-26 22:55:13 +00:00
Dana Jansens
5e9e266722
change in how things are ungrabbed to avoid grabwhilenotify. don't ungrab every key press. just ungrab the passive grab when there is no active grab and we are going to move focus.
...
this should be less intrusive and seems to work
2007-05-26 22:13:34 +00:00
Dana Jansens
40f20e93ca
move some code aaround for focusing. proper layer calculation for fullscreen windows based on focus. hopeuflly not break sometihng else.
2007-05-25 22:55:37 +00:00
Dana Jansens
e10c54137a
let you use control button to run keyboard accels in menus
2007-05-25 19:01:57 +00:00
Dana Jansens
336011efb1
prevent flicker in the follow actiosn again instead of in focus fallback. focus fallback needs to be very reliable.
2007-05-25 15:23:48 +00:00
Dana Jansens
7cf4c970ae
debug print in focus.c
...
when focus goes to something that isn't a client (window already unmapped) then set focus_client to NULL so we know nothing has focus right now
2007-05-25 15:02:20 +00:00
Dana Jansens
f638c5b8fa
some focus changes...
...
1) listen for inferiornotify. that way when iconify animating reverts to parent, we see it.
2) set client to null when falling back and update the root window property
3) get rid of the "focus didnt move anywhere" business, and just process the envents in the right order.
2007-05-24 21:50:35 +00:00
Dana Jansens
2fb7a6e478
yay! gravity finally works right!
2007-05-23 15:16:13 +00:00
Dana Jansens
1b82cc481e
little sanity check. dont let you create more than 1000 desktops
2007-05-23 04:17:30 +00:00
Dana Jansens
b95fe18c56
revert r6775, it didnt help, and then more event storm
2007-05-22 23:48:44 +00:00
Dana Jansens
e043faec9e
dont compress motion events. it breaks things, moveresize is missing events
2007-05-22 23:44:33 +00:00
Dana Jansens
63a6a1f053
don't use the timestamp and such fields when the _NET_ACTIVE_WINDOW is using the old spec
2007-05-22 20:49:31 +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
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
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
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
2c4fef2995
fix flashy menus
2007-05-19 19:18:52 +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
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