]> granicus.if.org Git - transmission/commitdiff
(gtk) #5211 'Transmission main window does not get focus when toggling via AppIndicat...
authorJordan Lee <jordan@transmissionbt.com>
Fri, 4 Jan 2013 23:25:17 +0000 (23:25 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Fri, 4 Jan 2013 23:25:17 +0000 (23:25 +0000)
gtk/main.c

index 4a3b2bba2fae15384dc00fc857b8d8dd9558d44f..ecb6ee8768e24418141ca7fb940a97cc93af3805 100644 (file)
@@ -757,6 +757,7 @@ presentMainWindow (struct cbdata * cbdata)
     }
 
   gtr_window_present (window);
+  gdk_window_raise (gtk_widget_get_window (GTK_WIDGET(window)));
 }
 
 static void