]> Dogcows Code - chaz/openbox/blobdiff - util/epist/screen.hh
toggleGrabs action added
[chaz/openbox] / util / epist / screen.hh
index a07831e805af8ba06839f5fab7aa7fa3f27d447b..34e3c77f15af29e9b3a59159c5d9efce1ae32a6d 100644 (file)
@@ -1,4 +1,4 @@
-// -*- mode: C++; indent-tabs-mode: nil; -*-
+// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
 // screen.hh for Epistrophy - a key handler for NETWM/EWMH window managers.
 // Copyright (c) 2002 - 2002 Ben Jansens <ben at orodu.net>
 //
@@ -53,6 +53,7 @@ class screen {
   unsigned int _num_desktops;
 
   bool _managed;
+  bool _grabbed; // used for keygrab toggle function
 
   XWindow *findWindow(const XEvent &e) const;
   void updateNumDesktops();
@@ -84,6 +85,9 @@ public:
   void cycleWorkspace(const bool forward, const int increment,
                       const bool loop = true) const;
   void changeWorkspace(const int num) const;
+  void changeWorkspaceVert(const int num) const;
+  void changeWorkspaceHorz(const int num) const;
+
   void toggleShaded(const Window win) const;
   void execCommand(const std::string &cmd) const;
 
This page took 0.022584 seconds and 4 git commands to generate.