From: Dana Jansens Date: Tue, 2 Oct 2012 02:32:59 +0000 (-0400) Subject: Allow non-interactive focus cycling. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=1869e4e830d08acd5f7801acd8910ce99806f53b;hp=1869e4e830d08acd5f7801acd8910ce99806f53b;p=chaz%2Fopenbox Allow non-interactive focus cycling. Adds an bool 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. ---