mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
[PR #234] [MERGED] CtrlCore: Fix default window size when CSD is enable #255
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ultimatepp#255
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ultimatepp/ultimatepp/pull/234
Author: @klugier
Created: 2/17/2025
Status: ✅ Merged
Merged: 2/17/2025
Merged by: @mirek-fidler
Base:
master← Head:klugier/wayland-fix-csd-default-window-size📝 Commits (1)
0d7dacdCtrlCore: Fix default window size when CSD is enable.📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
uppsrc/CtrlCore/GtkCreate.cpp(+2 -1)📄 Description
It looks like the initial window size is too big for window with CSD enable. In order to avoid that we need to remove extra width and height added by CSD.
top->csd.ExtraWidth() is not within LSC, because this value was normalized in GtkCSD::Create.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.