diff options
Diffstat (limited to 'src/drivers/X11')
| -rw-r--r-- | src/drivers/X11/Fl_X11_Window_Driver.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/drivers/X11/Fl_X11_Window_Driver.cxx b/src/drivers/X11/Fl_X11_Window_Driver.cxx index 1de2e5297..2ea16bf70 100644 --- a/src/drivers/X11/Fl_X11_Window_Driver.cxx +++ b/src/drivers/X11/Fl_X11_Window_Driver.cxx @@ -3,7 +3,7 @@ // // Definition of X11 window driver. // -// Copyright 1998-2018 by Bill Spitzak and others. +// Copyright 1998-2020 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -234,7 +234,8 @@ void Fl_X11_Window_Driver::flush_double(int erase_overlay) fl_window = i->xid; } if (erase_overlay) fl_clip_region(0); - int X,Y,W,H; fl_clip_box(0,0,w(),h(),X,Y,W,H); + int X = 0, Y = 0, W = 0, H = 0; + fl_clip_box(0, 0, w(), h(), X, Y, W, H); if (other_xid) fl_copy_offscreen(X, Y, W, H, other_xid, X, Y); } |
