diff options
Diffstat (limited to 'chrome/browser/process_singleton_linux.cc')
-rw-r--r-- | chrome/browser/process_singleton_linux.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/process_singleton_linux.cc b/chrome/browser/process_singleton_linux.cc index bfd6539..885ed375 100644 --- a/chrome/browser/process_singleton_linux.cc +++ b/chrome/browser/process_singleton_linux.cc @@ -33,6 +33,7 @@ #include <errno.h> #include <fcntl.h> +#include <gdk/gdk.h> #include <signal.h> #include <sys/socket.h> #include <sys/stat.h> @@ -780,6 +781,9 @@ ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcessWithTimeout( // The other process is shutting down, it's safe to start a new process. return PROCESS_NONE; } else if (strncmp(buf, kACKToken, arraysize(kACKToken) - 1) == 0) { + // Notify the window manager that we've started up; if we do not open a + // window, GTK will not automatically call this for us. + gdk_notify_startup_complete(); // Assume the other process is handling the request. return PROCESS_NOTIFIED; } |