diff options
author | fluxgen <fluxgen> | 2003-06-25 06:11:39 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-06-25 06:11:39 (GMT) |
commit | 0a5cb42d4d2fc2c80e07002084dfa95286e4dff5 (patch) | |
tree | b5ffde64e184438ac05c27f2a64f5b189de72fcc | |
parent | 4117b5d1303c2dbd0f609e9152beb6dd91942ccb (diff) | |
download | fluxbox_paul-0a5cb42d4d2fc2c80e07002084dfa95286e4dff5.zip fluxbox_paul-0a5cb42d4d2fc2c80e07002084dfa95286e4dff5.tar.bz2 |
temp disabled xinerama menu item
-rw-r--r-- | src/Xinerama.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Xinerama.hh b/src/Xinerama.hh index eebd431..b20547c 100644 --- a/src/Xinerama.hh +++ b/src/Xinerama.hh | |||
@@ -20,7 +20,7 @@ | |||
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 | // DEALINGS IN THE SOFTWARE. | 21 | // DEALINGS IN THE SOFTWARE. |
22 | 22 | ||
23 | // $Id: Xinerama.hh,v 1.1 2003/05/19 14:26:30 rathnor Exp $ | 23 | // $Id: Xinerama.hh,v 1.2 2003/06/25 06:11:39 fluxgen Exp $ |
24 | 24 | ||
25 | #ifndef XINERAMA_HH | 25 | #ifndef XINERAMA_HH |
26 | #define XINERAMA_HH | 26 | #define XINERAMA_HH |
@@ -48,9 +48,9 @@ public: | |||
48 | XineramaHeadMenuItem(const char *label, ItemType *object, int headnum): | 48 | XineramaHeadMenuItem(const char *label, ItemType *object, int headnum): |
49 | FbTk::MenuItem(label), m_object(object), m_headnum(headnum) {} | 49 | FbTk::MenuItem(label), m_object(object), m_headnum(headnum) {} |
50 | 50 | ||
51 | bool isEnabled() const { return m_object->screen().getOnHead(*m_object) != m_headnum; } ; | 51 | bool isEnabled() const { return true; } //m_object->screen().getOnHead(*m_object) != m_headnum; } ; |
52 | void click(int button, int time) { | 52 | void click(int button, int time) { |
53 | m_object->screen().setOnHead(*m_object, m_headnum); | 53 | // m_object->screen().setOnHead(*m_object, m_headnum); |
54 | FbTk::MenuItem::click(button, time); | 54 | FbTk::MenuItem::click(button, time); |
55 | } | 55 | } |
56 | 56 | ||