aboutsummaryrefslogtreecommitdiff
path: root/src/IntResMenuItem.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2007-12-18 05:44:17 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2007-12-18 05:44:17 (GMT)
commitc01bd6e9fd98dd0f70ffc1d01df86e73719cd5e0 (patch)
tree7e25c017727402a33fd8e4c851b5bab9e6add568 /src/IntResMenuItem.hh
parent31df2d8bd618cae590d9b0e76aee11021d4c77d3 (diff)
downloadfluxbox-c01bd6e9fd98dd0f70ffc1d01df86e73719cd5e0.zip
fluxbox-c01bd6e9fd98dd0f70ffc1d01df86e73719cd5e0.tar.bz2
holding control will now keep the menu open
Diffstat (limited to 'src/IntResMenuItem.hh')
-rw-r--r--src/IntResMenuItem.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/IntResMenuItem.hh b/src/IntResMenuItem.hh
index e49681f..3de4b5f 100644
--- a/src/IntResMenuItem.hh
+++ b/src/IntResMenuItem.hh
@@ -49,7 +49,7 @@ public:
49 return ret; 49 return ret;
50 } 50 }
51 51
52 void click(int button, int time) { 52 void click(int button, int time, unsigned int mods) {
53 static int last_time = -201; 53 static int last_time = -201;
54 int inc_val = 1; 54 int inc_val = 1;
55 // check double click 55 // check double click
@@ -76,7 +76,7 @@ public:
76 // update label 76 // update label
77 updateLabel(); 77 updateLabel();
78 // call other commands 78 // call other commands
79 FbTk::MenuItem::click(button, time); 79 FbTk::MenuItem::click(button, time, mods);
80 80
81 // show new value, which for us means forcing a full menu update 81 // show new value, which for us means forcing a full menu update
82 // since the text is drawn onto the background! 82 // since the text is drawn onto the background!