[PR #234] [MERGED] CtrlCore: Fix default window size when CSD is enable #255

Closed
opened 2026-05-05 03:44:07 -06:00 by gitea-mirror · 0 comments
Owner

📋 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: masterHead: klugier/wayland-fix-csd-default-window-size


📝 Commits (1)

  • 0d7dacd CtrlCore: 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.

## 📋 Pull Request Information **Original PR:** https://github.com/ultimatepp/ultimatepp/pull/234 **Author:** [@klugier](https://github.com/klugier) **Created:** 2/17/2025 **Status:** ✅ Merged **Merged:** 2/17/2025 **Merged by:** [@mirek-fidler](https://github.com/mirek-fidler) **Base:** `master` ← **Head:** `klugier/wayland-fix-csd-default-window-size` --- ### 📝 Commits (1) - [`0d7dacd`](https://github.com/ultimatepp/ultimatepp/commit/0d7dacd2711488c3c0ffb3faea75be654e80a049) CtrlCore: Fix default window size when CSD is enable. ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `uppsrc/CtrlCore/GtkCreate.cpp` (+2 -1) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 03:44:07 -06:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/ultimatepp#255
No description provided.