summaryrefslogtreecommitdiff
path: root/openbox/startupnotify.c
AgeCommit message (Collapse)Author
2007-05-26drop the startup notify timeout from 30 to 20 secondsDana Jansens
2007-05-13when using openbox-gnome/kde-session, use a separate config file ↵Dana Jansens
(rc-gnome/kde.xml)
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-30unset DESKTOP_STARTUP_ID at startup so we don't pass it on unknowingly.Dana Jansens
2007-03-28fix compile without startup notification after r5711Mikael Magnusson
2007-03-28use setenv to set up the DESKTOP_STARTUP_ID when launching programs.Dana Jansens
before, if DESKTOP_STARTUP_ID was set in openbox, it would mess up adding it to the child's environment because it would appear twice. so now it will only appear once for the child always.
2007-03-21launch things on the desktop where you ran it.Dana Jansens
also: kde apps move themselves to the current desktop when they open. what the heck?
2007-03-11allow setting startupnotify per execute action, default to disabled. use ↵Mikael Magnusson
like this: <action name="execute"><execute>program</execute><startupnotify><enabled>true</enabled><name>something descriptive</name><icon>name of an icon in the icon theme to show</icon></startupnotify</action>
2007-03-11look for more things to cancel startup notification on, from the wmclass. if ↵Dana Jansens
the wmclass is related to the name or the binary name, then it will cancel it also. this is so that oldschool stuff doesn't thing its opening forever.
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-10make startup notification a little more robust. obconf is just broken, betweenDana Jansens
the application and it's .desktop.
2006-11-1580 colsMikael Magnusson
2006-08-22update copyright step 2Mikael Magnusson
2006-08-17add a means to tell the timer destroy function not to fire when for example ↵Mikael Magnusson
freeing its client frame
2004-03-18the old event codeMikael Magnusson
2003-09-29dont use the X done callbackDana 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-15revert my commit of d3th, it fucked up focus badlyDana Jansens
2003-09-15break focus. or maybe make it better.Dana Jansens
these changes make it work when you alt-tab off a fullscreen window, that it doesnt iconify, and that it is immediately restacked instead of waiting for a FocusIn event to arrive. The code now assumes that if the window says it can focus, that if we focus it, it is focused. add the XDone handler to ObMainLoop, which is fired upon the occurance of there being no more X events to read.
2003-09-15remove debug printDana Jansens
2003-09-14remove the x event handlerDana Jansens
2003-09-03fix for not using startup notificationDana Jansens
2003-09-03add startup notification in its own .c/.h filesDana Jansens