[Xfce4-commits] <parole:bluesabre/gtk3> fix hiding

Sean Davis noreply at xfce.org
Sat Aug 31 21:22:01 CEST 2013


Updating branch refs/heads/bluesabre/gtk3
         to e297f9073f4112e0d567af1d8ef013607c83e83e (commit)
       from 518302b29b9f9435bd1cc0774c3d135aea2b6c8f (commit)

commit e297f9073f4112e0d567af1d8ef013607c83e83e
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sat Aug 31 15:20:32 2013 -0400

    fix hiding

 src/parole-player.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/parole-player.c b/src/parole-player.c
index a37eac9..4927701 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -1984,7 +1984,7 @@ parole_player_reset_controls (ParolePlayer *player, gboolean fullscreen)
 
             gtk_window_unfullscreen (GTK_WINDOW (player->priv->window));
             gtk_notebook_set_current_page (GTK_NOTEBOOK (player->priv->playlist_nt), current_page);
-            gdkwindow = gtk_widget_get_window (player->priv->window);
+            gdkwindow = gtk_widget_get_window (player->priv->gst);
             gdk_window_set_cursor (gdkwindow, NULL);
             player->priv->full_screen = FALSE;
         }
@@ -2169,7 +2169,7 @@ gboolean parole_player_hide_fs_window (gpointer data)
     if ( gtk_widget_get_visible (controls) )
     {
         gtk_widget_hide(controls);
-        gdkwindow = gtk_widget_get_window (controls);
+        gdkwindow = gtk_widget_get_window (GTK_WIDGET(player->priv->gst));
         parole_window_invisible_cursor (gdkwindow);
     }
 


More information about the Xfce4-commits mailing list