gnome-utils r8433 - trunk/gnome-screenshot
- From: federico svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-utils r8433 - trunk/gnome-screenshot
- Date: Tue, 24 Feb 2009 21:50:56 +0000 (UTC)
Author: federico
Date: Tue Feb 24 21:50:56 2009
New Revision: 8433
URL: http://svn.gnome.org/viewvc/gnome-utils?rev=8433&view=rev
Log:
bgo166485 (screenshot) - Don't shape the root window
Signed-off-by: Federico Mena Quintero <federico novell com>
Modified:
trunk/gnome-screenshot/ChangeLog
trunk/gnome-screenshot/screenshot-utils.c
Modified: trunk/gnome-screenshot/screenshot-utils.c
==============================================================================
--- trunk/gnome-screenshot/screenshot-utils.c (original)
+++ trunk/gnome-screenshot/screenshot-utils.c Tue Feb 24 21:50:56 2009
@@ -475,7 +475,7 @@
ShapeBounding,
&rectangle_count,
&rectangle_order);
- if (rectangles && rectangle_count > 0)
+ if (rectangles && rectangle_count > 0 && window != root)
{
gboolean has_alpha = gdk_pixbuf_get_has_alpha (screenshot);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]