aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/KeyUtil.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-12-31 11:57:47 (GMT)
committerfluxgen <fluxgen>2003-12-31 11:57:47 (GMT)
commitc9ff8760caaebaba3be3e1750bb6fce0a65bade1 (patch)
tree8350f4ace37d0f8b9e6ed3bb975ad6462a46a309 /src/FbTk/KeyUtil.cc
parentb10add4abe29ac9c78611a0c3dbadc7c1d898cfe (diff)
downloadfluxbox_pavel-c9ff8760caaebaba3be3e1750bb6fce0a65bade1.zip
fluxbox_pavel-c9ff8760caaebaba3be3e1750bb6fce0a65bade1.tar.bz2
using fixed values again
Diffstat (limited to 'src/FbTk/KeyUtil.cc')
-rw-r--r--src/FbTk/KeyUtil.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/FbTk/KeyUtil.cc b/src/FbTk/KeyUtil.cc
index 952463c..34f2e4d 100644
--- a/src/FbTk/KeyUtil.cc
+++ b/src/FbTk/KeyUtil.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: KeyUtil.cc,v 1.5 2003/12/30 18:11:44 fluxgen Exp $ 22// $Id: KeyUtil.cc,v 1.6 2003/12/31 11:57:47 fluxgen Exp $
23 23
24#include "KeyUtil.hh" 24#include "KeyUtil.hh"
25#include "App.hh" 25#include "App.hh"
@@ -102,9 +102,9 @@ void KeyUtil::loadModmap() {
102*/ 102*/
103void KeyUtil::grabKey(unsigned int key, unsigned int mod) { 103void KeyUtil::grabKey(unsigned int key, unsigned int mod) {
104 Display *display = App::instance()->display(); 104 Display *display = App::instance()->display();
105 const unsigned int capsmod = instance().m_capslock; 105 const unsigned int capsmod = instance().capslock();
106 const unsigned int nummod = instance().m_numlock; 106 const unsigned int nummod = instance().numlock();
107 const unsigned int scrollmod = instance().m_scrolllock; 107 const unsigned int scrollmod = instance().scrolllock();
108 108
109 for (int screen=0; screen<ScreenCount(display); screen++) { 109 for (int screen=0; screen<ScreenCount(display); screen++) {
110 110