summaryrefslogtreecommitdiff
path: root/openbox/dock.c
AgeCommit message (Collapse)Author
2014-11-03Make sure to reset all the GSource timer idsMikael Magnusson
Avoids warnings like 'Source ID 8382 was not found when attempting to remove it'. In particular some removals were missing in menuframe.c resulting in a warning being printed every time a submenu was opened.
2013-08-11Dock used showDelay for both hiding and showing (Bug 5811)Lefteris Chatzimparmpas
2011-01-24less redundant calls to screen_update_areas() and client_move_onscreen()Dana Jansens
2011-01-24Handle STRING and COMPOUND_TEXT type text properties.Dana Jansens
STRING should be latin1 text (plus TAB and LF) COMPOUND_TEXT should be encoded in the current locale.
2010-09-16Revert "add XFlush to g_timeout callbacks"Dana Jansens
This reverts commit aa3685d16af4a565eecdc39047ee8d140ef5cd99. Mika's commit using a GSource to handle X Events fixes this problem, so this commit is not needed
2010-09-16Make the dock a context and add actions LowerDock and RaiseDockMikael Magnusson
2010-06-14add XFlush to g_timeout callbacksDana Jansens
GMainLoop doesn't cause an flush to occur after handling a timeout.
2010-06-14Use GMainLoop instead of ObtMainLoopDana Jansens
2010-04-16use const Rect* not Rect const*Dana Jansens
2010-02-16more using g_slice_new() instead of g_new()Dana Jansens
2010-02-12remove a bunch of g_new()/g_free() by returning Rect const*'s from screen ↵Dana Jansens
area functions when possible
2009-12-21Set up work for making a 3.5 prerelease.Dana Jansens
Set version stuff to 3.5.0-rc1. Copy the CHANGELOG from 3.4-working. Rename the obt-4.0 and obrender-4.0 pkgconfig stuff to obt-3.5 and obrender-3.5 Rename the "render" directory to "obrender" so that the public headers can be installed in <obrender/*>
2009-12-21Add themeing options for inactive osd labels, osd.inactive.label.*Dana Jansens
(rename the current osd label options from osd.label to osd.active.label, similar to the window.(in)?active.label options.
2008-01-31generalize the window managing process into window_manage, which handles ↵Dana Jansens
dock apps and the like
2008-01-31make ob_debug use the g_log system, and make openbox log messages to..a log ↵Dana Jansens
file ! this will help everyone since most people do not run openbox in a terminal..
2008-01-31Merge branch 'backport' into workDana Jansens
Conflicts: openbox/client.c openbox/config.c openbox/event.c openbox/extensions.c openbox/focus_cycle_indicator.c openbox/focus_cycle_popup.c openbox/menuframe.c openbox/moveresize.c openbox/openbox.c openbox/screen.c openbox/stacking.c openbox/startupnotify.c
2008-01-31don't assert when you window_find(0)/dockapp_find(0), just return 0Dana Jansens
2008-01-31make an obt_root() macroDana Jansens
2008-01-31make the window.h interface more consistent with the rest of openbox, hide ↵Dana Jansens
the window_map behind some functions, and make obdockapps not obwindows anymore
2008-01-26only add borders and stuff to the dock's size if it is holding anything. ↵Dana Jansens
otherwise it gets a non-zero size which messes with resistence/placement/etc
2008-01-20make openbox use the obt prop.c/h stuffDana Jansens
holy search and replace batman
2008-01-20s/ob_display/obt_display/ and remove ob_displayDana Jansens
2008-01-20Move the main loop out into the libobtDana Jansens
2008-01-12make the dock's hiding always have at least 1px on screenDana Jansens
2007-09-04ANSI function declarations, ie () -> (void)Mikael Magnusson
2007-08-03show a popup notification when switching desktops (also make all the config ↵Dana Jansens
options export time in milliseconds not half milli half micro)
2007-07-30don't propagate mouse button events on dock windows thru to the root windowDana Jansens
2007-07-17remove trailing whitespaceMikael Magnusson
2007-07-1480 cols in dock.cMikael Magnusson
2007-07-13use dock_get_area instead of accessing dock struct directlyMikael Magnusson
2007-07-13split out edge detecting code a bit so it is easy to add the dock area and ↵Mikael Magnusson
do that too
2007-07-13change dock to use a Rect area instead of four intsMikael Magnusson
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