Skip to content

Commit

Permalink
Fixed event propragation for subwindows (from Bill).
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/trunk@171 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
michaelrsweet committed Dec 29, 1998
1 parent a35b738 commit 434609a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions 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).
//
Expand Down Expand Up @@ -454,15 +454,13 @@ 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;
event = FL_ENTER;
break;

case LeaveNotify:
if (xevent.xcrossing.detail == NotifyInferior) break;
set_event_xy(window);
Fl::e_state = xevent.xcrossing.state << 16;
event = FL_LEAVE;
Expand Down Expand Up @@ -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 $".
//

0 comments on commit 434609a

Please sign in to comment.