summaryrefslogtreecommitdiff
path: root/openbox/action.c
AgeCommit message (Collapse)Author
2007-03-30delete the SN env var after launching a programMikael 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-28drop some wasted client_validates.Dana Jansens
2007-03-25bad idea.. more thought is needed..Dana Jansens
2007-03-25when opening the client menu with a key, open it at the window's top left ↵Dana Jansens
corner. is this clever or dumb?
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-19not passing timestamps sometimes and not others. set event_curtime when ↵Dana Jansens
client messages provide a timestamp.
2007-03-14oh, 2 things in this commit..Dana Jansens
1) THIS ONE IS IMPORTANT: don't set client->iconfied if the window is not actually going to be allowed to iconify. heh! 2) changes to focus fallback to avoid crashing and to avoid losing focus all at the same time.
2007-03-14a) fix resizerelative moving windows when they reach their minimum size do ↵Dana Jansens
this by... b) adding a function to let you see what size/position a window will be given when you actually try move/resize it to some given values. (client_try_configure)
2007-03-13save and restore pre-maximized/fullscreen sizes properlyDana Jansens
much cleanup on how per-app settings are applied to new mapping windows. maybe i broke it? but it'll be much quicker now, and it's consistant with the rest of the code, so hooray for that. pls let me know if i broke any of it :( hee..
2007-03-12don't validate inside client_focus. instead, validate before you call it!Dana Jansens
2007-03-12remove the group option for the restacking commands in rc.xml, cuz groups ↵Dana Jansens
are clever now
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-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-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-11-1580 colsMikael Magnusson
2006-10-31Add MoveFromEdge* actions, shorten client_directional_edge_search with some ↵Mikael Magnusson
handy #defines
2006-09-09stray ; killed ifMikael Magnusson
2006-08-22update copyright step 2Mikael Magnusson
2006-08-19stacking_list contains ObWindows that may or may not be ObClientsMikael Magnusson
2006-08-19fix some warnings from -WallMikael Magnusson
2006-08-04really fix focus_last?Mikael Magnusson
2006-08-02add moverelative and resizerelativeMikael Magnusson
2005-03-11Add a FocusToBottom action which moves the client to the bottom of the focus ↵Mikael Magnusson
order stack
2005-02-08<group> option for raise/lower related actions. hi floam.Mikael Magnusson
2005-01-31commit the movetocenter action since it appears someone else than me wanted ↵Mikael Magnusson
it after all
2005-01-16fix iconify action to fallback focus correctlyMikael Magnusson
2004-11-04add an option to resize with 4 corners as it was long ago and make the ↵Mikael Magnusson
default 9 "corners" with the middle corner being move. that way you only need one mod+button to move and resize windows
2004-08-17togglefullscreen action from Joaquin AguirrezabalagaMikael Magnusson
2004-07-07disable growtoedge for shaded windows for nowMikael Magnusson
2004-06-23try to fix focus switching with mouse actions up a bitMikael Magnusson
2004-04-10this goes away by popular request (focus_order_to_bottom in action_lower)Mikael Magnusson
2004-03-27action toggledockautohide to toggle if the dock autohidesMikael Magnusson
2003-12-22dont have glib reap children, we shall reap them instead to avoid zombies ↵Dana Jansens
from processes tranferred to us
2003-12-22don't use action_run_string in action.c, pass along the data so that the ↵Dana Jansens
second action gets all the same flags
2003-10-27was setting NULL incorrectly to cancel actions and then not checking for ↵Dana Jansens
NULL before using it
2003-10-25free the GErrorDana Jansens
2003-10-15UGLY HACKDana Jansens
makes move/resize events not get queued, so to avoid a race UGLY HACK
2003-10-15consistant glib type usageDana Jansens
2003-10-11gracefully handle grabs failing when doing interactive actionsDana Jansens
2003-10-09for very small windows make sure you can resize them largerDana Jansens
2003-10-09cancel focus delays when the user runs a focus (or focus cycle) action, and ↵Dana Jansens
when focusing new windows
2003-10-08seggieDana Jansens
2003-10-06alt-drag resizing can resize in just vertical and horizontal directions nowDana Jansens
2003-10-02dont queue up interative end actionsDana Jansens
2003-10-01define DEBUG, NDEBUG, and G_DISABLE_ASSERTSDana Jansens
2003-09-29when a window is lowered, move it to the bottom of the focus order listDana Jansens
2003-09-29make the Desktop action default to non-interactiveDana Jansens
2003-09-27properly show/hide the dialog for the Desktop actionDana Jansens
2003-09-27fix cancelling desktordir actionsDana Jansens