X11: Fix resize of menutitle windows when across 2 screens with diverse scaling
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled

This commit is contained in:
dannye
2026-03-17 13:36:53 -05:00
committed by ManoloFLTK
parent 7263bc7baa
commit 49359d1cdc
+2 -1
View File
@@ -2247,7 +2247,8 @@ int fl_handle(const XEvent& thisevent)
resize_bug_fix = window;
#if USE_XFT || FLTK_USE_CAIRO
if (!Fl_X11_Window_Driver::data_for_resize_window_between_screens_.busy &&
( ceil(W/s) != window->w() || ceil(H/s) != window->h() ) ) {
( ceil(W/s) != window->w() || ceil(H/s) != window->h() ) &&
!window->menu_window()) {
window->resize(rint(X/s), rint(Y/s), ceil(W/s), ceil(H/s));
} else {
window->position(rint(X/s), rint(Y/s));