Skip to content

Resize the server-side decoration when a view is mapped. - #3134

Open
mrsteve0924 wants to merge 1 commit into
WayfireWM:masterfrom
mrsteve0924:x11-title-bar
Open

mrsteve0924 wants to merge 1 commit into
WayfireWM:masterfrom
mrsteve0924:x11-title-bar

Conversation

@mrsteve0924

Copy link
Copy Markdown
Contributor

Some XWayland views can reach their final geometry without emitting a geometry-changed signal after the decorator is created. In that case the decoration node can remain at its initial small size until another event, such as a workspace change or window move, triggers a resize.

Resize the decorator on view map so it uses the view's final geometry immediately.

Assisted-by: ChatGPT:GPT-5.6 Sol
Signed-off-by: steve finkel mrsteve0924@verizon.net

Some XWayland views can reach their final geometry without emitting a
geometry-changed signal after the decorator is created. In that case the
decoration node can remain at its initial small size until another event,
such as a workspace change or window move, triggers a resize.

Resize the decorator on view map so it uses the view's final geometry
immediately.

Assisted-by: ChatGPT:GPT-5.6 Sol
Signed-off-by: steve finkel mrsteve0924@verizon.net
@mrsteve0924

Copy link
Copy Markdown
Contributor Author

this addresses issue #3099

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