diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2008-04-12 19:16:19 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2008-04-12 19:16:19 +0000 |
| commit | 232ef4e1599b22e6d1426147ea594193d64f01a1 (patch) | |
| tree | a354473490f0059350b0687ffd658a90f71a0cfd /fluid/Fl_Window_Type.cxx | |
| parent | 97b806e5800da62734ba2913881d96a353e3e313 (diff) | |
Updated 1.3 with changes from 1.1.9
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6099 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Window_Type.cxx')
| -rw-r--r-- | fluid/Fl_Window_Type.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/fluid/Fl_Window_Type.cxx b/fluid/Fl_Window_Type.cxx index 36a7338c9..d0849d9da 100644 --- a/fluid/Fl_Window_Type.cxx +++ b/fluid/Fl_Window_Type.cxx @@ -501,9 +501,15 @@ Fl_Window_Type Fl_Window_type; // Resize from window manager... void Overlay_Window::resize(int X,int Y,int W,int H) { Fl_Widget* t = resizable(); resizable(0); + + // do not set the mod flag if the window was not resized. In FLUID, all + // windows are opened without a given x/y position, so modifying x/y + // should not mark the project as dirty + if (W!=w() || H!=h()) + set_modflag(1); + Fl_Overlay_Window::resize(X,Y,W,H); resizable(t); - set_modflag(1); update_xywh(); } |
