mirror of
https://github.com/fltk/fltk.git
synced 2026-05-31 22:04:26 +08:00
Windows: error dragging window between differently scaled display - cont'd (#1127)
This commit is contained in:
@@ -1802,10 +1802,6 @@ content key keyboard layout
|
|||||||
if (news == -1)
|
if (news == -1)
|
||||||
news = olds;
|
news = olds;
|
||||||
scale = sd->scale(news);
|
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->x(int(round(nx/scale)));
|
||||||
wd->y(int(round(ny/scale)));
|
wd->y(int(round(ny/scale)));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user