summaryrefslogtreecommitdiff
path: root/plugins/common
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2016-12-23 00:39:04 -0500
committerlukefromdc <[email protected]>2016-12-23 00:39:04 -0500
commit9aa4c4e379e71ebe8436898a3af61c4c96c9cc8a (patch)
tree9964c3c39f36e81791aa18d7b1cf7291347f9a96 /plugins/common
parent5d580b9985b61a486c8d23eaa34091a14d01b9e0 (diff)
downloadmate-settings-daemon-9aa4c4e379e71ebe8436898a3af61c4c96c9cc8a.tar.bz2
mate-settings-daemon-9aa4c4e379e71ebe8436898a3af61c4c96c9cc8a.tar.xz
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
Diffstat (limited to 'plugins/common')
-rw-r--r--plugins/common/msd-osd-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/common/msd-osd-window.c b/plugins/common/msd-osd-window.c
index d50adb8..03e1ec3 100644
--- a/plugins/common/msd-osd-window.c
+++ b/plugins/common/msd-osd-window.c
@@ -211,6 +211,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,