mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 13:40:31 +00:00
gtkwidget: Fix a typo preventing the CSD input shape from applying
We were setting "csd-shade" but reading from "csd-region".
This commit is contained in:
parent
8ec72dd2b1
commit
579c7f80a0
@ -12972,9 +12972,9 @@ gtk_widget_set_csd_input_shape (GtkWidget *widget,
|
||||
const cairo_region_t *region)
|
||||
{
|
||||
if (region == NULL)
|
||||
g_object_set_data (G_OBJECT (widget), "csd-shade", NULL);
|
||||
g_object_set_data (G_OBJECT (widget), "csd-region", NULL);
|
||||
else
|
||||
g_object_set_data_full (G_OBJECT (widget), "csd-shade",
|
||||
g_object_set_data_full (G_OBJECT (widget), "csd-region",
|
||||
cairo_region_copy (region),
|
||||
(GDestroyNotify) cairo_region_destroy);
|
||||
gtk_widget_update_input_shape (widget);
|
||||
|
Loading…
Reference in New Issue
Block a user