Skip to content
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

Patch to allow configuring Wayland 'gtk-dialogs-use-header' #93

Merged
merged 3 commits into from Mar 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ source=(
settings.ini
"gtk-query-immodules-3.0.hook::https://raw.githubusercontent.com/archlinux/svntogit-packages/$__arch_pkg_commit/trunk/gtk-query-immodules-3.0.hook"
)
sha256sums=('859b18399619d3767333198d519baabfa254e70a6d016bd0a2cfe06928fce9fe'
sha256sums=('81ce7c0fa7c1daa22ab377c995759f8a011b167c41442b4edd966ebecbc00701'
'6de32e1bee6bf4307aaec072fc8431b044e73299720a490298b8c1b7c502e039'
'9785368d56b851e52de00eec852fc56f636dbc66d53c74d9b102e7c060f69533'
'760bd3d65b3c5c0be19311d3b9d2be1f33c3bec198bc470de5afe23f5d488b8f'
Expand Down
17 changes: 17 additions & 0 deletions fixes__wayland_dialogs_header_setting.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Index: gtk3/gdk/wayland/gdkscreen-wayland.c
===================================================================
--- gtk3.orig/gdk/wayland/gdkscreen-wayland.c
+++ gtk3/gdk/wayland/gdkscreen-wayland.c
@@ -1087,12 +1087,6 @@ gdk_wayland_screen_get_setting (GdkScree
return set_capability_setting (screen, value,
GTK_SHELL1_CAPABILITY_DESKTOP_ICONS);

- if (strcmp (name, "gtk-dialogs-use-header") == 0)
- {
- g_value_set_boolean (value, TRUE);
- return TRUE;
- }
-
if (strcmp (name, "gtk-fontconfig-timestamp") == 0)
{
g_value_set_uint (value, wayland_screen->dbus_settings.fontconfig_timestamp);
1 change: 1 addition & 0 deletions series
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ file-chooser__places-sidebar.patch
file-chooser__typeahead.patch
fixes__labels-wrapping.patch
#fixes__too-large-menu-covers-bar.patch
fixes__wayland_dialogs_header_setting.patch
other__default-settings.patch
other__hide-insert-emoji.patch
other__mnemonics-delay.patch
Expand Down