summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_win32.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx
index f15fd4c09..439f06d8c 100644
--- a/src/Fl_win32.cxx
+++ b/src/Fl_win32.cxx
@@ -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