summaryrefslogtreecommitdiff
path: root/openbox/frame.c
AgeCommit message (Collapse)Author
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
2005-07-14c++ commentsMikael Magnusson
2004-03-21update copyright noticesMikael Magnusson
2004-03-21yay no tabs in the sourceMikael Magnusson
2004-02-24hopefully fix some stuff with kde tray iconsMikael Magnusson
2003-12-22dont make our frame windows override-redirect, so that configure requests ↵Dana Jansens
are generated if apps try to configure our frame (eg. import -frame)
2003-10-15consistant glib type usageDana Jansens
2003-10-15unmap and map the client window when the frame is hidden/shownDana Jansens
2003-10-11use RrColorPixelDana Jansens
2003-10-09when the frame is adjusted while the focus_cycle_target is that frame's ↵Dana Jansens
client, then redraw the indicator
2003-10-02indentingDana Jansens
2003-09-24support the _KDE_NET_WM_FRAME_STRUT hintDana Jansens
2003-09-17constDana Jansens
2003-09-17no tabsDana Jansens
2003-09-17add copyright headers, adjust --version output to include copyright, and ↵Dana Jansens
--help output to not include version output.
2003-09-17add the MoveResize context, which is used while doing a move/resize on a ↵Dana Jansens
window. Actions bound in this context can be executed with the mouse during a move/resize on a window.
2003-09-14dont redraw the frames when changing their themeDana Jansens
2003-09-10use theme.show_handleDana Jansens
2003-09-08bigtime theme changes. bigtime.Dana Jansens
2003-09-03only remove one flash timer at a time, so all frames dont stop flashing just ↵Dana Jansens
cuz a window closed
2003-09-03add a reconfigure action, also reconfigure on SIGUSR2.Dana Jansens
support reconfiguring throughout the entire codebase.
2003-09-01dont crash when flashing a window when it goes away, remove the timer when dyingDana Jansens
2003-09-01improved frame flashing code, can start and stop it on commandDana Jansens
2003-09-01add code to flash the frameDana Jansens
2003-08-27fix border on shaded maximized windowsDana Jansens
2003-08-25better handling of maximizing, wrt changing decorations on the windows, and ↵Dana Jansens
showing the correct decor for the max state especially for windows which dont change size (Xnest) when maximized cuz they are at their maximum size already
2003-08-25set the client decorations to match the frame's so that there is not thot to ↵Dana Jansens
be changes later on whene there were actually none
2003-08-20rename the 'root' context to 'desktop'Dana Jansens
2003-08-20add an obscured flag that tracks if the frame is at all obscuredDana Jansens
2003-08-20grab root mouse bindings on desktop windows also, since they are ↵Dana Jansens
conceptually the desktop.