Blame SOURCES/fltk-1.3.x-resize-expose.patch

ceac5b
diff -up fltk-1.3.0r9619/src/Fl_x.cxx.expose fltk-1.3.0r9619/src/Fl_x.cxx
ceac5b
--- fltk-1.3.0r9619/src/Fl_x.cxx.expose	2012-07-05 09:49:55.466925868 +0200
ceac5b
+++ fltk-1.3.0r9619/src/Fl_x.cxx	2012-07-05 09:50:24.159428363 +0200
ceac5b
@@ -1838,14 +1838,13 @@ int fl_handle(const XEvent& thisevent)
ceac5b
 void Fl_Window::resize(int X,int Y,int W,int H) {
ceac5b
   int is_a_move = (X != x() || Y != y());
ceac5b
   int is_a_resize = (W != w() || H != h());
ceac5b
-  int is_a_enlarge = (W > w() || H > h());
ceac5b
   int resize_from_program = (this != resize_bug_fix);
ceac5b
   if (!resize_from_program) resize_bug_fix = 0;
ceac5b
   if (is_a_move && resize_from_program) set_flag(FORCE_POSITION);
ceac5b
   else if (!is_a_resize && !is_a_move) return;
ceac5b
   if (is_a_resize) {
ceac5b
     Fl_Group::resize(X,Y,W,H);
ceac5b
-    if (shown()) {redraw(); if(is_a_enlarge) i->wait_for_expose = 1;}
ceac5b
+    if (shown()) redraw();
ceac5b
   } else {
ceac5b
     x(X); y(Y);
ceac5b
   }