summaryrefslogtreecommitdiff
path: root/src/Fl_Screen_Driver.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2017-06-28 15:15:34 +0000
committerManolo Gouy <Manolo>2017-06-28 15:15:34 +0000
commit582701ba07b1c4f61771dbc1d9d93ba02abbe5e6 (patch)
treebf1467edf818881c3d8a9f16615fb9254c3e3b66 /src/Fl_Screen_Driver.cxx
parent322b62a9f126987914193dedbc892b8e5c17f453 (diff)
HiDPI support: keep window's icons after rescaling
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12276 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Screen_Driver.cxx')
-rw-r--r--src/Fl_Screen_Driver.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Screen_Driver.cxx b/src/Fl_Screen_Driver.cxx
index 811dd1c34..29fcffd14 100644
--- a/src/Fl_Screen_Driver.cxx
+++ b/src/Fl_Screen_Driver.cxx
@@ -375,6 +375,7 @@ void Fl_Screen_Driver::rescale_all_windows_from_screen(int screen, float f)
}
win->show();
win->driver()->reuse_cursor(current);
+ win->driver()->reuse_icons();
win->wait_for_expose();
}
delete[] win_array;