summaryrefslogtreecommitdiff
path: root/openbox/focus_cycle.c
AgeCommit message (Collapse)Author
2012-10-06Allow non-interactive focus cycling.Dana Jansens
Adds an <interactive>bool</interactive> option to the NextWindow and PreviousWindow actions. When it is false, the action is not interactive and will immediately switch focus to whatever the next focus target is. Removing the "interactive" flag from the focus_cycle() method, as it was unused previously, and the new code does not make use of it either. In order to be non-interactive it simply starts a focus_cycle then immediately ends it when the action ends. The "interactive" flag in focus_cycle() forced a linear cycling order which may not be what you want, so the new method is preferrable anyhow.
2012-10-06When a window is the focus target and it is removed from the focus order, ↵Dana Jansens
reset the focus cycling (Fix bug 5410) We were only doing this if a dialog was showing. But if it's the target, then a dialog is not relevant, we should always recompute the focus cycling. This avoids a crash when not using a dialog and closing a window during cycling.
2011-08-01Fix bug #4877 (Some harmless code quirks involving booleans)Dana Jansens
2010-04-16show the focus cycle popup's icons in linear order when cycling in linear ↵Dana Jansens
order (bug #2319)
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-11Make the focus cycle indicator follow target fallback in the popupDana Jansens
2010-01-11More work on refreshing the focus cycle dialog when windows are ↵Dana Jansens
added/removed from the valid focus order
2010-01-11Redraw the focus cycle popup when the list of focusable windows changes, ↵Dana Jansens
rather than closing it
2010-01-11If a window is added to the focus order while focus cycling, stop the focus ↵Dana Jansens
cycling istead of crashing (See bug #4411)
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
2010-01-08Merge branch 'backport' into workDana Jansens
Conflicts: Makefile.am openbox/actions/focus.c openbox/config.c openbox/event.c openbox/menuframe.c
2010-01-04Make the Focus action stop all interactive actions (Fixes bug #4436)Dana Jansens
Old < 3.4.8 Openbox versions would stop focus cycling when focus moved. Now that is not the case, but you should be able to stop it by Choosing a window explicitly still.
2009-12-18Merge branch 'backport' into workDana Jansens
Conflicts: openbox/screen.c
2009-12-17Hide the focus popup if we change desktops and one of the windows in it ↵Dana Jansens
disappears
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-03-08Merge branch 'backport' into workMikael Magnusson
Conflicts: obt/keyboard.c openbox/actions/cyclewindows.c openbox/actions/directionalwindows.c openbox/frame.c openbox/openbox.c
2008-03-08Remove double newlines.Mikael Magnusson
2008-02-29Merge branch 'backport' into workMikael Magnusson
Conflicts: openbox/client.c openbox/screen.c
2008-02-29Remove an unused variable.Mikael Magnusson
2008-02-03combine the old focus cycle popup code with mika's new list-mode popup, and ↵Dana Jansens
make an action option for it (the old <dialog> option)
2008-01-11let you raise the focus target temporarily during focus cycling, with the ↵Dana Jansens
<raise> option. also a new <bar> option lets you turn off the indicator bar
2007-07-17remove trailing whitespaceMikael Magnusson
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-22remove the activate action, make the focus action "activate" but not raise ↵Dana Jansens
or unshade
2007-06-22add the activate action. it will replace the focus action, as it can just ↵Dana Jansens
focus without raising now (or without unshading)
2007-06-22add the cyclewindows actionDana Jansens
2007-06-12use the same decision code to focus new windows as for focus cycling or ↵Dana Jansens
focus fallback. yay consistency.
2007-06-10remove debug printsDana Jansens
2007-06-10allow noninteractive directional focus.Dana Jansens
make keybinds noninteractive when the last key in the chain has no modifiers (i think this is what the code was supposed to do but failed.) don't reset key chains during an interactive action. reset them after an interactive action finishes (honoring chroot) so you can <C-t><C-Up>Stuff<//> and it'll do stuff as you hit C-Up, you dont have to keep hitting C-t
2007-06-09let you focus cycle to helper windows if there are only dialog windows ↵Dana Jansens
around in its group (only normal type windows count as siblings for this case)
2007-06-07remove {} just cuzDana Jansens
2007-06-07fix dirfocus when no dialogDana Jansens
2007-06-07why is this function declared twiceDana Jansens
2007-05-29no pointless using of the comma operatorMikael Magnusson
2007-05-29make next/previouswindow and dirfocus actions show the focus_cycle_indicator ↵Mikael Magnusson
even if they target the focused window, remove an unused variable from focus_cycle but not from focus_directional_cycle, there we use it to fix the aforementioned indicator.
2007-05-28add a comment and make it smarter about when to let you focus cycle to ↵Dana Jansens
windows with modal children
2007-05-28when you focus a window, bring any modal children it has to that desktopDana Jansens
when falling back, return the window which actually was focused by client_focus let you focus cycle to windows when their modal window is on another desktop (it will be brought over)
2007-05-26only kill focus cycling when the window being destroyed was in the list of ↵Dana Jansens
targets
2007-05-26don't need the client destructor nowDana Jansens
2007-05-26oops was saving tthe options in the wrong place.Dana Jansens
save the panels/dockwindows/desktopwindows/alldesktops options when focus cycling starts
2007-05-26use focus_cycle_stop to cancel focus cyclingDana Jansens
2007-05-26when canceling focus cycling, cancel both normal and directionalDana Jansens
2007-05-26don't crash when a window adds itself to the focus order while cyclingDana Jansens
2007-05-22make modal windows cyclable all the time if they are visible and stuffDana Jansens
2007-05-19show the old single-window popup for directional focus.Dana Jansens
fix multirow icons for the new popup.
2007-05-19fix the popup for directional focusing, only show what is going to be a ↵Dana Jansens
valid target. change directional focus to use the same criteria as normal cycling.
2007-05-19move focus_cycle_popup into its own fileDana Jansens
2007-05-19move focus_cycle_indicator into its own fileDana Jansens