all repos — fluxbox @ 12532042f5d6f1245ba308d7db024c8970c57df8

custom fork of the fluxbox windowmanager

using KeyUtil cleanMods
fluxgen fluxgen
commit

12532042f5d6f1245ba308d7db024c8970c57df8

parent

85316137bacf8a5c8a3ee4b48e7b7253615ba60c

1 files changed, 7 insertions(+), 4 deletions(-)

jump to
M src/WorkspaceCmd.ccsrc/WorkspaceCmd.cc

@@ -20,14 +20,17 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: WorkspaceCmd.cc,v 1.3 2003/07/19 13:51:24 rathnor Exp $ +// $Id: WorkspaceCmd.cc,v 1.4 2003/09/06 14:05:32 fluxgen Exp $ #include "WorkspaceCmd.hh" + #include "Workspace.hh" #include "Window.hh" #include "Screen.hh" #include "fluxbox.hh" -#include "Keys.hh" + +#include "FbTk/KeyUtil.hh" + #include <algorithm> #include <functional>

@@ -38,7 +41,7 @@ if (screen != 0) {

Fluxbox *fb = Fluxbox::instance(); // special case for commands from key events if (fb->lastEvent().type == KeyPress) { - unsigned int mods = Keys::cleanMods(fb->lastEvent().xkey.state); + unsigned int mods = FbTk::KeyUtil::cleanMods(fb->lastEvent().xkey.state); if (mods == 0) // can't stacked cycle unless there is a mod to grab screen->nextFocus(m_option | BScreen::CYCLELINEAR); else {

@@ -59,7 +62,7 @@ if (screen != 0) {

Fluxbox *fb = Fluxbox::instance(); // special case for commands from key events if (fb->lastEvent().type == KeyPress) { - unsigned int mods = Keys::cleanMods(fb->lastEvent().xkey.state); + unsigned int mods = FbTk::KeyUtil::cleanMods(fb->lastEvent().xkey.state); if (mods == 0) // can't stacked cycle unless there is a mod to grab screen->prevFocus(m_option | BScreen::CYCLELINEAR); else {