diff options
| -rw-r--r-- | src/Fl_x.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 1da68a139..77431676b 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -1074,7 +1074,7 @@ int fl_handle(const XEvent& thisevent) Fl::handle(FL_CLOSE, window); Fl_X* X = Fl_X::i(window); if (X) { // indicates the FLTK window was not closed - X->xid = NULL; // indicates the X11 window was already destroyed + X->xid = (Window)0; // indicates the X11 window was already destroyed window->hide(); int oldx = window->x(), oldy = window->y(); window->position(0, 0); |
