Tiny change to keep overzealous Fluid from marking a scene graph as modified when moving a top-level window. Not added to CHANGES because this is so minor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6097 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
8d57d42b7f
commit
fbb95422d8
@ -503,7 +503,11 @@ void Overlay_Window::resize(int X,int Y,int W,int H) {
|
||||
Fl_Widget* t = resizable(); resizable(0);
|
||||
Fl_Overlay_Window::resize(X,Y,W,H);
|
||||
resizable(t);
|
||||
set_modflag(1);
|
||||
// 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);
|
||||
update_xywh();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user