summaryrefslogtreecommitdiff
path: root/openbox
AgeCommit message (Collapse)Author
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
2007-03-04use EXIT_SUCCESS. it's the same thing, but more correct.Dana Jansens
2007-03-04use ob_reconfigure/restart directly instead of actions and save a variableMikael Magnusson
2007-03-04remove said AtomsMikael Magnusson
2007-03-04use integers instead of atoms for the actual control actionMikael Magnusson
2007-03-04use the X protocol to reconfigure instead of signals, works over the network tooMikael Magnusson
2007-03-04i moved the font shadow stuff back into the theme, so move them out of the ↵Dana Jansens
font configuration stuff
2007-03-04change the rc config format for font shadows, now:Dana Jansens
<font... <shadow enabled="yes/no"> <offset>1</offset> <tint>25</tint> </shadow> </font>
2007-03-04fix compiling without session manager supportMikael Magnusson
2007-03-04oops... I'm combining two different things in this commit... so I'll try be ↵Dana Jansens
clear 1. when another wm requests to replace openbox, openbox exits. but the SM will just restart openbox unless we tell it not to. so now ob_exit_replace() will change the session manager's view of openbox to not restart it. that way the new WM will be able to run. 2. allow windows to move themselves off of the screen 90% of the way, if they really want to. but only 90% to the left, right, and bottom of the screen. it won't let the app move off the top of the screen on its own at all now, since hiding the titlebar on you without you being a part of the process is pretty darn evil! this is really to address bug # 2982 - for the tilda application. but i guess if windows really want to move off the screen, who's to say no? also, every other window manager will let them - except metacity won't let them on the left/top side of the screen.
2007-03-04better string matching for duplicate title numbering. this will check ↵Dana Jansens
against the whole window's title. it used to check less than the full length sometimes. thanks to logan for patches and ideas!
2007-03-04Fonts are now going to be configured in the rc.xml file. The format is such asDana Jansens
<theme> ... <font place="ActiveWindow"> <name>arial,sans</name> <size>8</size> <weight>bold</weight> <slant>italic</slant> <shadow>yes</shadow> <shadowOffset>1</shadowOffset> <shadowTint>64</shadowTint> </font> </theme> Valid place="" are ActiveWindow, InactiveWindow, MenuTitle, and MenuItem. Only valid weight is "bold" Valid slants are "italic" and "oblique" shadowTint is a value between -100 and 100 size is the font size in points. pixelsize could possibly be added in the form of 8px, but it's not right now. the name can contain multiple families and they will all be used to match characters You can omit any fields and get the default for it. You can omit naming a font for a place="" and get the default font for it. This is completely replacing theme-specified fonts, for better or for worse. Font shadowing may go back into the theme at some point, instead of in the rc.xml.
2007-03-03let the configuration file changes affect windows' decroations and ↵Dana Jansens
functionality on reconfigure (fix keepBorder bug 2841
2007-03-03don't change the restart type with the session manager when openbox exits. ↵Dana Jansens
it's not like something else will magically run instead. if we exit, we should get started again, that's why --replace exists.
2007-03-03pretty bracketsDana Jansens
2007-03-03if sm is disabled, there is nothing to shutdown, so don't go trying to free ↵Dana Jansens
things and stuff. that can only be a bug
2007-03-03ok this time for real...Dana Jansens
add --reconfigure option to openbox. this option will open the display, find the current openbox's PID from the root window, and send a SIGUSR2 to it, telling it to reconfigure. then it exits. also no longer printing help if you pass an invalid argument to openbox (because i want to parse arguments for --reconfigure before i start up the session management stuff)
2007-03-03make a copy of the argc and argv instead of modifying the real onesDana Jansens
this means that when openbox is restared it doesn't lose it's SM related command line args, they get passed to the new openbox same as they were passed to the one exiting.
2007-03-03commited things i wasn't supposed to. wow i suck.Dana Jansens
2007-03-03reverse that last commit.. that was by accident..Dana Jansens
2007-03-03add --reconfigure option to openbox.Dana Jansens
this option will open the display, find the current openbox's PID from the root window, and send a SIGUSR2 to it, telling it to reconfigure. then it exits. no longer printing help if you pass an invalid argument to openbox since that is the case, session_startup doesnt need to be modifying the args anymore
2007-03-03why aren't these variables getting initialized. how exactly is openbox not ↵Dana Jansens
being super strange without that..?
2007-03-02fix for per-application focus settings. properly use all the possible values ↵Dana Jansens
(1, 0, and -1)
2007-03-02declare variables at the beginning of blocks, because it is nice to do so. ↵Dana Jansens
and polite?
2007-03-02no more using SaveUnder for our openbox-specific windows. it makes things ↵Dana Jansens
actually slow down, believe it or not!
2007-03-02only update the screen areas when a window actually has a strut (or when the ↵Dana Jansens
strut changes), don't waste extra calls to screen areas, because it makes people redraw when they don't need to
2007-03-02support clients which use true transparency 32-bit visuals.Dana Jansens
this requires that when a client is using a 32-bit visual, we have to make the frame windows that sit underneath it to use the same visual (and a colormap which matches it)
2007-03-02this includes a number of things since my magnificent return....Dana Jansens
1. some random compiling/style cleanups 2. some bigfixes - mislogic in per-window-settings and focusing new windows - use client_can_focus rather than checking variables for directional focus - MAYBE fix all those lock-ups forever. using event_curtime (a new variable) now instead of event_lasttime. event_lasttime is still used however when the event being processed did not have a time associated with it. this may or may not be a problem, and will be seen. 3. um.. i forget 4. oh yeah, 3rd party docks are now treated like the internal ob dock irt focus. that is, clicking on them won't pass them focus. this is going to be ratified as expected behavior in the wm-spec just now. if docks/panels want focus they can request it with _net_active_window, and then they can have all the focus they want! one day alt-tabbing around dock windows might be nice. but not until the ob dock is moved out into a separate application. going to have to add a wmapp selection and stuff for that though... ugly. who uses wmdockapps anymore !? someone must.. *sigh*
2007-02-05always place windows on the screen with the mouse cursor in xinerama, throw ↵Mikael Magnusson
some code around (try3)
2007-02-05always place windows on the screen with the mouse cursor in xinerama, throw ↵Mikael Magnusson
some code around (try2)