summaryrefslogtreecommitdiff
path: root/openbox/focus.c
AgeCommit message (Collapse)Author
2007-05-19move focus cycling into its own fileDana Jansens
2007-05-18super correct enter event ignoring that will only ignore what it has to, yay?Dana Jansens
2007-05-15always ignore errors for client_focus like we used to.Dana Jansens
2007-05-15simplify focus handling a bit. no need to listen to focus going to the frame ↵Dana Jansens
because if it ever does that, the window is unmapping and the frame will just unmap and send it to root. make focus fallback a lil more robust, it checks for errors when it sets focus on the window, and if an error occured it will focus the next option.
2007-05-15don't do this stuff when it's already done. save bandwidth.Dana Jansens
2007-05-14yay for simplifying code. if we check for errors we dont need the ↵Dana Jansens
"focus_tried" stuff
2007-05-14some debug printsDana Jansens
2007-05-13missing a headerDana Jansens
2007-05-13dont set focus_client to NULL when sending focus to nothing, let that happen ↵Dana Jansens
from the FocusOut events
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-13kill grabs before xsetinputfocusDana Jansens
2007-05-13fix directional focusDana Jansens
2007-05-13use the right list in client_add_hide_notify, rename destructor to ↵Dana Jansens
destroy_notify which is really what it is, and is more consistant now that there are 2 notifies
2007-05-13when i said it handled both cases, i was mistaken, so use a callback for ↵Dana Jansens
each case.
2007-05-13likewise if a window is unmanaged and we were trying to give it focus, we ↵Dana Jansens
want to know about it - also if the window gets hidden for some other reason, we also want to know about it. add a notifier for windows being hidden, and use that instead - it handles both cases.
2007-05-13some changes to focus handling.Dana Jansens
most interesting is the change in focus_fallback, which means that it won't call xsetinput focus in some cases, potentially reducing flicker and stuff. also potentially producing bugs? heh. the screen.c focus fallback code doesn't seem to need special cases anymore, which is really good, if that is really the case. move the focus_tried stuff out of event.c into focus.c, where it seems to belong.
2007-05-13dont skip desktop windows that set skip_taskbarDana Jansens
2007-05-12add <desktop>yes</desktop> option for Next/Previous window and directional ↵Dana Jansens
focus actions
2007-05-12try catch weird racey corner case where we try fallback to a window but it ↵Dana Jansens
unmaps as we do so, so focus ends up going to nowhere
2007-05-11fix focus cycling. checking the wrong client.Dana Jansens
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