summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1998-12-29 14:01:46 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1998-12-29 14:01:46 +0000
commit434609ab0c01b849056ab24356609e213a32d98a (patch)
tree3da8af93e9c4f3a6af170a5a074af8cc9ad4ee1f /src
parenta35b7387f5dd22cd692d13153f7d4c3dafe3b776 (diff)
Fixed event propragation for subwindows (from Bill).
git-svn-id: file:///fltk/svn/fltk/trunk@171 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_x.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx
index ac2c5d32a..c5e4e29bb 100644
--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_x.cxx,v 1.13 1998/12/08 21:08:51 mike Exp $"
+// "$Id: Fl_x.cxx,v 1.14 1998/12/29 14:01:46 mike Exp $"
//
// X specific code for the Fast Light Tool Kit (FLTK).
//
@@ -454,7 +454,6 @@ int fl_handle(const XEvent& xevent)
break;
case EnterNotify:
- if (xevent.xcrossing.detail == NotifyInferior) break;
// XInstallColormap(fl_display, Fl_X::i(window)->colormap);
set_event_xy(window);
Fl::e_state = xevent.xcrossing.state << 16;
@@ -462,7 +461,6 @@ int fl_handle(const XEvent& xevent)
break;
case LeaveNotify:
- if (xevent.xcrossing.detail == NotifyInferior) break;
set_event_xy(window);
Fl::e_state = xevent.xcrossing.state << 16;
event = FL_LEAVE;
@@ -804,5 +802,5 @@ void Fl_Window::make_current() {
#endif
//
-// End of "$Id: Fl_x.cxx,v 1.13 1998/12/08 21:08:51 mike Exp $".
+// End of "$Id: Fl_x.cxx,v 1.14 1998/12/29 14:01:46 mike Exp $".
//