Dana Jansens [Sat, 24 Mar 2007 17:01:40 +0000 (17:01 +0000)]
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
Dana Jansens [Wed, 21 Mar 2007 15:54:30 +0000 (15:54 +0000)]
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.
Dana Jansens [Wed, 14 Mar 2007 21:07:30 +0000 (21:07 +0000)]
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.
Dana Jansens [Wed, 14 Mar 2007 03:45:56 +0000 (03:45 +0000)]
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)
Dana Jansens [Tue, 13 Mar 2007 02:29:08 +0000 (02:29 +0000)]
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..
Dana Jansens [Mon, 12 Mar 2007 17:31:11 +0000 (17:31 +0000)]
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.
Dana Jansens [Mon, 12 Mar 2007 06:09:02 +0000 (06:09 +0000)]
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.
Dana Jansens [Mon, 12 Mar 2007 05:25:34 +0000 (05:25 +0000)]
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.
Dana Jansens [Sun, 11 Mar 2007 22:16:42 +0000 (22:16 +0000)]
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.
Dana Jansens [Sun, 11 Mar 2007 17:36:27 +0000 (17:36 +0000)]
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.
Dana Jansens [Sun, 11 Mar 2007 17:34:07 +0000 (17:34 +0000)]
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
Mikael Magnusson [Sun, 11 Mar 2007 15:41:47 +0000 (15:41 +0000)]
allow setting startupnotify per execute action, default to disabled. use like this: <action name="execute"><execute>program</execute><startupnotify><enabled>true</enabled><name>something descriptive</name><icon>name of an icon in the icon theme to show</icon></startupnotify</action>
Dana Jansens [Sun, 11 Mar 2007 14:31:11 +0000 (14:31 +0000)]
look for more things to cancel startup notification on, from the wmclass. if the wmclass is related to the name or the binary name, then it will cancel it also. this is so that oldschool stuff doesn't thing its opening forever.
Dana Jansens [Sun, 11 Mar 2007 05:00:56 +0000 (05:00 +0000)]
add _NET_WM_FULL_PLACEMENT, cuz openbox does do placement, even tho it can be sucky right now, lol. but it's good for dialogs and stuff, which is what this is talking about.
Dana Jansens [Sun, 11 Mar 2007 04:44:15 +0000 (04:44 +0000)]
wow... this is a big commit...
all related to _NET_WM_USER_TIME and focus stealing prevention
a) add launcher startup notification. this means when you run something from
the openbox menu or a key/mouse binding, that startup notification will go
on in openbox and other applications like your panel or something
b) add the _NET_WM_USER_TIME property for windows
c) use the _NET_WM_USER_TIME data and startup notification to prevent focus
stealing.
d) cookie party !! ! all are invited.
e) oh yeah, and pass around timestamps for a lot more things. like, when you
run an action, send the timestamp for the event that is running the action.
this is important for startup notification. this also affects menus.
f) yes.. cookies..
would it be a good idea to disable focus stealing prevention if a window takes
too long to load? i mean.. maybe after a certain length of time, a user can't be
expected to not do anything in any other windows, but would they still want the
new application to focus then? HMM. open question i guess..
Dana Jansens [Sun, 11 Mar 2007 02:06:34 +0000 (02:06 +0000)]
add the _NET_WM_USER_TIME property support. When focus_new is enabled, don't focus new windows if the user is doing something in another window since it launched. If we can tell when it launched, either from the _NET_WM_USER_TIME or from startup notification.
Dana Jansens [Sat, 10 Mar 2007 20:52:04 +0000 (20:52 +0000)]
no longer honor transient_for = None or Root. it violates the ICCCM and is causing problems. there are proper ways to make group transient windows with the EWMH.
Dana Jansens [Thu, 8 Mar 2007 01:26:03 +0000 (01:26 +0000)]
a) remove the top_grip_height business from the theme
b) make the focus indicator based on border width and padding, not the handle height
c) add 2 more windows for the top corners for resizing, much easier to find them now. also base their width on padding, not the handle height or other weird things