mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Merge branch 'lcrippa-gtk-3-24-patch-37647' into 'gtk-3-24'
fix gtk-shell protocol handling See merge request GNOME/gtk!6803
This commit is contained in:
commit
2b054f3edc
@ -1048,8 +1048,9 @@ set_capability_setting (GdkScreen *screen,
|
||||
enum gtk_shell1_capability test)
|
||||
{
|
||||
GdkWaylandScreen *wayland_screen = GDK_WAYLAND_SCREEN (screen);
|
||||
int testbit = 1 << (test - 1);
|
||||
|
||||
g_value_set_boolean (value, (wayland_screen->shell_capabilities & test) == test);
|
||||
g_value_set_boolean (value, (wayland_screen->shell_capabilities & testbit) == testbit);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user