Dana Jansens
3409148047
fixes to the properties and net_supported. a bunch weren't supported. better checking at runtime to make sure everything is in the atom.
2007-05-05 18:19:26 +00:00
Dana Jansens
378adaa94f
yay. way way cleaner code for iconify animations. let people show/hide the frame logically and it will do everything except during animations the frame will show what it needs to for visual display.
2007-05-05 16:53:48 +00:00
Dana Jansens
b5e597f1b3
lots of fixes for the iconify animation. i think it should all work perfectly now ?
...
one change in action.c may affect bindings... THIS COULD BREAK CURRENT CONFIG FILES. ya.
so, if you used a press binding and it moved the window, no enter event will be generated for that anymore because you are holding down the button when the window moves. if you don't like that then use a click binding instead.
1
2007-05-05 16:16:26 +00:00
Dana Jansens
08e42acaad
animate iconify/reestore. yeah.
2007-05-05 05:58:35 +00:00
Dana Jansens
fde5ca09e9
when restoring from show-desktop mode because a window is going to be focused, then don't restore focus how it was before showing the desktop.
2007-05-05 02:48:39 +00:00
Dana Jansens
fce7d9b21e
and some more transient fixes
2007-05-05 01:17:05 +00:00
Dana Jansens
1046c19fda
more fixes for the transient tree
2007-05-05 01:12:59 +00:00
Dana Jansens
0c15af505f
unused variable
2007-05-05 00:48:51 +00:00
Dana Jansens
2713831371
missing paranthesis
2007-05-04 23:30:13 +00:00
Dana Jansens
431035df66
continuation of r6039 in all respects
2007-05-04 23:15:08 +00:00
Dana Jansens
7ff21ad74f
add the maginificent client_update_transient_tree.
...
add a whole lot of comments ! i think like half of this commit is comments
speed up mapping windows a little! less re-updating of the transient info by far.
and... yeah fix the crash created from r6035.
2007-05-04 22:50:53 +00:00
Dana Jansens
15ec358151
group transients werent getting added to their parents
2007-05-04 16:14:16 +00:00
Dana Jansens
b5161f8032
revert r6029, as it didnt fix anything.
...
however this patch does fix the aforementioned problem.
actions need some reworking... yeah... later...
2007-05-04 07:21:22 +00:00
Dana Jansens
a823e4786e
dont move windows away from omnpresentness when deiconifying them
2007-05-04 07:19:21 +00:00
Dana Jansens
e84fb1b052
drop the DoNotPropogate thing. metacity doesn't set it at all, and i cant tell any difference in the events generated without it.
...
grab mouse buttons on the client window itself for client bindings. this fixes the weird "click and drag doesnt work when the window is focused" behavior ive been seeing with kdesktop. hooray !
2007-05-04 04:47:43 +00:00
Dana Jansens
07af4a6184
some improvements on how group transients get their transient pointers, needed after r6022.
2007-05-04 04:25:44 +00:00
Dana Jansens
147f83fe3c
this is gross... i think it can go away from other changes... if openbox goes into infinite loops.. then it needs to come back !
2007-05-04 04:08:31 +00:00
Dana Jansens
02dda1ef65
set the usertime on windows if they dont provide one, to something reasonable.
2007-05-04 04:06:43 +00:00
Dana Jansens
b71f1cd6a5
from r6017, we no longer need to fallback in client_unmanage. yay
2007-05-04 02:48:23 +00:00
Dana Jansens
00bf97aecd
not much.. some debugs and a nicer if statement
2007-05-04 02:47:10 +00:00
Dana Jansens
5784f11132
add the notion of "application windows" meaning normal or dialog type windows.
...
let you alt-tab to non-application windows when they dont have an application window in their group
2007-05-03 20:57:40 +00:00
Dana Jansens
9c19d7f677
find_on_screen takes client width/height, not frame
2007-05-03 03:18:56 +00:00
Dana Jansens
d7108df02b
when deiconifying, deiconify all transients, not just direct ones
2007-05-03 00:50:40 +00:00
Dana Jansens
80117db6c4
turn on demands_attention when urgent gets set, and turn it off when urgent is removed, for those apps that think it is 1917 or something
2007-05-02 23:03:43 +00:00
Dana Jansens
97cbacd9e4
make keeping windows on screen much more clever
2007-05-02 02:03:06 +00:00
Dana Jansens
564b727966
fix drawcontent=no resizing
2007-05-01 12:17:37 +00:00
Dana Jansens
cad10d8b6d
some old changes to grav.c test, it wasn't a valid test before.
...
when a window gets reconfigured, try keep it on the monitor if it was before.
2007-05-01 05:02:26 +00:00
Dana Jansens
55d2916c1e
a whole lot of changes to the moving/resizing code. it was broken for non-northwest gravities. now it is not. at least, that is the idea.
2007-05-01 04:46:29 +00:00
Dana Jansens
1c4c2b92a0
focus_client is already nulled from the fallback, and use client_focused for niceness in the future
2007-04-26 06:14:09 +00:00
Dana Jansens
b673823d0b
have to fallback in client_unmanage, until we figure out a way to hear those focusin events without conflicting screens
2007-04-26 06:10:13 +00:00
Dana Jansens
d9b25d4884
add group transients to other transients who arent group transients. is that english? YEP
2007-04-26 02:32:50 +00:00
Dana Jansens
e896709c90
when windows disappear dont move focus from enter event, ever.
2007-04-26 02:21:27 +00:00
Dana Jansens
f6b049cd38
pointer type changed a long time ago
2007-04-25 00:50:20 +00:00
Mikael Magnusson
fb2493115f
only grab keybinds on the root window, not every client window
2007-04-24 21:45:43 +00:00
Dana Jansens
d19c184b2d
set the client's user_time when it gets activated
2007-04-24 19:55:48 +00:00
Dana Jansens
0116d82463
don't activate and change desktops if the client's not on the current desktop and its user_time is older than the last time you changed desktops
2007-04-24 19:53:50 +00:00
Dana Jansens
ca8665e309
fix a comment
2007-04-24 19:26:48 +00:00
Dana Jansens
8446e50b7a
use client_activate to activate newly mapping windows. this means that if a window maps on another desktop and is going to be activated, you will end up on that desktop
2007-04-24 19:20:10 +00:00
Dana Jansens
ac241a8235
set the default icon onto windows which don't provide one
2007-04-24 15:56:37 +00:00
Dana Jansens
0771964c0f
set the max settings properly, was setting max_vert for both.
...
make sure the desktop property is set when per-app settings change it
2007-04-24 14:58:29 +00:00
Mikael Magnusson
e86900bd53
fix resizing when drawContents is off, and I think an ifdef was a bit too high up
2007-04-24 12:18:53 +00:00
Dana Jansens
c6fe4f8d8f
focus_order_remove is called in a few places. move the check for unsetting focus_client into client_unmanage.
2007-04-24 06:41:04 +00:00
Dana Jansens
ad852b6b56
add support for _NET_WM_SYNC_REQUEST
2007-04-24 06:30:16 +00:00
Dana Jansens
7ae95e4660
save windows' colormaps rather than querying them from the server every time you focus it
2007-04-24 01:29:53 +00:00
Dana Jansens
3a91527fdf
hm, that was a silly error. the propogate mask shouldnt get the Hint thing in it.
2007-04-24 01:08:09 +00:00
Dana Jansens
a488360f48
add the PointerMotionHintMask everywhere, we dont need every mouse event
2007-04-24 01:00:27 +00:00
Dana Jansens
268c87ed9e
in shrinking resize the frame before the client
2007-04-24 00:02:51 +00:00
Dana Jansens
5316bc6c3e
1. remove some old event handling that was not used at all. yay less bandwidth.
...
2. make the client padding color show during resizes with drawContents off
2007-04-24 00:00:11 +00:00
Dana Jansens
1a005d7291
place transients without a parent in the middle of the screen
...
dont use non-normal windows as parents
2007-04-23 23:46:13 +00:00
Dana Jansens
b4eecc51b5
focus_client was becoming invalid if the focused client was unmanaged.
2007-04-23 23:11:33 +00:00