From 82e02270ee0dfa5e77ec2985613a3030a9ecf246 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 17 Mar 2026 20:46:45 +0100 Subject: [PATCH] X11: Fix resize of menutitle windows when across 2 screens with diverse scaling --- src/Fl_x.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 351a0bb4e..482e26708 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -2242,7 +2242,7 @@ int fl_handle(const XEvent& thisevent) resize_bug_fix = window; #if USE_XFT 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));