mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
Add shaddows to override-redirect windows, e.g. Gtk menus (Gtk should really
be fixed not to use override redirect for menus as the maemo fork does).
This commit is contained in:
parent
4134949d72
commit
676a516ff2
@ -290,6 +290,12 @@ is_shaped (MetaDisplay *display,
|
||||
static gboolean
|
||||
window_has_shadow (MetaCompWindow *cw)
|
||||
{
|
||||
if (cw->attrs.override_redirect)
|
||||
{
|
||||
meta_verbose ("Window has shadow because it is override redirect.\n");
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/* Always put a shadow around windows with a frame - This should override
|
||||
the restriction about not putting a shadow around shaped windows
|
||||
as the frame might be the reason the window is shaped */
|
||||
|
Loading…
Reference in New Issue
Block a user