aboutsummaryrefslogtreecommitdiff
path: root/src/uicmd.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2009-08-03 19:14:25 +0000
committercorvid <corvid@lavabit.com>2009-08-03 19:14:25 +0000
commit77e1dbb94ad4b125af6f9fca67e38d4319ccc11a (patch)
tree590869a631222a3ac67552d29ae6b885c4d76e19 /src/uicmd.cc
parentb59d7a021b575eefcfa4ed873a3c3832b37f3fdc (diff)
leave the decision of raising a window to the WM (BUG 916)
Diffstat (limited to 'src/uicmd.cc')
-rw-r--r--src/uicmd.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/uicmd.cc b/src/uicmd.cc
index 8e8a2834..9c60ccb8 100644
--- a/src/uicmd.cc
+++ b/src/uicmd.cc
@@ -309,7 +309,15 @@ public:
/* Ignore this event */
return 1;
}
- return TabGroup::handle(e);
+ int ret = TabGroup::handle(e);
+
+ if (e == PUSH) {
+ /* WORKAROUND: FLTK raises the window on unhandled clicks,
+ * which we do not want.
+ */
+ ret = 1;
+ }
+ return ret;
}
void remove (Widget *w) {