native/meta-launcher: Reset idle time when our session becomes active

https://bugzilla.gnome.org/show_bug.cgi?id=749994
This commit is contained in:
Rui Matos 2015-05-27 18:56:12 +02:00
parent 8d51a9db5b
commit 90a28e7b1c

View File

@ -43,6 +43,7 @@
#include "backends/meta-backend-private.h" #include "backends/meta-backend-private.h"
#include "meta-cursor-renderer-native.h" #include "meta-cursor-renderer-native.h"
#include "meta-idle-monitor-native.h"
struct _MetaLauncher struct _MetaLauncher
{ {
@ -110,6 +111,7 @@ session_unpause (void)
clutter_actor_queue_redraw (stage); clutter_actor_queue_redraw (stage);
meta_cursor_renderer_native_force_update (META_CURSOR_RENDERER_NATIVE (renderer)); meta_cursor_renderer_native_force_update (META_CURSOR_RENDERER_NATIVE (renderer));
meta_idle_monitor_native_reset_idletime (meta_idle_monitor_get_core ());
} }
} }