Windows: error dragging window between differently scaled display - cont'd (#1127)
This commit is contained in:
parent
bde474e0af
commit
59d93554b3
@ -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)));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user