Wayland: Fix resize of menutitle windows when across 2 screens with diverse scaling.

This commit is contained in:
ManoloFLTK 2026-03-18 10:14:19 +01:00
parent 6270570bd6
commit 91b0f53d34

View File

@ -737,7 +737,7 @@ static void surface_enter(void *data, struct wl_surface *wl_surface,
while (e->next != &window->outputs) e = e->next; // move e to end of linked list
wl_list_insert(e, &surface_output->link);
//printf("window %p enters screen id=%d length=%d\n", window->fl_win, output->id, wl_list_length(&window->outputs));
if (list_was_empty && !window->fl_win->parent()) {
if (list_was_empty && !window->fl_win->parent() && !window->fl_win->menu_window()) {
change_scale(output, window, 0);
}
}