summaryrefslogtreecommitdiff
path: root/openbox/action.c
AgeCommit message (Collapse)Author
2007-05-09only allow west/move/east for shaded windowsMikael Magnusson
2007-05-09moveresize_start already checks if the window can move or resizeDana Jansens
2007-05-09optimizationDana Jansens
2007-05-09make cycling desktops not move when cancellingDana Jansens
2007-05-09button presses which run actions during interactive actions will cancel the ↵Dana Jansens
action. when you cancel switching desktops, don't go back, just stop.
2007-05-08let windows that cant iconify still iconify with their parents, but not ↵Dana Jansens
non-normal windows. let you focus windows that wouldnt normally by clicking on their decor (if they have any)
2007-05-08don't focus splash screens and toolbars and menus when you click on them. or ↵Dana Jansens
enter them.
2007-05-08try again. merge r6177-6182 from 3.4-workingDana Jansens
2007-05-08make helper windows share desktops with all their application top level windowsDana Jansens
2007-05-07remove a debugging printDana Jansens
2007-05-06add an allDesktops option to Next/PreviousWindow to alt-tab across all desktops.Dana Jansens
2007-05-05yay. way way cleaner code for iconify animations. let people show/hide the ↵Dana Jansens
frame logically and it will do everything except during animations the frame will show what it needs to for visual display.
2007-05-05lots of fixes for the iconify animation. i think it should all work ↵Dana Jansens
perfectly now ? one change in action.c may affect bindings... THIS COULD BREAK CURRENT CONFIG FILES. ya. so, if you used a press binding and it moved the window, no enter event will be generated for that anymore because you are holding down the button when the window moves. if you don't like that then use a click binding instead. 1
2007-05-05when restoring from show-desktop mode because a window is going to be ↵Dana Jansens
focused, then don't restore focus how it was before showing the desktop.
2007-05-05more hacks to avoid racesDana Jansens
2007-05-05this is so bogus.. im going to break people's config files just now.Dana Jansens
2007-05-04fix 2 actions.Dana Jansens
make activate on the root window work like focus. dont allow growtoedge in vertical directions for shaded windows. mika can you please test this? :)
2007-05-04revert r6029, as it didnt fix anything.Dana Jansens
however this patch does fix the aforementioned problem. actions need some reworking... yeah... later...
2007-05-01a whole lot of changes to the moving/resizing code. it was broken for ↵Dana Jansens
non-northwest gravities. now it is not. at least, that is the idea.
2007-04-26place the client menu at the top left of the window when opening it with a ↵Dana Jansens
key binding. change how the first menus are placed. place them like other people place menus. maybe this is good, maybe it is bad, we will see..
2007-04-26fixes for new keybindings stuff/chroot/parsingDana Jansens
2007-04-24remove the four corners optionDana Jansens
document what these serious macros are with art!
2007-04-24working tapered corners resizeMikael Magnusson
2007-04-24print the corner out that was chosenDana Jansens
2007-04-24what I have so farMikael Magnusson
2007-04-24this doesn't work yet but i don't want to screw it up accidentallyMikael Magnusson
2007-04-24preliminary change to the 9 corners thing, to add a recursive 9 corners ↵Dana Jansens
inside the middle one
2007-04-23cycling between dock windows now possible with the <panels>yes</panels> optionDana 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-22a) remove focus_hilite, it is not needed and complicated thingsDana Jansens
b) set focus_client to null when nothing is actually focused, but still allow focus to go to black holes c) allow the focus action to be performed without a client, this will focus the openbox instance (i.e. the screen in multihead setups) big thanks to syscrash for the ideas on how to go about this
2007-04-22dont need to ignore mouse events during a keyboard grab, they go to the ↵Dana Jansens
grab-window anyways use our built in grab_keyboard
2007-04-22only pass thru events when the menu is open, don't for other stuffDana Jansens
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