summaryrefslogtreecommitdiff
path: root/src/Fl_grab.cxx
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>1999-04-10 08:09:39 +0000
committerBill Spitzak <spitzak@gmail.com>1999-04-10 08:09:39 +0000
commitfa29bbdc0f872bb739754ced1893e3529e9d9b12 (patch)
tree61dd838b5dcf9e59aa1f4014594bc5cf03bcb20b /src/Fl_grab.cxx
parent69302ebb675bfa241babf44b90dfb3d1c821728d (diff)
1. ~Fl_Widget(), Fl_Widget::hide(), and Fl_Widget::deactivate() no longer send
FL_LEAVE, FL_RELEASE, or FL_UNFOCUS events to the widget. This seems to be desirable behavior and fixes a crash in flwm. 2. After you show() a window, Fl::damage() should be true and remain true until the window is actually drawn and up to date. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@530 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_grab.cxx')
-rw-r--r--src/Fl_grab.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_grab.cxx b/src/Fl_grab.cxx
index 8626a7cf6..f6bfd5e30 100644
--- a/src/Fl_grab.cxx
+++ b/src/Fl_grab.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_grab.cxx,v 1.1 1999/02/03 08:43:33 bill Exp $"
+// "$Id: Fl_grab.cxx,v 1.1.2.1 1999/04/10 08:09:38 bill Exp $"
//
// Grab/release code for the Fast Light Tool Kit (FLTK).
//
@@ -35,7 +35,7 @@
// This also modifies how Fl_Window::show() works, on X it turns on
// override_redirect, it does similar things on WIN32.
-extern void fl_send_extra_move(); // in Fl.cxx
+extern void fl_fix_focus(); // in Fl.cxx
#ifdef WIN32
// We have to keep track of whether we have captured the mouse, since
@@ -83,11 +83,11 @@ void Fl::grab(Fl_Window* w) {
XFlush(fl_display);
#endif
grab_ = 0;
- fl_send_extra_move();
+ fl_fix_focus();
}
}
}
//
-// End of "$Id: Fl_grab.cxx,v 1.1 1999/02/03 08:43:33 bill Exp $".
+// End of "$Id: Fl_grab.cxx,v 1.1.2.1 1999/04/10 08:09:38 bill Exp $".
//