diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-18 05:44:17 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-18 05:44:17 (GMT) |
commit | c01bd6e9fd98dd0f70ffc1d01df86e73719cd5e0 (patch) | |
tree | 7e25c017727402a33fd8e4c851b5bab9e6add568 /src/Xinerama.hh | |
parent | 31df2d8bd618cae590d9b0e76aee11021d4c77d3 (diff) | |
download | fluxbox-c01bd6e9fd98dd0f70ffc1d01df86e73719cd5e0.zip fluxbox-c01bd6e9fd98dd0f70ffc1d01df86e73719cd5e0.tar.bz2 |
holding control will now keep the menu open
Diffstat (limited to 'src/Xinerama.hh')
-rw-r--r-- | src/Xinerama.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Xinerama.hh b/src/Xinerama.hh index 1cc15aa..f57c584 100644 --- a/src/Xinerama.hh +++ b/src/Xinerama.hh | |||
@@ -48,9 +48,9 @@ public: | |||
48 | FbTk::MenuItem(label), m_object(object), m_headnum(headnum) {} | 48 | FbTk::MenuItem(label), m_object(object), m_headnum(headnum) {} |
49 | 49 | ||
50 | bool isEnabled() const { return m_object.getOnHead() != m_headnum; } | 50 | bool isEnabled() const { return m_object.getOnHead() != m_headnum; } |
51 | void click(int button, int time) { | 51 | void click(int button, int time, unsigned int mods) { |
52 | m_object.saveOnHead(m_headnum); | 52 | m_object.saveOnHead(m_headnum); |
53 | FbTk::MenuItem::click(button, time); | 53 | FbTk::MenuItem::click(button, time, mods); |
54 | } | 54 | } |
55 | 55 | ||
56 | private: | 56 | private: |