Commit graph

4927 commits

Author SHA1 Message Date
Dana Jansens
2db6cf5130 xml tags are case sensitive 2007-03-25 15:39:56 +00:00
Dana Jansens
d6c45db8da bad idea.. more thought is needed.. 2007-03-25 15:16:00 +00:00
Dana Jansens
20f4d7fd44 when opening the client menu with a key, open it at the window's top left corner. is this clever or dumb? 2007-03-25 15:05:10 +00:00
Dana Jansens
eb2a0feb01 watch for reverttoparent reverting to the root window, which will create a DetailInferior focusin event on root.
adding some debug messages also which I am using..
2007-03-24 23:19:45 +00:00
Dana Jansens
4aa8d64f76 set the event_curtime when running an action to the time in the event used to run the action 2007-03-24 17:22:31 +00:00
Dana Jansens
d17fe2d29b there is no themetoxml.h 2007-03-24 17:19:33 +00:00
Dana Jansens
c4732aeed2 2007-03-24 17:17:02 +00:00
Dana Jansens
e77353f0cd clean up the title getting function 2007-03-24 17:06:19 +00:00
Dana Jansens
4c2b16e72d kill window title numbering...
probably it was a dumb idea all along. you're not picking the numbers yourself and you're probably not remembering which window they apply to and the focus indicator thinger is much more clever than numbers
2007-03-24 17:01:40 +00:00
Mikael Magnusson
af47a40617 check for minimum required versions of glib and pango 2007-03-24 15:08:16 +00:00
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