[Xfce4-commits] <postler:master> Fix fullscreen condition to allow unfullscreen

Christian Dywan noreply at xfce.org
Fri Jan 14 17:44:01 CET 2011


Updating branch refs/heads/master
         to 12d3de569847732f342378c30ad701c0883665eb (commit)
       from 0dbbc1176f80a77bb9782b214c23eab0703c4bb3 (commit)

commit 12d3de569847732f342378c30ad701c0883665eb
Author: Christian Dywan <christian at twotoasts.de>
Date:   Fri Jan 14 17:43:06 2011 +0100

    Fix fullscreen condition to allow unfullscreen
    
    Fixes: https://bugs.launchpad.net/postler/+bug/702471

 postler/postler-bureau.vala |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/postler/postler-bureau.vala b/postler/postler-bureau.vala
index b042495..0a11b7e 100644
--- a/postler/postler-bureau.vala
+++ b/postler/postler-bureau.vala
@@ -306,8 +306,7 @@ public class Postler.Bureau : Gtk.Window {
     }
 
     void action_fullscreen () {
-        if ((window.get_state () & Gdk.WindowState.FULLSCREEN) == 0
-         || (window.get_state () & Gdk.WindowState.MAXIMIZED) == 0) {
+        if ((window.get_state () & Gdk.WindowState.FULLSCREEN) == 0) {
             fullscreen ();
         } else {
             unfullscreen ();



More information about the Xfce4-commits mailing list