Transmit to branch 1.3-porting a recent change committed in branch 1.3

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11108 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2016-02-01 17:27:59 +00:00
parent 6f799cb648
commit 6547214755

View File

@ -2829,7 +2829,7 @@ void copyFront(Fl_Widget *o, void *data)
o->window()->hide();
Fl_Window *win = Fl::first_window();
if (!win) return;
Fl_Copy_Surface *surf = new Fl_Copy_Surface(win->decorated_w() + 1, (int)(win->decorated_h() *0.985));
Fl_Copy_Surface *surf = new Fl_Copy_Surface(win->decorated_w(), win->decorated_h());
surf->set_current();
surf->draw_decorated_window(win); // draw the window content
delete surf; // put the window on the clipboard