Mikael Magnusson
4ad3961e36
accidentally didn't include client_list_menu.h in dist
2007-03-23 17:02:11 +00:00
Dana Jansens
ba161e967b
launch things on the desktop where you ran it.
...
also: kde apps move themselves to the current desktop when they open. what the heck?
2007-03-21 16:19:06 +00:00
Dana Jansens
c4446bebff
ignore focus events on root that we don't care about
2007-03-21 16:12:21 +00:00
Dana Jansens
fd382fcc36
allow focus to disappear to black holes. (that is, windows not managed by openbox). the black hole may just be a window on another monitor. keyboard events aren't going to work in this scenario, though.
2007-03-21 15:54:30 +00:00
Dana Jansens
e227ac841e
we're only getting one unmap notify now, with the new event mask on the root window. we're not getting one for the frame window anymore.
2007-03-20 04:42:25 +00:00
Dana Jansens
fb3d2033ba
not passing timestamps sometimes and not others. set event_curtime when client messages provide a timestamp.
2007-03-19 17:59:16 +00:00
Dana Jansens
7db7d62ceb
free unused path strings.
...
always pass in malloc'd memory, cuz it is going to be freed later.
2007-03-18 15:23:42 +00:00
Dana Jansens
0ed1b678d1
memory leak in xinerama setup code
2007-03-18 15:16:03 +00:00
Dana Jansens
841a83fa6d
add -Wwrite-strings in debug mode
2007-03-18 15:15:38 +00:00
Dana Jansens
3678f8df8a
use const char*'s when we should be
2007-03-18 15:07:30 +00:00
Dana Jansens
5fa443efc8
oops, logic error
2007-03-17 20:06:16 +00:00
Dana Jansens
50f631b9a7
mention when the logicalx/y is actually returned
2007-03-16 19:16:07 +00:00
Dana Jansens
73dac2b9b9
fix for bug introduced in revision 5643. logical size is supposed to be updated only when the window is resized.
2007-03-16 19:14:53 +00:00
Dana Jansens
f658ec961e
animate presses on toggled titlebar buttons
2007-03-16 01:33:47 +00:00
Dana Jansens
a326d98ab7
2007-03-15 17:46:39 +00:00
Dana Jansens
2818259075
update COMPLIANCE
2007-03-15 17:37:30 +00:00
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