diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 7a6b00f8f..cea92d791 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -36,7 +36,6 @@ # include # include # include -# include # include # include # include @@ -2329,10 +2328,6 @@ void Fl_X11_Window_Driver::resize(int X,int Y,int W,int H) { float s = Fl::screen_driver()->scale(screen_num()); cairo_xlib_surface_set_size(cairo_get_target(xlib_cairo_), (W>0 ? int(W*s) : 1), (H>0 ? int(H*s) : 1)); } - if (other_xid) { - delete other_xid; - other_xid = NULL; - } #endif pWindow->redraw(); }