summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Window_Driver.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Window_Driver.cxx b/src/Fl_Window_Driver.cxx
index b899c5e7d..cafce2628 100644
--- a/src/Fl_Window_Driver.cxx
+++ b/src/Fl_Window_Driver.cxx
@@ -191,6 +191,7 @@ int Fl_Window_Driver::hide_common() {
void Fl_Window_Driver::use_border() {
if (shown()) {
pWindow->hide(); // hide and then show to reflect the new state of the window border
+ pWindow->force_position(1);
pWindow->show();
}
}