aboutsummaryrefslogtreecommitdiff
path: root/src/Xinerama.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xinerama.hh')
-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