summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-06-25 06:11:39 (GMT)
committerfluxgen <fluxgen>2003-06-25 06:11:39 (GMT)
commit0a5cb42d4d2fc2c80e07002084dfa95286e4dff5 (patch)
treeb5ffde64e184438ac05c27f2a64f5b189de72fcc /src
parent4117b5d1303c2dbd0f609e9152beb6dd91942ccb (diff)
downloadfluxbox_lack-0a5cb42d4d2fc2c80e07002084dfa95286e4dff5.zip
fluxbox_lack-0a5cb42d4d2fc2c80e07002084dfa95286e4dff5.tar.bz2
temp disabled xinerama menu item
Diffstat (limited to 'src')
-rw-r--r--src/Xinerama.hh6
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