summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2006-01-14 23:12:27 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2006-01-14 23:12:27 +0000
commit31700097b32494693a818941932c354c21e6da84 (patch)
tree50d6f5bef69df53347aadb4e37ac246378a76cf0 /src
parentc78a31ce3482609cb1873196517c23e871ff823b (diff)
Fix resizing of Windows (STR #1139)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4745 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Gl_Window.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx
index c1bdf056f..f3ae277b3 100644
--- a/src/Fl_Gl_Window.cxx
+++ b/src/Fl_Gl_Window.cxx
@@ -411,9 +411,11 @@ void Fl_Gl_Window::init() {
valid_ = 0;
damage1_ = 0;
+#if 0 // This breaks resizing on Linux/X11
int H = h();
h(1); // Make sure we actually do something in resize()...
resize(x(), y(), w(), H);
+#endif // 0
}
void Fl_Gl_Window::draw_overlay() {}