diff options
| author | Victor Kareh <[email protected]> | 2026-03-20 22:01:08 -0400 |
|---|---|---|
| committer | Luke from DC <[email protected]> | 2026-03-22 20:31:41 +0000 |
| commit | aa050e5eca6e7720c355ccd24ad6ca6c1068ff3c (patch) | |
| tree | f8814cd240fe8a0b3d8c5f7ee8627ef2da2b58a9 | |
| parent | 68663596ba6c6dcd3a2755b257c66e7ed8200c3d (diff) | |
| download | mate-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
| -rw-r--r-- | src/themes/coco/coco-theme.c | 1 | ||||
| -rw-r--r-- | src/themes/nodoka/nodoka-theme.c | 1 | ||||
| -rw-r--r-- | src/themes/slider/theme.c | 1 |
3 files changed, 3 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 diff --git a/src/themes/nodoka/nodoka-theme.c b/src/themes/nodoka/nodoka-theme.c index d478862..8600d60 100644 --- a/src/themes/nodoka/nodoka-theme.c +++ b/src/themes/nodoka/nodoka-theme.c @@ -594,6 +594,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 diff --git a/src/themes/slider/theme.c b/src/themes/slider/theme.c index 4552af0..7672a8d 100644 --- a/src/themes/slider/theme.c +++ b/src/themes/slider/theme.c @@ -211,6 +211,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 paint_window (GtkWidget *widget, |
