mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 02:50:41 -05:00
window-actor: Stop adding shadows to windows with frames
The frame decorations can pick up the shadow as defined by the GTK+ theme. https://bugzilla.gnome.org/show_bug.cgi?id=744667
This commit is contained in:
parent
45a273de20
commit
42ecde5f38
@ -857,11 +857,11 @@ meta_window_actor_has_shadow (MetaWindowActor *self)
|
||||
return FALSE;
|
||||
|
||||
/*
|
||||
* Always put a shadow around windows with a frame - This should override
|
||||
* the restriction about not putting a shadow around ARGB windows.
|
||||
* Do not put a shadow around windows with a frame - the decoration
|
||||
* includes the shadow as defined by the GTK+ theme
|
||||
*/
|
||||
if (meta_window_get_frame (priv->window))
|
||||
return TRUE;
|
||||
return FALSE;
|
||||
|
||||
/*
|
||||
* Do not add shadows to non-opaque (ARGB32) windows, as we can't easily
|
||||
|
Loading…
Reference in New Issue
Block a user