summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2008-02-20 17:42:08 +0000
committerMatthias Melcher <fltk@matthiasm.com>2008-02-20 17:42:08 +0000
commit97c408f1d26106b50f8958e29bda160572012bba (patch)
treecf622caa802b553d7ad2f2d6c03ba64bbd33ffd9 /src
parent28c87ce84df0ed491f2236013a360581ba43e760 (diff)
STR 1849: fixed messages sent to hidden windows
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Group.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Fl_Group.cxx b/src/Fl_Group.cxx
index 1a90da6a2..5768bedb5 100644
--- a/src/Fl_Group.cxx
+++ b/src/Fl_Group.cxx
@@ -260,9 +260,7 @@ int Fl_Group::handle(int event) {
if (children()) {
for (int j = i;;) {
- if (a[j]->takesevents() || event != FL_MOUSEWHEEL) {
- if (send(a[j], event)) return 1;
- }
+ if (a[j]->takesevents()) if (send(a[j], event)) return 1;
j++;
if (j >= children()) j = 0;
if (j == i) break;