Windows: error dragging window between differently scaled display - cont'd (#1127)

This commit is contained in:
ManoloFLTK 2026-01-19 11:08:29 +01:00
parent bde474e0af
commit 59d93554b3

View File

@ -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)));
}