Commit graph

713 commits

Author SHA1 Message Date
Dana Jansens
6f79080a4b fix grow to edge stuff. also fix key-resizing terminals. 2007-07-11 23:47:41 +00:00
Dana Jansens
aa901a8ee7 comment 2007-07-11 00:56:45 +00:00
Dana Jansens
489844da32 fix for weird group transient crap.
2 group transients
+ 1 direct transient of one of the above
--
the other group transient would be a child of the direct transient.

it's friggin annoying to look for this. i had to destroy my super clever but
impossible to maintain client_update_transient_tree in order to do it, and add
redundant execution, where children update their transient trees when a parent
does.
2007-07-11 00:56:12 +00:00
Dana Jansens
ad8a7e2e02 grow to edge works again, using the new edge detection code 2007-07-10 20:47:10 +00:00
Dana Jansens
0d0ce065df don't focus helper windows that map unless there are no other valid targets in the group (don't move focus from a group window to a new helper window).
this fixes gucharmap.
2007-07-06 19:41:23 +00:00
Dana Jansens
e0e1b7a5cb move to edge works and the code can be used for resize now too, yay 2007-07-06 04:08:30 +00:00
Dana Jansens
01a35904fe rewrote the movetoedge code so it works with both types of edges (to edge and from edge) 2007-06-28 05:18:01 +00:00
Dana Jansens
52b63adfe1 remove excessive debug print 2007-06-23 15:41:36 +00:00
Dana Jansens
c62fefb067 always reconfigure the window to its new position even if it was fullscreened/maxed, because the pre-max/fs area may not match its actual current area, and this can lead it things not being updated 2007-06-23 05:11:39 +00:00
Dana Jansens
1e6c375fdd add the moveto action 2007-06-22 15:18:43 +00:00
Dana Jansens
29c4cf4a15 add the activate action. it will replace the focus action, as it can just focus without raising now (or without unshading) 2007-06-22 04:59:06 +00:00
Dana Jansens
19ecd4d6d4 look, thumbnails in alt-tab. its such crap though. oh well, just for fun. 2007-06-21 16:20:43 +00:00
Dana Jansens
0e2492a501 don't resize windows when they are user size _or_ user positioned 2007-06-19 21:24:02 +00:00
Dana Jansens
e3b9c8b681 don't set the default icon on child windows, their parents will have an icon 2007-06-15 03:49:28 +00:00
Dana Jansens
4669203fd8 always show the client on desktop change, only use donthide to not hide it 2007-06-13 17:18:57 +00:00
Dana Jansens
8923bd7026 raise windows smartly when merging desktops 2007-06-13 17:16:08 +00:00
Dana Jansens
de2ba8f28b improve the add/remove desktop actions a bunch.
make the lastdesktop action not assert if you remove a desktop (i think it could have)
2007-06-13 16:47:53 +00:00
Dana Jansens
15e6775b0c only send configurenotify for user-action configures when it moves 2007-06-13 15:57:46 +00:00
Dana Jansens
0813e4451d add force_reply back to client_configure(). client_reconfigure is nicer this time around. eat enter events in client_configure when user is FALSE. 2007-06-13 15:56:44 +00:00
Dana Jansens
99c6a00cf6 don't raise windows when moving them between desktops in some cases 2007-06-13 15:13:16 +00:00
Dana Jansens
07f60c3a38 fix moved comment 2007-06-13 15:08:19 +00:00
Dana Jansens
15d6158536 don't force reconfigure in a number of places, also eat enter events when reconfiguring. yay 2007-06-13 15:07:49 +00:00
Dana Jansens
383f1ee85f don't show vertical resize context/arrow when the window is shaded 2007-06-13 12:31:41 +00:00
Dana Jansens
eb6a2e9c4b xinerama support like crazy for struts and everything else too. this probably crashes but its been way too long without a commit. 2007-06-13 11:15:51 +00:00
Dana Jansens
cbaafd2ff9 use all possible struts when maximizing to fill the screen 2007-06-13 02:34:59 +00:00
Dana Jansens
17b927ab6d some typos 2007-06-13 01:59:18 +00:00
Dana Jansens
9586e3bf14 plug memory leaks from the new strut code 2007-06-13 01:58:34 +00:00
Dana Jansens
7a6a516b8e very cool struts. partial struts actually are partial struts now. possibly way broken with xinerama? 2007-06-13 01:50:01 +00:00
Dana Jansens
9b5cf4bacf ratios are floats 2007-06-12 19:07:02 +00:00
Dana Jansens
8f2e3f5fe1 use the same decision code to focus new windows as for focus cycling or focus fallback. yay consistency. 2007-06-12 17:46:16 +00:00
Dana Jansens
8deaf1c239 respect max/min sizes when fullscreen or maximized 2007-06-12 14:33:22 +00:00
Dana Jansens
9e44bed8b8 stop ignoring enters on window hide, and explain why 2007-06-12 04:54:16 +00:00
Dana Jansens
4b3b71c54e like unmap, don't let enter events move focus when a window iconifies unless underMouse is on 2007-06-12 04:31:23 +00:00
Dana Jansens
ca4cfdbf38 dont use enter events from new windows appearing to focus them, unless underMouse is on 2007-06-12 04:20:41 +00:00
Dana Jansens
e549a2d0e0 when undecorated and keepborder is on, show only the outside border not the clientborder 2007-06-11 18:56:19 +00:00
Dana Jansens
875ce8edf4 fix a debug print 2007-06-10 21:40:22 +00:00
Dana Jansens
897c70e8dd frigging gtk frig. 2007-06-10 16:19:08 +00:00
Dana Jansens
6271c8e975 make client_under_pointer only count windows on the visible desktop. its called halfway thru showing/hiding windows on a desktop change when focusLast is off 2007-06-10 00:33:54 +00:00
Dana Jansens
4b84ef021f better. 2007-06-07 16:25:23 +00:00
Dana Jansens
364a8704fb c comments 2007-06-07 16:23:43 +00:00
Dana Jansens
877247992a i dont think that line is valid, if it ever did run 2007-06-07 16:23:23 +00:00
Dana Jansens
7c6050b6f5 add debug prints 2007-06-07 05:24:06 +00:00
Dana Jansens
94140a4b35 get rid of client->transient_for. just client->parents and client->transient_for_group now. 2007-06-07 04:22:56 +00:00
Dana Jansens
a79e51c64f transient_for is now only used to check for OB_TRAN_GROUP 2007-06-07 03:43:22 +00:00
Dana Jansens
428880d75a more cleanup 2007-06-07 03:37:09 +00:00
Dana Jansens
7a33207a50 more cleanup 2007-06-07 03:25:15 +00:00
Dana Jansens
571b09f999 nice code cleanup that's been needed for a long time. add parents list to client, which you can iterate instead of going thru the group. 2007-06-07 03:21:18 +00:00
Dana Jansens
587523c0cb one more.. 2007-06-06 16:08:21 +00:00
Dana Jansens
f6aaaeddf5 better group_full func 2007-06-06 16:07:39 +00:00
Dana Jansens
5c78f329ae check if they have a group 2007-06-06 16:06:44 +00:00