-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gtk(wayland): implement server-sided decorations #4724
Merged
Merged
+293
−75
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jcollie
suggested changes
Jan 6, 2025
pluiedev
force-pushed
the
push-xlsyxlkuzpqk
branch
4 times, most recently
from
January 8, 2025 13:41
4c235dd
to
7eaed4c
Compare
pluiedev
force-pushed
the
push-xlsyxlkuzpqk
branch
2 times, most recently
from
January 10, 2025 19:32
8216fce
to
0eed411
Compare
mitchellh
added a commit
that referenced
this pull request
Jan 10, 2025
There's one behavioral change here. Before this patch, if `gtk-titlebar=false` we _never_ created a headerbar. This explicitly contradicted the comments in the source, and the documentation for `gtk-titlebar` imply that if a window starts out without a titlebar it can be brought back later with the `toggle_window_decorations` keybind action. After this patch, a headerbar is always created, but if `gtk-titlebar=false` or `window-decoration=false` it's immediately hidden. I'm not sure how this interacts with the current SSD/CSD detection that seems to happen when running Ghostty on non-Gnome DEs so it'll be important to get #4724 merged (plus any follow ups) to enable more explicit control of SSD/CSD.
pluiedev
force-pushed
the
push-xlsyxlkuzpqk
branch
from
January 12, 2025 19:48
0eed411
to
17be1a4
Compare
pluiedev
force-pushed
the
push-xlsyxlkuzpqk
branch
from
January 13, 2025 09:26
17be1a4
to
88d5fa3
Compare
Alright I got KDE setup (optionally) in my NixOS environment, so I'm going to pull this down and hack on it soon. |
mitchellh
force-pushed
the
push-xlsyxlkuzpqk
branch
from
January 14, 2025 16:58
88d5fa3
to
76e7521
Compare
mitchellh
force-pushed
the
push-xlsyxlkuzpqk
branch
2 times, most recently
from
January 14, 2025 17:47
cab370a
to
6b989a4
Compare
Made some changes:
|
mitchellh
force-pushed
the
push-xlsyxlkuzpqk
branch
from
January 14, 2025 17:52
6b989a4
to
c61d646
Compare
mitchellh
force-pushed
the
push-xlsyxlkuzpqk
branch
from
January 14, 2025 17:58
c61d646
to
4e0d9b1
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #4630 fully unless there exists an X11 API I haven't found yet :p
Depends on first commit of #4723, which is duplicated here for now