summaryrefslogtreecommitdiff
path: root/openbox/focus.h
AgeCommit message (Collapse)Author
2010-04-16add an option to next/previous window to only include ↵Dana Jansens
hilited/flashing/urgent windows (feature req/bug #4341)
2010-01-11Merge branch 'backport' into workDana Jansens
Conflicts: configure.ac data/rc.xml openbox/client.c openbox/event.c openbox/focus_cycle.c openbox/focus_cycle_popup.c openbox/openbox.c openbox/prop.c openbox/prop.h openbox/screen.c parser/parse.c version.h.in
2010-01-11More work on refreshing the focus cycle dialog when windows are ↵Dana Jansens
added/removed from the valid focus order
2010-01-08Make focus_valid_target() take a desktop argument.Dana Jansens
So you can find valid targets on desktops other than the currently visible one
2009-12-11Merge branch 'backport' into workDana Jansens
Conflicts: openbox/config.c openbox/event.c openbox/prop.c openbox/prop.h openbox/screen.c openbox/screen.h
2009-12-09Allow skip_taskbar windows to be focused on map when the user requests it in ↵Dana Jansens
rc.xml. Fixes bug #4350
2008-02-15() -> (void) also in .h files, and fix a place that gave arguments when it ↵Mikael Magnusson
shouldn't have.
2007-08-04don't make omnipresent windows lose focus when changing desktops. this is ↵Dana Jansens
done by allowing focus_fallback to specify if focus has been lost or not. usually if you're call it, focus is lost, but not always.
2007-07-06don't focus helper windows that map unless there are no other valid targets ↵Dana Jansens
in the group (don't move focus from a group window to a new helper window). this fixes gucharmap.
2007-06-12use the same decision code to focus new windows as for focus cycling or ↵Dana Jansens
focus fallback. yay consistency.
2007-06-04allow focus to fallback to omnipresent windows, except during desktop ↵Dana Jansens
switching which is when they are vile
2007-05-27make focuslast only apply to switching desktops, like 3.3.1Dana Jansens
2007-05-19move focus cycling into its own fileDana Jansens
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-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-06add an allDesktops option to Next/PreviousWindow to alt-tab across all desktops.Dana Jansens
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-03-19not passing timestamps sometimes and not others. set event_curtime when ↵Dana Jansens
client messages provide a timestamp.
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-12update focus_hilite appropriately for when changing desktopsDana Jansens
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-11fallback to transient parents properlyDana Jansens
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..
2006-08-22update copyright step 2Mikael Magnusson
2006-08-04really fix focus_last?Mikael Magnusson
2004-06-23try to fix focus switching with mouse actions up a bitMikael Magnusson
2003-10-09supply focus_cycle_draw_indicator which draws/moves/resizes the focus ↵Dana Jansens
cycling indicator
2003-10-08add a focus_hilite variableDana Jansens
2003-10-03let functions get which window would be selected on a focus fallbackDana 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-15remove focusLast and focusLastOnDesktopDana Jansens
2003-09-08remove comment that isnt right anymoreDana Jansens
2003-09-08expose focus_cycle_clientDana Jansens
2003-09-03add a reconfigure action, also reconfigure on SIGUSR2.Dana Jansens
support reconfiguring throughout the entire codebase.
2003-08-31make focus cycling work when not interactiveDana Jansens
add focus_directional_cycle
2003-08-30make interactive actions a type and not special cases.Dana Jansens
add the <interactive> option to them to turn off interactivity
2003-07-10replace the focus_backup with the screen_support_win, we dont need 2 ↵Dana Jansens
offscreen windows.
2003-07-10prefix and capitalize the ObFocusFallbackType enumDana Jansens
2003-07-10rename the Client struct to ObClientDana Jansens
2003-04-25add helper functions for manipulating the focus_order list.Dana Jansens
move the focus popup into focus.c, out of action.c allow cycling to iconic windows, which are kept at the bottom of the focus_order lists.
2003-04-18comment typoDana Jansens
2003-04-08move config option loading for the kernel into config.c/hDana Jansens
add options for the number of desktops and the names of the desktops
2003-04-08add more options for focus fallback, use an enum for all the types of fallbacks.Dana Jansens