summaryrefslogtreecommitdiff
path: root/openbox/dock.c
AgeCommit message (Collapse)Author
2007-06-13xinerama support like crazy for struts and everything else too. this ↵Dana Jansens
probably crashes but its been way too long without a commit.
2007-06-13ignore the dock in placing as a last resortDana Jansens
2007-06-13fix how the dock is placed, its struts, and set a window type hint on itDana Jansens
2007-06-13plug memory leaks from the new strut codeDana Jansens
2007-06-10use the osd theme stuff for the dock instead of active titlebarDana Jansens
2007-05-14don't listen to focus events in the dock, unless you're going to do it properlyDana Jansens
2007-05-13im just leaving the dock alone..Dana Jansens
2007-05-13no strut for docks that autohideDana Jansens
2007-05-13some focus fixes. always set the new focus when we fallback or else weird ↵Dana Jansens
states appear. better handling of focusin's on clients that don't exist?
2007-05-11give different border colors to active and inactive windows. adjust the xml ↵Dana Jansens
theme format a little to make it BETTER. rawr. add some metadata standards too.
2007-05-02small change to the render API. RrMinsize became RrMinSize. added RrMinWidth ↵Dana Jansens
and RrMinHeight. make focus/desktop popups wider based on the screen size with the old size as a minimum. left-align the desktop dialog.. i think better dialogs would be nice. and to make them hide or something when you switch desktops while switching windows etc.
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-24add the PointerMotionHintMask everywhere, we dont need every mouse eventDana Jansens
2007-04-231) translate all of openbox's outputDana Jansens
2) update copyrights. 3) make release. ok that part not quite yet.
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-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-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*
2006-08-22update copyright step 2Mikael Magnusson
2006-08-18make the dock copy appearance from active window titles instead of inactive ↵Mikael Magnusson
ones, this won't matter because nobody uses the dock
2005-09-25add showDelay to dockMikael Magnusson
2005-03-26noStrut actually works nowMikael Magnusson
2004-03-21yay no tabs in the sourceMikael Magnusson
2003-10-25use g_[s]list_next/previous consistantly, and check for "it" instead of "it ↵Dana Jansens
!= NULL" consistantly. props to Logan again :)
2003-09-26add <dock><moveButton> which can change which button combo is used to move ↵Dana Jansens
dock apps around in the dock. The new default is A-Left instead of Middle, since soem dock apps use middle, assuming they can!
2003-09-24hide the dock when reconfiguring otherwise the user has to move the mouse ↵Dana Jansens
over it to make it hide the first time
2003-09-21rename dock/himeTimeout to dock/hideDelay in the config fileDana Jansens
2003-09-21dont save the appearance when reconfiguring!! that was a crash waiting to ↵Dana Jansens
happen!! also reset the border stuff on reconfigure
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-08fix autohidingDana Jansens
2003-09-08dont modify the time from the config parserDana Jansens
2003-09-08fix crash when reconfigure changes the stacking layer of the dockDana Jansens
2003-09-03dont set a strut when there are no apps in the dockDana Jansens
2003-09-03add a reconfigure action, also reconfigure on SIGUSR2.Dana Jansens
support reconfiguring throughout the entire codebase.
2003-08-30using the ObMainLoop, which rulz the planetDana Jansens
2003-08-02add partial struts tho they arent useful eytDana Jansens
2003-07-24use ob_debug for any debug printing and only display the output when its a ↵Dana Jansens
debug build or when --debug is passed to it
2003-07-11fix a seggie i introduced, going too far in the dockapps listDana Jansens
2003-07-10make ob_state a function so it cant be changed outside of openbox.cDana Jansens
2003-07-10remove the ob_root var, its redundant of what Xlib already providesDana Jansens
2003-07-10prefix the Timer->ObTimer and TimeoutHandler->ObTimeoutHandler shitzDana Jansens
2003-07-10prefixing and capitalizing the StackLayer -> ObStackingLayer enum.Dana Jansens
less includes in headers for less rebuilding on changes
2003-07-10use the ObOrientation enum instead of a horz bool for configuring the dock's ↵Dana Jansens
orientation
2003-07-10prefixing for the dock. use ObDirection instead of dupliacting it in another ↵Dana Jansens
enum for the dock's placement
2003-07-10add misc.h with some standard enumerations with proper prefixing and ↵Dana Jansens
capitalizations. use the new enums throughout. provide keycodes and cursors through ob_cursor and ob_keycode functions, which use the new misc.h enums for picking the cursor and keycode.
2003-06-30set te strut smaller when autohide is onDana Jansens
2003-06-27xinerama supportDana Jansens
2003-06-26use the minsize to keep the stuff ni the dock off of the bevel edges etcDana Jansens
2003-06-21put the render theme into a structDana Jansens
2003-06-21fixed to accomodate the changes to the render/ API.Dana Jansens