From 322b62a9f126987914193dedbc892b8e5c17f453 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 28 Jun 2017 13:33:53 +0000 Subject: HiDPI support: keep window's cursor after rescaling. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12275 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx') diff --git a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx index b81a520d1..af5a04b6e 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx +++ b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx @@ -47,6 +47,8 @@ Fl_WinAPI_Window_Driver::Fl_WinAPI_Window_Driver(Fl_Window *win) { icon_ = new icon_data; memset(icon_, 0, sizeof(icon_data)); + cursor = NULL; + current_cursor_ = FL_CURSOR_DEFAULT; } -- cgit v1.2.3