summaryrefslogtreecommitdiff
path: root/openbox
AgeCommit message (Collapse)Author
2007-03-12fallback is still getting x errors. instead, fallback when the client ↵Dana Jansens
iconifies, and don't fallback when nothing has focus, send it to where we can control things though.
2007-03-12focusins can occur on windows that aren't clients when there's latency ↵Dana Jansens
involved. wm_torture proved this point. fallback in that situation. also fallback when nothing is focused.
2007-03-12don't validate inside client_focus. instead, validate before you call it!Dana Jansens
2007-03-12validate clients before trying to focus them in fallbackDana Jansens
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-12update focus_hilite appropriately for when changing desktopsDana Jansens
2007-03-12i rewrote handling of focus events. this is pretty much based on blackbox's ↵Dana Jansens
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-12another silly bug. i rule the school.Dana Jansens
2007-03-12that was a silly mistake. fullscreen windows amongst others will not crash ↵Dana Jansens
now :D
2007-03-12roll back focus fallback change, so it behaves well with new stackingDana Jansens
2007-03-12ok this is from prevous changes but has a bunch of debug stuff in itDana Jansens
2007-03-12remove the group option for the restacking commands in rc.xml, cuz groups ↵Dana Jansens
are clever now
2007-03-12Rewrite the stacking code. It's a lot faster now, I should think. It's def a ↵Dana Jansens
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-12no separator at the start of the menuMikael Magnusson
2007-03-12make the combined client list menu not suck quite as badMikael Magnusson
2007-03-12update copyright notice in --version outputMikael Magnusson
2007-03-11We were grabbing SubstructureNotifyMask on the root window. I don't know ↵Dana Jansens
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-11extra braces.. why does the world hate me so?Dana Jansens
2007-03-11.. i am pretending to be mika :D :D ok this time for realDana Jansens
2007-03-11oh.. wasted verbosity.. *strums guitar*Dana Jansens
2007-03-11rewrite the focus steal prevention code to clean it up hopefully a bit. also ↵Dana Jansens
don't steal focus from globally active focus model clients
2007-03-11Honor transient_for=Root, even thought this is crap and breaks some KDE ↵Dana Jansens
stuff. Also include a big comment as to why this is suck.
2007-03-11make smart placement more smart with multiple monitors. hopefully?Dana Jansens
2007-03-11client_configure_full is trying to move a window, it shouldn't determine the ↵Dana Jansens
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-11fallback to transient parents properlyDana Jansens
2007-03-11stacking has been made more reliable with groups and group transients.Dana Jansens
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-11allow setting startupnotify per execute action, default to disabled. use ↵Mikael Magnusson
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>
2007-03-11look for more things to cancel startup notification on, from the wmclass. if ↵Dana Jansens
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.
2007-03-11make _NET_ACTIVE_WINDOW requests look at the timestamp when the user didn'tDana Jansens
request it
2007-03-11fix non instrusive stacking adds, they didnt account for layers at allDana Jansens
2007-03-11add _NET_WM_FULL_PLACEMENT, cuz openbox does do placement, even tho it can ↵Dana Jansens
be sucky right now, lol. but it's good for dialogs and stuff, which is what this is talking about. also add _NET_WM_MOVERESIZE_CANCEL.
2007-03-11wow... this is a big commit...Dana Jansens
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..
2007-03-11add the _NET_WM_USER_TIME property support. When focus_new is enabled, don't ↵Dana Jansens
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.
2007-03-11remove the kde icon hint, they use the EWMH icon nowDana Jansens
2007-03-11remove the kde frame extents property, add the _NET_FRAME_EXTENTS property ↵Dana Jansens
in its stead
2007-03-11>:| I put old code back somehow.. thanks mika. hooray peer review :)Dana Jansens
2007-03-101) Remove support for the Urgent hint. This will no longer do anything ↵Dana Jansens
within Openbox 2) Add support for _NET_WM_STATE_DEMANDS_ATTENTION. Yay!
2007-03-10skip windows in alt-tab that have SKIP_PAGER set. perhaps this is a better ↵Dana Jansens
metric.. also this is for mikachu <3
2007-03-10people have started using SKIP_TASKBAR, and it's not for stuff you don't ↵Dana Jansens
want to be able to alt-tab to. so don't put that in here anymore.
2007-03-10make startup notification a little more robust. obconf is just broken, betweenDana Jansens
the application and it's .desktop.
2007-03-10let windows move themselves off the screen somewhat, but don't let them ↵Dana Jansens
resize themselves off the screen (unless they're moving too)
2007-03-10no longer honor transient_for = None or Root. it violates the ICCCM and is ↵Dana Jansens
causing problems. there are proper ways to make group transient windows with the EWMH.
2007-03-10more cleverness for window placing.Dana Jansens
make sure its 10% on the screen in some direction always.. but if the application is placing itself, make sure its on the screen entirely, and also put it entirely on one monitor if you have xinerama. if it's bigger than the monitor's space though, it won't do anything with it..
2007-03-10let you put windows with the titlebar off screen.. for mikachu.Dana Jansens
but also don't let applications put themselves under the struts!
2007-03-08one more fix.. oops :)Dana Jansens
2007-03-08fix rendering of the new top corner resize handlesDana Jansens
2007-03-08a) remove the top_grip_height business from the themeDana Jansens
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
2007-03-08was using paddingx for y-things, oopsDana Jansens
2007-03-05don't use handle_height for focus indicators, use top_grip_height. is this ↵Dana Jansens
better?
2007-03-05scary commit..but here goes.Dana Jansens
YOUR THEMES ARE NOW OFFICIALLY BROKEN. Openbox has just moved it's theme format to an XML based one. The details of this format can be found in data/themerc.xsd (and http://openbox.org/themerc.xsd ALSO! This is very good and important and stuff! In the tools directory you will find THEMETOXML ! This tool takes a themerc on stdin, and spits out the same theme in theme.xml format. So this is all you need to do to update your themes. PLEASE NOTE: This themetoxml does _not_ install itself anywhere. It simply builds and then lives out in its tools/themetoxml directory, and that's it. So if you want to use it, that is where to find it. In moving to the new XML format, a number of additions/changes to the theme engine have been made. Themetoxml takes these into account and will set all the new things appropriately to make your theme look the same as it always has. New additions include.. * padding now has an horizontal and vertical component, instead of being one number * menus can have different borders than windows (color and size) * menu offset can now be negative. it's a little weird, but someone will want it no doubt * fonts are no longer controled by the theme at all, however font shadowing is, and on that note.. * font shadows are now any color you want, not just black and white * you can now set the shadow anywhere you can set the text's color, so you have more control, i.e. you can set shadow on active menu items but not inactive, or disabled, etc. * every color now has an alpha channel. at the moment they don't do anything, besides the font shadow one, but it leaves room for future explorations. it is REALLY HIGHLY RECOMMENDED that you set the alpha to 255 all the time, until such time as it could be useful. otherwise one day your theme may turn awful for people. * font colors are in the range 0-255, in case you were wondering, and they have to be specified in decimal * if you'd like to change you font's you can do so in your configuration file. this is how it is going to stay. changing the font in the theme assumes too much about peoples eye sight and locality and stuff. it doesn't belong there, sorry. the system-wide default rc.xml includes the new font settings for your viewing pleasure, and ill drop an example of it below. * shadows can now be positioned in any direction, they have both an x and a y offset which can be negative and positive. and offset of 0,0 will disable the shadow This isn't a release or anything. If someone had some good ideas about the xml theme format, I'd like to hear them. But I don't think it will be changing much right now beyond where it is. I don't even know how the new functionality will play out for themers, so we'll see. Whew.. I guess that's it. I'm not sure if I mentioned every little change or not, but oh well. Mileage may vary.. Please send any feedback. Here's the font configuration example. Hopefully ObConf will let you set this real soon. <theme> ... <font place="ActiveWindow"> <name>arial,sans</name> <size>7</size> <weight>bold</weight> <slant>normal</slant> </font> <font place="InactiveWindow"> <name>arial,sans</name> <size>7</size> <weight>bold</weight> <slant>normal</slant> </font> <font place="MenuTitle"> <name>arial,sans</name> <size>8</size> <weight>bold</weight> <slant>normal</slant> </font> <font place="MenuItem"> <name>arial,sans</name> <size>8</size> <weight>bold</weight> <slant>normal</slant> </font> </theme>
2007-03-04mention that it is in fact openbox that crashesMikael Magnusson