diff options
-rw-r--r-- | src/empathy-call-window-fullscreen.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/empathy-call-window-fullscreen.c b/src/empathy-call-window-fullscreen.c index 75542e021..7827cdb76 100644 --- a/src/empathy-call-window-fullscreen.c +++ b/src/empathy-call-window-fullscreen.c @@ -69,7 +69,10 @@ empathy_call_window_fullscreen_set_cursor_visible ( { EmpathyCallWindowFullscreenPriv *priv = GET_PRIV (fs); - if (priv->video_widget != NULL && !show_cursor) + if (priv->video_widget == NULL) + return; + + if (!show_cursor) { gdk_window_set_cursor (gtk_widget_get_window (priv->video_widget), gdk_cursor_new (GDK_BLANK_CURSOR)); |