]> www.fi.muni.cz Git - evince.git/commitdiff
Hide cursor after a while in presentation mode.
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sat, 9 Dec 2006 12:36:34 +0000 (12:36 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Sat, 9 Dec 2006 12:36:34 +0000 (12:36 +0000)
2006-12-09  Carlos Garcia Campos  <carlosgc@gnome.org>
* shell/ev-window.c: (fullscreen_timeout_cb):
Hide cursor after a while in presentation mode.

ChangeLog
shell/ev-window.c

index 83abb4b1ac7df7e41c03d2a246391c092acbe78f..0b66667fbd2ed3874d25a5cde7dee2556af12e18 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-12-09  Carlos Garcia Campos  <carlosgc@gnome.org>
+
+       * shell/ev-window.c: (fullscreen_timeout_cb):
+
+       Hide cursor after a while in presentation mode. 
+
 2006-12-04  Wouter Bolsterlee  <wbolster@cvs.gnome.org>
 
        * backend/ev-document-info.h:
index 271cfe2756dd3b63ee4d1f79485573acde47a809..8f2d8de2ebc841973d1f6afac1ab70ef56ebf8df 100644 (file)
@@ -2297,9 +2297,11 @@ fullscreen_timeout_cb (EvWindow *window)
 {
        EvView *view = EV_VIEW (window->priv->view);
 
-       if (!view || !ev_view_get_fullscreen (EV_VIEW (view)))
+       if (!view ||
+           (!ev_view_get_fullscreen (EV_VIEW (view)) &&
+            !ev_view_get_presentation (EV_VIEW (view))))
                return FALSE;
-       
+
        update_chrome_flag (window, EV_CHROME_FULLSCREEN_TOOLBAR, FALSE);
        ev_view_hide_cursor (EV_VIEW (window->priv->view));
        window->priv->fullscreen_timeout_id = 0;