summaryrefslogtreecommitdiff
path: root/src/themes/coco
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2026-03-20 22:01:08 -0400
committerLuke from DC <[email protected]>2026-03-22 20:31:41 +0000
commitaa050e5eca6e7720c355ccd24ad6ca6c1068ff3c (patch)
treef8814cd240fe8a0b3d8c5f7ee8627ef2da2b58a9 /src/themes/coco
parent68663596ba6c6dcd3a2755b257c66e7ed8200c3d (diff)
downloadmate-notification-daemon-aa050e5eca6e7720c355ccd24ad6ca6c1068ff3c.tar.bz2
mate-notification-daemon-aa050e5eca6e7720c355ccd24ad6ca6c1068ff3c.tar.xz
themes: fix rounded corners not showing without compositor
When compositing is disabled, notifications have a rounded shape mask applied but it's not redrawn. This change queues a redraw after applying the shape region so the notification shows rounded corners. Fixes #98
Diffstat (limited to 'src/themes/coco')
-rw-r--r--src/themes/coco/coco-theme.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/themes/coco/coco-theme.c b/src/themes/coco/coco-theme.c
index ff76d52..b131283 100644
--- a/src/themes/coco/coco-theme.c
+++ b/src/themes/coco/coco-theme.c
@@ -249,6 +249,7 @@ update_shape_region (cairo_surface_t *surface,
windata->last_width = windata->width;
windata->last_height = windata->height;
+ gtk_widget_queue_draw (GTK_WIDGET (windata->win));
}
static void