summaryrefslogtreecommitdiff
path: root/src/Fl.cxx
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>1999-04-23 06:55:53 +0000
committerBill Spitzak <spitzak@gmail.com>1999-04-23 06:55:53 +0000
commit349f047032ccb783a2345b1c8ae63e2e2e7f3786 (patch)
treeaa63cb6392029dc1831d1d4dc4422a13d24bb8cc /src/Fl.cxx
parent2f22abf4e2713eee5a4bf199cd86cd807e08e4fd (diff)
Keypad should produce correct symbols on Brazilian (and any other)
keyboard when NumLock is on. Also added some explanatory comments to the source code. Some pointers were not being turned off when widgets were deleted, this caused flwm to crash. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@553 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl.cxx')
-rw-r--r--src/Fl.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx
index df51ed702..6477fc92a 100644
--- a/src/Fl.cxx
+++ b/src/Fl.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl.cxx,v 1.24.2.4 1999/04/17 01:02:28 bill Exp $"
+// "$Id: Fl.cxx,v 1.24.2.5 1999/04/23 06:55:52 bill Exp $"
//
// Main event handling code for the Fast Light Tool Kit (FLTK).
//
@@ -407,6 +407,8 @@ void fl_throw_focus(Fl_Widget *o) {
#endif
if (o->contains(Fl::belowmouse())) Fl::belowmouse_ = 0;
if (o->contains(Fl::focus())) Fl::focus_ = 0;
+ if (o == fl_xfocus) fl_xfocus = 0;
+ if (o == fl_xmousewin) fl_xmousewin = 0;
fl_fix_focus();
}
@@ -696,5 +698,5 @@ int fl_old_shortcut(const char* s) {
}
//
-// End of "$Id: Fl.cxx,v 1.24.2.4 1999/04/17 01:02:28 bill Exp $".
+// End of "$Id: Fl.cxx,v 1.24.2.5 1999/04/23 06:55:52 bill Exp $".
//