[Xfce4-commits] <parole:master> Properly hide the mouse-cursor again in fullscreen mode
Simon Steinbeiss
noreply at xfce.org
Fri Oct 11 11:52:58 CEST 2013
Updating branch refs/heads/master
to ecdfdc33de4d432af56d71705f87ad836fb8abab (commit)
from 5e2bc996c1db4f0b081526d212df02f5cd86f856 (commit)
commit ecdfdc33de4d432af56d71705f87ad836fb8abab
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Mon Oct 7 11:38:51 2013 +0200
Properly hide the mouse-cursor again in fullscreen mode
src/common/parole-common.c | 3 +--
src/parole-player.c | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/common/parole-common.c b/src/common/parole-common.c
index 29cdd7c..927aa90 100644
--- a/src/common/parole-common.c
+++ b/src/common/parole-common.c
@@ -99,7 +99,6 @@ void parole_window_invisible_cursor (GdkWindow *window)
gdk_window_set_cursor (window, cursor);
- if (cursor) {
+ if (cursor)
g_object_unref (cursor);
- }
}
diff --git a/src/parole-player.c b/src/parole-player.c
index 27c8ffa..ffe5c2e 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -1973,7 +1973,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->gst);
- gdk_window_set_cursor (gdkwindow, NULL);
+ parole_gst_set_cursor_visible (PAROLE_GST (player->priv->gst), FALSE);
player->priv->full_screen = FALSE;
}
else
More information about the Xfce4-commits
mailing list