summaryrefslogtreecommitdiff
path: root/openbox/focus.c
AgeCommit message (Collapse)Author
2007-05-08merge r6176-6182 from 3.4-workingDana Jansens
2007-05-08double space in debug outputMikael Magnusson
2007-05-08i dont like this "application window" concept. swap it with "helper" windows ↵Dana Jansens
instead which are the inverse. helper windows are utility/menu/toolbar windows.
2007-05-08!Dana Jansens
2007-05-07show the right iconDana Jansens
2007-05-07popups fixes. if the text for the popup is empty now, there wont be extra ↵Dana Jansens
padding for it. desktop name fixes.
2007-05-07a variable sized alt-tab box. is this nice or slower to read? we'll see.Dana Jansens
2007-05-06a bunch of thigns got squashed into this commit.. sorry..Dana Jansens
1. soem bug fixes for window stacking 2. clarify some functions behavior with their names 3. add (untested) support for legacy fullscreen apps. i have no idea what they do on a multihead xinerama setup though and if this would help there or need some changes.
2007-05-06show the desktop in the focus popup if its not on the current desktopDana Jansens
2007-05-06add an allDesktops option to Next/PreviousWindow to alt-tab across all desktops.Dana Jansens
2007-05-06give the focus indicator a fixed widthDana Jansens
2007-05-06refactor all the session stuff. yay, it works properly now.Dana Jansens
make sessions save the desktop being displayed. can we get rid of config_firstdesk now? refactor startup a bit. focus the window that was focused when we were restarted. have clients properly restore their session state. add undecorated to the saved session state for clients.
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-05missing parenthesesDana Jansens
2007-05-05let you alt-tab to utility windows when focus is already in the groupDana Jansens
2007-05-03add the notion of "application windows" meaning normal or dialog type windows.Dana Jansens
let you alt-tab to non-application windows when they dont have an application window in their group
2007-05-02remove delay for focus/desktop popups. its fast anyway any not showing it is ↵Dana Jansens
annoying
2007-05-02skip windows which skip the taskbar.Dana Jansens
don't skip them for cycling dock windows.
2007-05-02add a slight delay to the focus/desktop switch dialogs. so if you hit the ↵Dana Jansens
key really fast there is no flicker. of course if you hit it fast but not fast enough there is still flicker. is this cool or does this make it feel bad? i dunno. we'll see.. make the keychain popup use the new delay popup facilities
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-24the focus_client = NULL got moved by mistake.Dana Jansens
2007-04-24focus_order_remove is called in a few places. move the check for unsetting ↵Dana Jansens
focus_client into client_unmanage.
2007-04-23focus_client was becoming invalid if the focused client was unmanaged.Dana Jansens
2007-04-23cycling between dock windows now possible with the <panels>yes</panels> optionDana Jansens
2007-04-23remove an unused variableDana Jansens
2007-04-23fallback to desktops properlyDana Jansens
2007-04-22use event_ignore_queued_entersDana Jansens
2007-04-22when focusing nothing, make sure focus_client knows that nothing is focusedDana Jansens
2007-04-22a) set the focus client before calculating its layerDana Jansens
b) cleanup in focus.c
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-22don't grab the pointer during interactive events. this allows you to alt-tab ↵Dana Jansens
during a dnd.
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-04-22stop delayed focusing when falling backDana Jansens
2007-04-21hide focus debugging messagesDana Jansens
2007-03-28drop some wasted client_validates.Dana Jansens
2007-03-19not passing timestamps sometimes and not others. set event_curtime when ↵Dana Jansens
client messages provide a timestamp.
2007-03-15only refocus the omnipresent window if its allowedDana Jansens
2007-03-15clearer engrishDana Jansens
2007-03-15when an omnipresent window has focus and you switch desktops, keep it focusedDana Jansens
2007-03-14don't fall back focus to omnipresent windowsDana Jansens
2007-03-14make focus_order into one long list instead of having one per desktop. this ↵Dana Jansens
actually fixes bugs with omnipresent windows and adding desktops. it is just overall a little nicer i think. also this is not tested. sorry if it breaks everything.
2007-03-14save the focus_client when falling back, so we don't actually refocus it ↵Dana Jansens
when we don't want to.
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-12validate clients before trying to focus them in fallbackDana Jansens
also validate before trying to set the focus on a window this should fix those crashes, and should just be better over all
2007-03-12i rewrote handling of focus events. this is pretty much based on blackbox's ↵Dana Jansens
current form, as well as reading the xlib programming manual at: http://tronche.com/gui/x/xlib/events/input-focus/normal-and-grabbed.html this may break for people. that'd be nice to hear about, so it can be fixed. but hopefully this is more robust. it sure is a lot more simple.
2007-03-12roll back focus fallback change, so it behaves well with new stackingDana Jansens
2007-03-12ok this is from prevous changes but has a bunch of debug stuff in itDana Jansens
2007-03-11fallback to transient parents properlyDana Jansens
2007-03-11stacking has been made more reliable with groups and group transients.Dana Jansens
this was a pretty invasive change in client.c though, so it may break things? it did expose some bugginess in client_calc_layer, which is now better than ever, hopefully there isn't more to be found.
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..