summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-02-16 22:15:47 +0000
committerManolo Gouy <Manolo>2016-02-16 22:15:47 +0000
commitc5994ebb6f319583ab08dac090d9391c799931b9 (patch)
tree498abad926875641b252c0196fc708fa2b03256a /src
parent4bdfc28670eb41185480e1a980a3b68ac15da4d5 (diff)
Fix drawing of window decoration.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11183 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Paged_Device.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_Paged_Device.cxx b/src/Fl_Paged_Device.cxx
index becd43a85..76637d787 100644
--- a/src/Fl_Paged_Device.cxx
+++ b/src/Fl_Paged_Device.cxx
@@ -310,15 +310,15 @@ void Fl_Paged_Device::draw_decorated_window(Fl_Window *win, int x_offset, int y_
top->release();
}
if (left) {
- left->draw(x_offset, y_offset);
+ left->draw(x_offset, y_offset + toph);
left->release();
}
if (right) {
- right->draw(x_offset, y_offset);
+ right->draw(x_offset + wsides + win->w(), y_offset + toph);
right->release();
}
if (bottom) {
- bottom->draw(x_offset, y_offset);
+ bottom->draw(x_offset, y_offset + toph + win->h());
bottom->release();
}
this->print_widget(win, x_offset + wsides, y_offset + toph);