Wayland: Fix resize of menutitle windows when across 2 screens with diverse scaling.
This commit is contained in:
parent
4da0e2a3f8
commit
db50e57390
@ -30,7 +30,7 @@ Changes in FLTK 1.4.5 Released: xxx xx 2026
|
||||
- Wayland: don't call non-public libdecor_frame_get_content_{width,height} (#1296)
|
||||
- Wayland: Some shortcut keys not delivered when input widget has focus (#1290)
|
||||
- X11: Restore use of menubar at top of fullscreen window
|
||||
- X11: Fix resize of menutitle windows when across 2 screens with diverse scaling
|
||||
- X11/Wayland: Fix resize of menutitle windows when across 2 screens with diverse scaling
|
||||
- Fix: Underline does not appear in some fonts and scales (#1308)
|
||||
- Fix "New Wayland subwindow code creates issues with resizes of opengl
|
||||
windows…" (#1311)
|
||||
|
||||
@ -723,7 +723,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) {
|
||||
if (list_was_empty && !window->fl_win->parent() && !window->fl_win->menu_window()) {
|
||||
change_scale(output, window, pre_scale);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user