diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2006-12-09 12:36:34 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2006-12-09 12:36:34 (GMT) |
commit | 0f5fff2c18cb5140bd2459210a7fb64518a984f1 (patch) | |
tree | a9313cd16f8de1feef9672ddc8cd1e6c4af4a709 | |
parent | 14cf8ad56067f10735b877b59576a2c334e7bc37 (diff) |
Hide cursor after a while in presentation mode.
2006-12-09 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (fullscreen_timeout_cb):
Hide cursor after a while in presentation mode.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | shell/ev-window.c | 6 |
2 files changed, 10 insertions, 2 deletions
@@ -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: diff --git a/shell/ev-window.c b/shell/ev-window.c index 271cfe2..8f2d8de 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -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; |