summaryrefslogtreecommitdiff
path: root/src/Fl_win32.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2026-01-19 11:08:29 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2026-01-19 11:08:29 +0100
commit59d93554b3aff9614276fec99792807d77b24ee5 (patch)
treee1e95a2b0ffa5d4754557e93b0fcf4f58a0f8603 /src/Fl_win32.cxx
parentbde474e0af2027506a0a3de981d03d93433de2b5 (diff)
Windows: error dragging window between differently scaled display - cont'd (#1127)
Diffstat (limited to 'src/Fl_win32.cxx')
-rw-r--r--src/Fl_win32.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx
index 52b3af305..a10339ab7 100644
--- a/src/Fl_win32.cxx
+++ b/src/Fl_win32.cxx
@@ -1802,10 +1802,6 @@ content key keyboard layout
if (news == -1)
news = olds;
scale = sd->scale(news);
- if (olds != news) {
- wd->screen_num(news);
- if (window->as_gl_window()) invalidate_gl_win(window);
- }
wd->x(int(round(nx/scale)));
wd->y(int(round(ny/scale)));
}