diff options
author | lukefromdc <[email protected]> | 2016-12-23 00:39:04 -0500 |
---|---|---|
committer | monsta <[email protected]> | 2017-01-23 16:33:21 +0300 |
commit | 012ff8fb24ef525561c455b5865e39481eacfc17 (patch) | |
tree | f14b579a28a4b7bb7a7686d9f5fcd80b55b68545 | |
parent | d6bbfd16df54df11b93992f47f13a957fbb4e01a (diff) | |
download | mate-settings-daemon-012ff8fb24ef525561c455b5865e39481eacfc17.tar.bz2 mate-settings-daemon-012ff8fb24ef525561c455b5865e39481eacfc17.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
-rw-r--r-- | plugins/common/msd-osd-window.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |