From 49359d1cdc220101058ba4b15dba23e3744b095b Mon Sep 17 00:00:00 2001 From: dannye <33dannye@gmail.com> Date: Tue, 17 Mar 2026 13:36:53 -0500 Subject: [PATCH] X11: Fix resize of menutitle windows when across 2 screens with diverse scaling --- src/Fl_x.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 4fd4831db..f88f6eebe 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -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));