Skip to content

wlserver: answer xdg_toplevel maximize/fullscreen - #2535

Open
eerii wants to merge 1 commit into
ValveSoftware:masterfrom
eerii:xdg-toplevel-maximize
Open

eerii wants to merge 1 commit into
ValveSoftware:masterfrom
eerii:xdg-toplevel-maximize

Conversation

@eerii

@eerii eerii commented Nov 3, 2026

Copy link
Copy Markdown

Native Wayland clients get no answer to xdg_toplevel.set_maximize and set_fullscreen, so they never receive a configure. GTK3 apps like Firefox stay at their old size.

Now we listen for both requests and configures the toplevel to the output size, clearing them configures 0x0 so the client picks its own size. The preinitialized case fills the initial scheduled state instead of scheduling a second configure.

This is the Wayland counterpart to #2322 and #2533 (that one handles X11 _NET_WM_STATE).

Before Maximize Fullscreen
2026-11-03 02-08-10 2026-11-03 02-08-07 2026-11-03 02-08-19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant