Dana Jansens
6772ec19fc
only refocus the omnipresent window if its allowed
2007-03-15 01:11:52 +00:00
Dana Jansens
34f5bbe4f6
clearer engrish
2007-03-15 01:09:10 +00:00
Dana Jansens
091e296a3d
when an omnipresent window has focus and you switch desktops, keep it focused
2007-03-15 01:02:48 +00:00
Dana Jansens
83d987d9ab
don't fall back focus to omnipresent windows
2007-03-14 21:15:58 +00:00
Dana Jansens
c80b496bf4
make focus_order into one long list instead of having one per desktop. this actually fixes bugs with omnipresent windows and adding desktops. it is just overall a little nicer i think.
...
also this is not tested. sorry if it breaks everything.
2007-03-14 21:07:30 +00:00
Dana Jansens
496c769fce
syscrash changed his theme up
2007-03-14 20:59:16 +00:00
Dana Jansens
a9175a8a32
save the focus_client when falling back, so we don't actually refocus it when we don't want to.
2007-03-14 15:56:59 +00:00
Dana Jansens
adc5675823
oh, 2 things in this commit..
...
1) THIS ONE IS IMPORTANT: don't set client->iconfied if the window is not actually going to be allowed to iconify. heh!
2) changes to focus fallback to avoid crashing and to avoid losing focus all at the same time.
2007-03-14 15:51:21 +00:00
Mikael Magnusson
768ce7b456
move stuff around in client_unmanage to maybe make closing windows a bit nicer
2007-03-14 14:17:31 +00:00
Dana Jansens
5f7ffb00ba
refix for managing iconic windows, without having the frame map which caused flashing.
...
instead, keep track of if the frame has been mapped yet. if it hasn't and it is getting hidden, then make sure to unmap the child.
2007-03-14 13:58:36 +00:00
Dana Jansens
e2521f5c64
a) fix resizerelative moving windows when they reach their minimum size do this by...
...
b) adding a function to let you see what size/position a window will be given when you actually try move/resize it to some given values. (client_try_configure)
2007-03-14 03:45:56 +00:00
Dana Jansens
4e19d8411d
add support for 8bit TrueColor visuals. Who knew these existed. Fixes vnc's 8bit mode. (bug 2878)
2007-03-14 03:05:47 +00:00
Mikael Magnusson
2feefc2c24
update german translation
2007-03-14 02:27:46 +00:00
Dana Jansens
2d03d09577
make frame and client window in a consistant mapped state when the window is grabbed
2007-03-14 02:23:50 +00:00
Dana Jansens
594648729f
less wasted updates of wm_state
2007-03-14 02:07:30 +00:00
Mikael Magnusson
ebbcacae15
focus fallback
2007-03-14 01:17:39 +00:00
Mikael Magnusson
53109b7592
comparing strings to random locations in memory is probably not what we wanted to do
2007-03-13 12:34:58 +00:00
Dana Jansens
a9910e520b
always unfocus the window when it disappears, no special cases.. (except unmanage)
2007-03-13 04:15:25 +00:00
Dana Jansens
270a5b25df
set IconicState on windows that are not visible always. this means windows on other desktops too.
...
as well, this turned out to be a nice cleanup of the wmstate code.
regards to the random dude in #openbox complaining about the ICCCM to make me think to look this up and see if openbox was compliant.
2007-03-13 04:04:13 +00:00
Dana Jansens
7f58bd9eaa
save and restore pre-maximized/fullscreen sizes properly
...
much cleanup on how per-app settings are applied to new mapping windows. maybe i broke it? but it'll be much quicker now, and it's consistant with the rest of the code, so hooray for that. pls let me know if i broke any of it :( hee..
2007-03-13 02:29:08 +00:00
Dana Jansens
b2e08c0ad5
remove event_lastttime. use CurrentTime when handling events without a timestamp in them
2007-03-12 23:23:39 +00:00
Dana Jansens
d34741f58c
?
2007-03-12 23:22:13 +00:00
Dana Jansens
d47c6a0979
fallback is still getting x errors. instead, fallback when the client iconifies, and don't fallback when nothing has focus, send it to where we can control things though.
2007-03-12 17:31:11 +00:00
Dana Jansens
dc41c78a90
focusins can occur on windows that aren't clients when there's latency involved. wm_torture proved this point. fallback in that situation. also fallback when nothing is focused.
2007-03-12 06:09:02 +00:00
Dana Jansens
85a1a0cfb3
don't validate inside client_focus. instead, validate before you call it!
2007-03-12 06:04:00 +00:00
Dana Jansens
6b7cc88c9d
validate clients before trying to focus them in fallback
...
also validate before trying to set the focus on a window
this should fix those crashes, and should just be better over all
2007-03-12 05:57:30 +00:00
Dana Jansens
3a33642be4
update focus_hilite appropriately for when changing desktops
2007-03-12 05:44:16 +00:00
Dana Jansens
c018e21220
i rewrote handling of focus events. this is pretty much based on blackbox's current form, as well as reading the xlib programming manual at:
...
http://tronche.com/gui/x/xlib/events/input-focus/normal-and-grabbed.html
this may break for people. that'd be nice to hear about, so it can be fixed. but hopefully this is more robust. it sure is a lot more simple.
2007-03-12 05:25:34 +00:00
Dana Jansens
310ea89e0e
another silly bug. i rule the school.
2007-03-12 03:09:09 +00:00
Dana Jansens
9ca0554507
that was a silly mistake. fullscreen windows amongst others will not crash now :D
2007-03-12 03:07:00 +00:00
Dana Jansens
52176d1485
roll back focus fallback change, so it behaves well with new stacking
2007-03-12 02:41:34 +00:00
Dana Jansens
d113b9f33f
ok this is from prevous changes but has a bunch of debug stuff in it
2007-03-12 02:34:34 +00:00
Dana Jansens
2244bc036a
remove the group option for the restacking commands in rc.xml, cuz groups are clever now
2007-03-12 02:27:58 +00:00
Dana Jansens
d33f44cd86
Rewrite the stacking code. It's a lot faster now, I should think. It's def a more clever algorithm. It deals with group transients much better.
...
On that note, utility and menu and toolbar window types are now treated as group transients in terms of stacking and focus and such.
2007-03-12 02:24:40 +00:00
Mikael Magnusson
bf247215bb
no separator at the start of the menu
2007-03-12 02:12:51 +00:00
Mikael Magnusson
baa4a878cd
make the combined client list menu not suck quite as bad
2007-03-12 01:59:49 +00:00
Mikael Magnusson
fa122a3092
update copyright notice in --version output
2007-03-12 01:12:31 +00:00
Dana Jansens
e2b3a32aed
We were grabbing SubstructureNotifyMask on the root window. I don't know why.. It meant that we got unmap notifies for windows we weren't even managing and stuff. It ended up breaking VLC when it mapped-unmapped-mapped a window. We grab StructureNotify for all the clients, so I am not sure why this was ever there.
2007-03-11 22:16:42 +00:00
Dana Jansens
cbfa27759d
extra braces.. why does the world hate me so?
2007-03-11 19:27:44 +00:00
Dana Jansens
d9601bc196
.. i am pretending to be mika :D :D ok this time for real
2007-03-11 19:27:16 +00:00
Dana Jansens
d98a6183a3
oh.. wasted verbosity.. *strums guitar*
2007-03-11 19:26:28 +00:00
Dana Jansens
e714fa7351
rewrite the focus steal prevention code to clean it up hopefully a bit. also don't steal focus from globally active focus model clients
2007-03-11 19:25:57 +00:00
Dana Jansens
6714a0e2ca
Honor transient_for=Root, even thought this is crap and breaks some KDE stuff. Also include a big comment as to why this is suck.
2007-03-11 19:15:28 +00:00
Mikael Magnusson
616cb60611
set micro_version correctly in configure.ac
2007-03-11 18:42:16 +00:00
Dana Jansens
895554765d
make smart placement more smart with multiple monitors. hopefully?
2007-03-11 18:39:34 +00:00
Dana Jansens
d638272782
change version to 3.4, i think that will be next release number? and reset the libraries binary ages stuff, cuz they aren't backwards compatible with the last release.
2007-03-11 17:36:27 +00:00
Dana Jansens
7229bea3c6
client_configure_full is trying to move a window, it shouldn't determine the window's monitor from its current position, but from the new position instead. move client_monitor()'s logic into screen, more generically, and let client_configure_full use that
2007-03-11 17:34:07 +00:00
Dana Jansens
fe31716486
fallback to transient parents properly
2007-03-11 17:05:07 +00:00
Dana Jansens
62a39c4c70
stacking has been made more reliable with groups and group transients.
...
this was a pretty invasive change in client.c though, so it may break things?
it did expose some bugginess in client_calc_layer, which is now better than ever, hopefully there isn't more to be found.
2007-03-11 16:58:19 +00:00
Mikael Magnusson
1ff3c1dd9d
note things in CHANGELOG and mark xml theme entry as maybe
2007-03-11 15:52:52 +00:00