Removes a compilation warning because of use of X->xid = NULL

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8730 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2011-05-23 19:40:23 +00:00
parent 4bea46c1ce
commit e86bbe4be8

View File

@ -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);