mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
Merge branch 'matthiasc/for-main' into 'main'
wayland: Fix gtk-shell protocol handling See merge request GNOME/gtk!6236
This commit is contained in:
commit
a8d092f978
@ -2185,8 +2185,9 @@ set_capability_setting (GdkDisplay *display,
|
||||
enum gtk_shell1_capability test)
|
||||
{
|
||||
GdkWaylandDisplay *display_wayland = GDK_WAYLAND_DISPLAY (display);
|
||||
int testbit = 1 << (test - 1);
|
||||
|
||||
g_value_set_boolean (value, (display_wayland->shell_capabilities & test) == test);
|
||||
g_value_set_boolean (value, (display_wayland->shell_capabilities & testbit) == testbit);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user