Skip to content

desktop: Fix desktop window position with client-side decorations - #3896

Closed
City-busz wants to merge 1 commit into
linuxmint:masterfrom
City-busz:csd-window-position
Closed

City-busz wants to merge 1 commit into
linuxmint:masterfrom
City-busz:csd-window-position

Conversation

@City-busz

@City-busz City-busz commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Update the desktop window geometry after disabling decorations to ensure the window is correctly positioned when GTK client-side decorations are enabled.

This fixes the desktop window being positioned at negative coordinates on X11 when GTK_CSD=1 is used.

Update the desktop window geometry after disabling decorations to ensure
the window is correctly positioned when GTK client-side decorations are
enabled.

This fixes the desktop window being positioned at negative coordinates
on X11 when GTK_CSD=1 is used.
@mtwebster

Copy link
Copy Markdown
Member

Why would GTK_CSD=1 be ever be used?

There's no point to this.

@mtwebster mtwebster closed this Nov 18, 2026
@City-busz

Copy link
Copy Markdown
Contributor Author

GTK_CSD=1 allows users to explicitly prefer client-side decorations on X11, rather than relying on GTK's default behavior. Some users prefer CSD for consistency across applications or simply as a matter of personal preference. I think this is a valid configuration, and window positioning should work correctly in this case as well.

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.

2 participants