[gnome-utils] flash: don't use a solid color for the max flash window opacity



commit 9efe41e3e46cc7651de35ac7e10a94c87f8ec02e
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Sep 16 15:27:57 2011 -0400

    flash: don't use a solid color for the max flash window opacity
    
    Mutter will unredirect our window thinking it's a full screen game
    otherwise.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=658172

 gnome-screenshot/cheese-flash.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-screenshot/cheese-flash.c b/gnome-screenshot/cheese-flash.c
index 3e871f8..58950fc 100644
--- a/gnome-screenshot/cheese-flash.c
+++ b/gnome-screenshot/cheese-flash.c
@@ -197,7 +197,7 @@ cheese_flash_fire (CheeseFlash  *flash,
   gtk_window_resize (flash_window, rect->width, rect->height);
   gtk_window_move (flash_window, rect->x, rect->y);
 
-  gtk_window_set_opacity (flash_window, 1);
+  gtk_window_set_opacity (flash_window, 0.99);
   gtk_widget_show_all (GTK_WIDGET (flash_window));
   flash_priv->flash_timeout_tag = g_timeout_add (FLASH_DURATION, cheese_flash_start_fade, (gpointer) flash);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]