diff options
-rw-r--r-- | src/procman.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/procman.cpp b/src/procman.cpp index 3cc51a5..29b9087 100644 --- a/src/procman.cpp +++ b/src/procman.cpp @@ -596,15 +596,11 @@ cb_server (const gchar *msg, gpointer user_data) procman_debug("Changing to PROCMAN_TAB_DISKS via bacon message"); set_tab(GTK_NOTEBOOK(procdata->notebook), PROCMAN_TAB_DISKS, procdata); } - } else - timestamp = strtoul(msg, NULL, 0); - - if (timestamp == 0) - { - /* fall back to rountripping to X */ - timestamp = gdk_x11_get_server_time (window); } + /* fall back to rountripping to X */ + timestamp = gdk_x11_get_server_time (window); + gdk_x11_window_set_user_time (window, timestamp); gtk_window_present (GTK_WINDOW(procdata->app)); |