summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--o3d/plugin/linux/main_linux.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/o3d/plugin/linux/main_linux.cc b/o3d/plugin/linux/main_linux.cc
index 0841d59..d381ae0 100644
--- a/o3d/plugin/linux/main_linux.cc
+++ b/o3d/plugin/linux/main_linux.cc
@@ -384,9 +384,14 @@ static int GetGtkModifierState(int gtk_state) {
if (gtk_state & GDK_MOD1_MASK) {
modifier_state |= Event::MODIFIER_ALT;
}
+#if 0
+ // TODO: This code is temporarily disabled until we figure out which exact
+ // version of GTK to test for: GDK_META_MASK doesn't exist in older (e.g. 2.8)
+ // versions.
if (gtk_state & GDK_META_MASK) {
modifier_state |= Event::MODIFIER_META;
}
+#endif
return modifier_state;
}