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
Dana Jansens
d0bde36aa7
better code for the last commit. let transients get focus when a group member is focused too.
2007-06-06 14:34:22 +00:00
Dana Jansens
7a13f91875
let transients take focus when anything in the transient tree _or the group_ is focused
2007-06-06 14:23:56 +00:00
Dana Jansens
94c95663a8
don't force clients on screen when restarting
2007-06-05 17:01:55 +00:00
Dana Jansens
9a7c4de2eb
don't copy the desktop from group parents when they are omnipresent
2007-06-04 20:46:49 +00:00
Dana Jansens
62d9a34138
don't change the focus order when a client tries to focus but is not visible. client_activate will -make- it visible anyways.
...
fixes focus fallback's loop totally breaking (stopping on 32bit and looping forever on 64bit) when it encountered a non-visible window
2007-06-04 20:31:33 +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
a866259d1f
when finding edges and we're omnipresent only use windows on screen
2007-06-02 00:12:37 +00:00
Dana Jansens
10f79f4dae
change which windows are used for finding edges. its the same as window resistance really now. and works if the window isnt on the current desktop
2007-06-02 00:05:06 +00:00
Dana Jansens
3547fe26ed
formatting
2007-06-01 23:24:01 +00:00
Mikael Magnusson
3c4e59d597
i think this would overflow?
2007-06-01 21:36:16 +00:00
Dana Jansens
3da77dbf71
big explanation
2007-06-01 16:32:51 +00:00
Dana Jansens
668e855b96
fix java
2007-06-01 16:14:03 +00:00
Dana Jansens
af42ac2a53
less configure events on mapping
2007-06-01 05:21:09 +00:00
Dana Jansens
32b64b6cf5
fix comment
2007-06-01 04:59:57 +00:00
Dana Jansens
9b5770277d
less configurenotify spam
2007-06-01 04:54:42 +00:00
Dana Jansens
4ff0d49cc7
deiconify modal windows when you try to focus their parent
2007-05-30 20:46:46 +00:00
Dana Jansens
7d93a21878
let new utility windows get focus under the normal rules
2007-05-30 19:16:19 +00:00
Dana Jansens
9a3464b8e3
that change was a bug after all. mika was right!
2007-05-30 02:19:02 +00:00
Dana Jansens
a4150ae3d9
add comments
2007-05-29 12:26:41 +00:00
Dana Jansens
6fa15756c3
wasted checked, configure will do them for us
2007-05-29 00:04:07 +00:00
Dana Jansens
ba2de2d512
give the client a 0 border again.
2007-05-28 23:15:51 +00:00
Dana Jansens
56b01b73a8
have the clientpadding color show during resize, and no flashing on unmap. we win !
2007-05-28 22:46:28 +00:00
Dana Jansens
2aa0a6b01b
get rid of the plate window
2007-05-28 22:30:59 +00:00
Dana Jansens
c7731ecb8d
a better ordering for mapping window configure events
...
configure the window to find where it will actually be, with all the startup states off. then apply the startup states to those dimensions
2007-05-28 21:08:28 +00:00
Dana Jansens
123ee25c59
final touches for r6990-6992
2007-05-28 04:26:14 +00:00
Dana Jansens
be3b78736f
better more obvious code
2007-05-28 04:18:54 +00:00
Dana Jansens
cc2237bb4f
fix a comment
2007-05-28 04:09:39 +00:00
Dana Jansens
2050e99a5f
dont count non-normal windows as parents, in the group too
2007-05-28 02:21:10 +00:00
Dana Jansens
a5aa1af32c
typo again!?
2007-05-28 02:15:47 +00:00
Dana Jansens
5ec53919bd
dont count non-normal windows as parents
2007-05-28 02:15:31 +00:00
Dana Jansens
9182f1a603
typo and ()s
2007-05-28 02:13:17 +00:00
Dana Jansens
301016fd2b
don't give focus to transient when it is ambiguous, but only if they have a parent
2007-05-28 02:12:36 +00:00
Dana Jansens
e9f6255b18
properly search for a focused window in the transient tree
2007-05-28 02:02:13 +00:00
Dana Jansens
e48dce6707
add a comment
2007-05-28 00:35:11 +00:00
Dana Jansens
16fcb1213d
when you focus a window, bring any modal children it has to that desktop
...
when falling back, return the window which actually was focused by client_focus
let you focus cycle to windows when their modal window is on another desktop (it will be brought over)
2007-05-28 00:33:58 +00:00
Dana Jansens
8874ec1fc4
put transients on the current desktop when their parent is on all desktops
2007-05-28 00:05:51 +00:00
Dana Jansens
65bf23c27d
when colormap changes and it is installed, reinstall the new one
...
also add a debug print
2007-05-27 22:39:30 +00:00
Dana Jansens
a9ff8217bf
debug prints improved
2007-05-27 22:31:38 +00:00
Dana Jansens
c189771cef
when an app doesn't specify PPosition or USPosition, then assume its PPosition
2007-05-27 21:30:16 +00:00
Dana Jansens
8e19e99ac8
debug print modified and the confignotify test
2007-05-27 15:28:16 +00:00
Dana Jansens
2521fd24c5
don't set the above member in synthetic configurenotify events
...
add more output in confignotify test
2007-05-27 14:49:44 +00:00
Dana Jansens
cace930f8c
only need to call xconfigurewindow once
2007-05-27 14:33:37 +00:00
Dana Jansens
47986dcd9c
always set all the coords, as the x/y only change when resizing the border too
2007-05-27 00:35:00 +00:00
Dana Jansens
a38012f2ff
only readjust the frame size when the client needs to be resized
2007-05-26 23:12:29 +00:00
Dana Jansens
5883164b19
fix for not changing clients' border widths on them
2007-05-26 23:09:34 +00:00
Dana Jansens
2e529e3ff3
don't change clients' borders
2007-05-26 22:55:13 +00:00
Dana Jansens
306ea13177
we set borderwidth to 0 so always give that to the client consistently
2007-05-26 22:41:31 +00:00
Dana Jansens
a4f868a195
send the client's border width in configurenotify messages, so it can get the right offset
2007-05-26 22:28:27 +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
16ae58681e
remove a debug print
2007-05-26 17:36:05 +00:00
Dana Jansens
a8fe821fdd
use the PSize and USSize hints to decide to resize windows on map or not
2007-05-26 15:38:54 +00:00
Dana Jansens
e9ccc6a82e
fix a debug print
2007-05-26 15:25:57 +00:00
Dana Jansens
7d164842e0
give focus to new windows when *any* relative already has focus..
...
don't give it when it will not go to the window anyway tho, like if there is already a modal child for it
2007-05-26 14:56:53 +00:00
Dana Jansens
5a1fa9210d
add a debug print
2007-05-26 03:09:45 +00:00
Dana Jansens
d1570968cf
put the hostname in icon titles too
2007-05-25 14:08:54 +00:00
Dana Jansens
38d1f2cba6
send iconic windows to the bottom of the focus list so you can a-s-tab tog get back what you just iconified
2007-05-25 14:07:34 +00:00
Dana Jansens
f9cf8fcea8
dont give focus to transients when the situation is ambiguous
2007-05-24 21:01:19 +00:00
Dana Jansens
33d48c5271
add a debug print
2007-05-24 20:33:55 +00:00
Dana Jansens
081c7c0cfe
experimental change. when apps map, make them fit inside the struts and the screen and stuff, unless they are user-positioned
2007-05-24 20:29:30 +00:00
Dana Jansens
689157e869
only put a transient for the group onto some other desktop if its whole group is over there
2007-05-24 19:38:03 +00:00
Dana Jansens
e2da966bcb
choose the closest icon size, not always the first icon. :X
2007-05-24 19:28:22 +00:00
Dana Jansens
10e08f6cd8
use maximized state to try find fullscreen sized windows that shouldnt be considered fullscreen, instead of using the undecorated flag
2007-05-24 12:47:19 +00:00