Skip to content
Snippets Groups Projects
Commit dca406d7 authored by Ali Abdallah's avatar Ali Abdallah
Browse files

Use xflock4 as a default for locking the screen

(Old svn revision: 5643)
parent d47fcbde
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,12 @@ xfpm_load_icon(const char *icon_name,gint size) ...@@ -47,7 +47,12 @@ xfpm_load_icon(const char *icon_name,gint size)
void void
xfpm_lock_screen(void) xfpm_lock_screen(void)
{ {
gboolean ret = g_spawn_command_line_async("gnome-screensaver-command -l",NULL); gboolean ret = g_spawn_command_line_async("xflock4");
if ( !ret )
{
g_spawn_command_line_async("gnome-screensaver-command -l",NULL);
}
if ( !ret ) if ( !ret )
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment