Commit 9df8deec authored by Rafaël Carré's avatar Rafaël Carré

Use new gnome-screensaver D-Bus interface

parent 661a0a41
...@@ -209,7 +209,10 @@ static void poke_screensaver( intf_thread_t *p_intf, ...@@ -209,7 +209,10 @@ static void poke_screensaver( intf_thread_t *p_intf,
# ifdef SCREENSAVER_DEBUG # ifdef SCREENSAVER_DEBUG
msg_Dbg( p_intf, "found a running gnome-screensaver instance" ); msg_Dbg( p_intf, "found a running gnome-screensaver instance" );
# endif # endif
/* gnome-screensaver changed it's D-Bus interface, so we need both */
screensaver_send_message_void( p_intf, p_connection, "Poke" ); screensaver_send_message_void( p_intf, p_connection, "Poke" );
screensaver_send_message_void( p_intf, p_connection,
"SimulateUserActivity" );
} }
# ifdef SCREENSAVER_DEBUG # ifdef SCREENSAVER_DEBUG
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment