Patch to Bill's patch.
git-svn-id: file:///fltk/svn/fltk/trunk@175 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
3b1a191025
commit
0c2f043ea0
@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// "$Id: Fl_x.cxx,v 1.16 1998/12/29 14:07:14 mike Exp $"
|
// "$Id: Fl_x.cxx,v 1.17 1998/12/29 14:08:07 mike Exp $"
|
||||||
//
|
//
|
||||||
// X specific code for the Fast Light Tool Kit (FLTK).
|
// X specific code for the Fast Light Tool Kit (FLTK).
|
||||||
//
|
//
|
||||||
@ -472,6 +472,7 @@ int fl_handle(const XEvent& xevent)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case EnterNotify:
|
case EnterNotify:
|
||||||
|
if (xevent.xcrossing.detail == NotifyInferior) break;
|
||||||
// XInstallColormap(fl_display, Fl_X::i(window)->colormap);
|
// XInstallColormap(fl_display, Fl_X::i(window)->colormap);
|
||||||
set_event_xy(window);
|
set_event_xy(window);
|
||||||
Fl::e_state = xevent.xcrossing.state << 16;
|
Fl::e_state = xevent.xcrossing.state << 16;
|
||||||
@ -479,6 +480,7 @@ int fl_handle(const XEvent& xevent)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case LeaveNotify:
|
case LeaveNotify:
|
||||||
|
if (xevent.xcrossing.detail == NotifyInferior) break;
|
||||||
set_event_xy(window);
|
set_event_xy(window);
|
||||||
Fl::e_state = xevent.xcrossing.state << 16;
|
Fl::e_state = xevent.xcrossing.state << 16;
|
||||||
event = FL_LEAVE;
|
event = FL_LEAVE;
|
||||||
@ -816,5 +818,5 @@ void Fl_Window::make_current() {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// End of "$Id: Fl_x.cxx,v 1.16 1998/12/29 14:07:14 mike Exp $".
|
// End of "$Id: Fl_x.cxx,v 1.17 1998/12/29 14:08:07 mike Exp $".
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user