summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2011-05-23 19:40:23 +0000
committerManolo Gouy <Manolo>2011-05-23 19:40:23 +0000
commite86bbe4be86aa27b71de90b0f8f7ebe8ba5cc7f2 (patch)
treeeddf30b5bce0484130d940096c5bf87bbf41f5ed /src
parent4bea46c1ce07333d06360137991a4ea1aa114f56 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/Fl_x.cxx2
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);