From 0f5fff2c18cb5140bd2459210a7fb64518a984f1 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sat, 9 Dec 2006 12:36:34 +0000 Subject: [PATCH] Hide cursor after a while in presentation mode. 2006-12-09 Carlos Garcia Campos * shell/ev-window.c: (fullscreen_timeout_cb): Hide cursor after a while in presentation mode. --- ChangeLog | 6 ++++++ shell/ev-window.c | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 83abb4b1..0b66667f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-12-09 Carlos Garcia Campos + + * shell/ev-window.c: (fullscreen_timeout_cb): + + Hide cursor after a while in presentation mode. + 2006-12-04 Wouter Bolsterlee * backend/ev-document-info.h: diff --git a/shell/ev-window.c b/shell/ev-window.c index 271cfe27..8f2d8de2 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; -- 2.43.5