From 012ff8fb24ef525561c455b5865e39481eacfc17 Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Fri, 23 Dec 2016 00:39:04 -0500 Subject: OSD: Add style class for noncomposited case Add style class msd-osd-window-solid when and only when a noncomposited window manager is in use --- plugins/common/msd-osd-window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/common/msd-osd-window.c b/plugins/common/msd-osd-window.c index 739a3b6..bcd565d 100644 --- a/plugins/common/msd-osd-window.c +++ b/plugins/common/msd-osd-window.c @@ -366,6 +366,7 @@ draw_when_not_composited (GtkWidget *widget, cairo_t *cr) context = gtk_widget_get_style_context (widget); gtk_style_context_set_state (context, GTK_STATE_FLAG_ACTIVE); + gtk_style_context_add_class(context,"msd-osd-window-solid"); gtk_render_frame (context, cr, 0, -- cgit v1.2.1