Replaced call to Fl_Window::resize() by call to Fl_Widget::position() that is enough.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10952 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy
2015-12-08 09:39:42 +00:00
parent ade095f240
commit 4bc4736eb7
+1 -1
View File
@@ -46,7 +46,7 @@ public:
else if (event == FL_DRAG) {
int deltax = Fl::event_x_root() - fromx;
int deltay = Fl::event_y_root() - fromy;
window()->resize(winx + deltax, winy + deltay, window()->w(), window()->h());
window()->position(winx + deltax, winy + deltay);
return 1;
}
return Fl_Box::handle(event);