summaryrefslogtreecommitdiff
path: root/openbox/frame.c
AgeCommit message (Collapse)Author
2007-05-09add support for _NET_REQUEST_FRAME_EXTENTSDana Jansens
2007-05-09size the frame properly on mappingDana Jansens
2007-05-09further work to r6205. make the disabled titlebar buttons hide if they won't ↵Dana Jansens
move other buttons around by doing so.
2007-05-09hide titlebar buttons if that won't move other buttonsDana Jansens
2007-05-06more animation frames for iconifying, if your computer can do itDana Jansens
2007-05-05fixes to the properties and net_supported. a bunch weren't supported. better ↵Dana Jansens
checking at runtime to make sure everything is in the atom.
2007-05-05yay. way way cleaner code for iconify animations. let people show/hide the ↵Dana Jansens
frame logically and it will do everything except during animations the frame will show what it needs to for visual display.
2007-05-05oops, i left in the really long animate time hehDana Jansens
2007-05-05lots of fixes for the iconify animation. i think it should all work ↵Dana Jansens
perfectly now ? one change in action.c may affect bindings... THIS COULD BREAK CURRENT CONFIG FILES. ya. so, if you used a press binding and it moved the window, no enter event will be generated for that anymore because you are holding down the button when the window moves. if you don't like that then use a click binding instead. 1
2007-05-05better iconify animation code. now it is time limited even under heavy load ↵Dana Jansens
or whatever. yay
2007-05-05dont retrurn a context while incoify animatingDana Jansens
2007-05-05dont make two animations conflictDana Jansens
2007-05-05maybe 1/5 of a second is better?Dana Jansens
2007-05-05animate iconify/reestore. yeah.Dana Jansens
2007-05-01fix drawcontent=no resizingDana Jansens
2007-05-01a whole lot of changes to the moving/resizing code. it was broken for ↵Dana Jansens
non-northwest gravities. now it is not. at least, that is the idea.
2007-04-25some more border fixupsDana Jansens
2007-04-25the inner stuff was being placed wrong all this time.Dana Jansens
also give the inner window a border. clicking to the left/right of the client now will be the client context rather than the frame. frame is just for grabbed buttons after all.
2007-04-24proper handling of the plate though, tooDana Jansens
2007-04-24make the inner window work like the plate used to for actionsDana Jansens
2007-04-24dont cause focus change with enter events when youre already in the windowDana Jansens
2007-04-24never mind on the hint idea, it was fun while it lasted. at least i know it ↵Dana Jansens
is there now.
2007-04-24missing a thingerDana Jansens
2007-04-24add the PointerMotionHintMask everywhere, we dont need every mouse eventDana Jansens
2007-04-24set the eventmask on frame windows again..Dana Jansens
2007-04-241. remove some old event handling that was not used at all. yay less bandwidth.Dana Jansens
2. make the client padding color show during resizes with drawContents off
2007-04-23add a window between the frame and the plate for drawing the client border. ↵Dana Jansens
this way when the client window disappears, nothing gets rendered underneath it.
2007-04-23back out r5812. you do want that thereDana Jansens
2007-04-22you cant grab substructureredirect on the plate. why was this even here?Dana Jansens
2007-04-22xflush after changing the focus decorations so it gets shown fasterDana Jansens
2007-04-22add a comparitor to timers. use this in event.c to let you remove timers ↵Dana Jansens
from the queue selectively for delayed focus
2007-04-12excessive debug printing.. :)Dana Jansens
2007-03-24watch for reverttoparent reverting to the root window, which will create a ↵Dana Jansens
DetailInferior focusin event on root. adding some debug messages also which I am using..
2007-03-20we're only getting one unmap notify now, with the new event mask on the root ↵Dana Jansens
window. we're not getting one for the frame window anymore.
2007-03-14refix for managing iconic windows, without having the frame map which caused ↵Dana Jansens
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-14make frame and client window in a consistant mapped state when the window is ↵Dana Jansens
grabbed
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-11remove the kde frame extents property, add the _NET_FRAME_EXTENTS property ↵Dana Jansens
in its stead
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-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-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)
2006-11-1580 colsMikael Magnusson
2006-08-22update copyright step 1Mikael Magnusson
2006-08-17add a means to tell the timer destroy function not to fire when for example ↵Mikael Magnusson
freeing its client frame
2006-08-17close but not quiteMikael Magnusson
2006-08-17add a client destructor to frame.c so it doesn't try to keep flashing a ↵Mikael Magnusson
free'd frame
2006-03-13resize label after background pixmap has updated to avoid display problemsMikael Magnusson
2005-10-07more 64 bit fixesMikael Magnusson
2005-07-14add a config option hideDisabled in the theme section that hides disabled ↵Mikael Magnusson
buttons instead of showing them as disabled, based on patch in bug #2310