Commit graph

3029 commits

Author SHA1 Message Date
Dana Jansens
01debc76b9 yet MORE changes to how focusin/out's are handled. more edge case fixing, this time with focus fallback when unmapping a window in sloppy focus mode. 2003-04-18 08:45:49 +00:00
Dana Jansens
b426f7667d adjust choosing to focus new windows, make it more strict.
eat all Enter events when unmapping a window so focus fallback can be more smarter..
2003-04-18 08:44:32 +00:00
Dana Jansens
a8b8f2fc80 dont need to sync 2003-04-18 08:41:35 +00:00
Dana Jansens
a5f5b42455 check for client_normal before focusing 2003-04-18 06:55:51 +00:00
Dana Jansens
06663c245a when unfocusing a window (e.g. unmanaging) try fallback to transient relations, if that fails, try group relations, then fallback to other window. 2003-04-18 06:55:28 +00:00
Dana Jansens
9d16ced24e try focus other transients of the parent window when a transient falls back before focusing the parent 2003-04-18 06:32:54 +00:00
Dana Jansens
f8056d9c28 unset it AFTER using it... 2003-04-18 06:29:28 +00:00
Dana Jansens
bf14853e55 unset the client when done moveresizing 2003-04-18 06:28:57 +00:00
Dana Jansens
b5a5a8f384 don't wait(), the glib function does that for us woot. 2003-04-18 06:07:41 +00:00
Dana Jansens
c4fb053f2f more strict rules on what will be focused by the focusNew option in the rc3. only strictly NORMAL windows will be focused, not dialogs or anything else when they are mapped. 2003-04-18 04:13:08 +00:00
Dana Jansens
e6a00eee31 comment typo 2003-04-18 01:51:55 +00:00
Dana Jansens
077cd7f944 watch out when unmanaging a window, that it is not being move/resized 2003-04-18 01:51:41 +00:00
Dana Jansens
cfe3dc9ec4 a) put transient windows on the same desktop as their parent
b) if a window is attempted to be focused but it is not on the current desktop,
   then move it to the top of the focus order on its desktop
2003-04-17 18:21:19 +00:00
Dana Jansens
322b2d0a05 distribute focus when entering/leaving show-the-desktop mode 2003-04-17 17:32:09 +00:00
Dana Jansens
0a3d3245a6 remove debug print 2003-04-17 17:31:22 +00:00
Dana Jansens
43139ed373 add the left/right/top/bottom direction arrows and use them for resizing those ways 2003-04-17 16:18:34 +00:00
Dana Jansens
4b421dc811 net_WM!@^&( 2003-04-17 16:02:32 +00:00
Dana Jansens
95b1cd0166 use the right client 2003-04-17 16:02:15 +00:00
Dana Jansens
a85158b14f dont use the client if there is none 2003-04-17 16:01:42 +00:00
Dana Jansens
793099ce57 dont ignore all Virtual pointer events 2003-04-17 08:04:45 +00:00
Dana Jansens
1923939bba 02:33 (@xor) omg yes
02:33 (@xor) grid workspace cycling of d3th
2003-04-17 07:33:50 +00:00
Dana Jansens
827e7baf20 fix grip workspace cycling 2003-04-17 07:20:08 +00:00
Dana Jansens
c4af950903 fix up support for moveresize. make keyboard grabs Async so that i can hit escape to cancel a moveresize process. 2003-04-17 07:00:13 +00:00
Dana Jansens
de70d9ffc5 do not shadow parameter pls 2003-04-17 06:24:41 +00:00
Dana Jansens
c4138c0cde initialize start_x/y 2003-04-17 06:21:19 +00:00
Dana Jansens
25ffe6b566 add support for interactive/keyboard move/resize 2003-04-17 06:17:06 +00:00
Dana Jansens
12d4c8666c add support for net_moveresize_window and net_wm_moveresize 2003-04-17 05:43:41 +00:00
Dana Jansens
7e8cdf1ab7 use the new cursor defn's 2003-04-17 05:29:11 +00:00
Dana Jansens
75d4428403 use the new ptr cursor defn 2003-04-17 05:28:53 +00:00
Dana Jansens
7886b797a3 move the move/resize functionality into moveresize.c, for use with the netwm atoms. use it from teh plugins. combine the two actions. 2003-04-17 05:28:35 +00:00
Dana Jansens
55c424d38b put text centered in the popup dialog properly 2003-04-17 05:13:18 +00:00
Dana Jansens
1617489f20 make alt-middle the default resize binding 2003-04-17 02:16:38 +00:00
Dana Jansens
11b79778ad add more cursors for move/resizing, and use the arrows not the angle brackets 2003-04-17 02:15:09 +00:00
Dana Jansens
372bf02947 grab pointer during cycling to remove focus screwups from focus-follows-mouse.
grab during move/resize and assign a cursor while doing the move/resize too!
2003-04-17 02:14:30 +00:00
Dana Jansens
962f0b3062 save the client and context during drags since a pointer grab will change them 2003-04-17 02:11:46 +00:00
Dana Jansens
450c21d0ca ignore virtual crossing events.. 2003-04-17 01:48:26 +00:00
Dana Jansens
8d3829d160 that was dumb, it was metacity's fault 2003-04-17 01:25:29 +00:00
Dana Jansens
3505a866fe only cycle to visible windows 2003-04-17 01:24:53 +00:00
Dana Jansens
cb71c993e5 dont send menu events to plugins 2003-04-16 19:41:22 +00:00
Dana Jansens
8955a2b70f show the root menu on right click 2003-04-16 18:09:38 +00:00
Dana Jansens
185d1337e5 menus works on some level. add a built-in root menu 2003-04-16 18:09:11 +00:00
Dana Jansens
04cfdd261d code cleanup 2003-04-16 17:06:42 +00:00
Dana Jansens
1683b33fc1 when flags are not set assume bette defaults 2003-04-16 16:56:26 +00:00
Dana Jansens
79a352a40b raise menus above clients.
hilight menu entries as the cursor passes over them.
2003-04-16 05:36:51 +00:00
Dana Jansens
59c3cce4f4 save the window ids in a map for the menus 2003-04-16 04:16:24 +00:00
Dana Jansens
c915078fab only change the group info if the group flag is set 2003-04-16 01:02:29 +00:00
Dana Jansens
8c2f20e672 only add transients if we are IN a group 2003-04-16 00:55:27 +00:00
Dana Jansens
712475a9b5 oops nm 2003-04-16 00:53:52 +00:00
Dana Jansens
f3a93aeede less ()s cleanup 2003-04-16 00:53:32 +00:00
Dana Jansens
d4b2de2180 remove transients before removing ourlselves from teh group 2003-04-16 00:52:18 +00:00