From e86bbe4be86aa27b71de90b0f8f7ebe8ba5cc7f2 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Mon, 23 May 2011 19:40:23 +0000 Subject: [PATCH] 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 --- src/Fl_x.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);