mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
Don't shadow shaped windows.
2008-03-10 Josh Lee <jleedev@gmail.com> * src/core/compositor.c (window_has_shadow): Don't shadow shaped windows. svn path=/trunk/; revision=3648
This commit is contained in:
parent
f77dba7ac2
commit
87cceaf992
@ -1,3 +1,8 @@
|
||||
2008-03-10 Josh Lee <jleedev@gmail.com>
|
||||
|
||||
* src/core/compositor.c (window_has_shadow): Don't shadow
|
||||
shaped windows.
|
||||
|
||||
2008-03-07 Thomas Thurman <tthurman@gnome.org>
|
||||
|
||||
* configure.in: Post-release bump to 2.23.3.
|
||||
|
@ -777,6 +777,12 @@ window_has_shadow (MetaCompWindow *cw)
|
||||
if (((MetaCompScreen *)cw->screen->compositor_data)->have_shadows == FALSE)
|
||||
return FALSE;
|
||||
|
||||
/* Never put a shadow around shaped windows */
|
||||
if (cw->shaped) {
|
||||
meta_verbose ("Window has no shadow as it is shaped\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* Always put a shadow around windows with a frame */
|
||||
if (cw->window)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user