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 /shell/ev-window.c | |
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.
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r-- | shell/ev-window.c | 6 |
1 files changed, 4 insertions, 2 deletions
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; |