diff finch/libgnt/gntwm.c @ 18097:16bfad2597fb

Notify a window on startup if it didn't get the focus.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 15 Jun 2007 02:33:48 +0000
parents 2141130ac557
children af7b944374ba
line wrap: on
line diff
--- a/finch/libgnt/gntwm.c	Wed Jun 13 12:26:48 2007 +0000
+++ b/finch/libgnt/gntwm.c	Fri Jun 15 02:33:48 2007 +0000
@@ -1561,6 +1561,7 @@
 			gnt_wm_raise_window(wm, node->me);
 		} else {
 			bottom_panel(node->panel);     /* New windows should not grab focus */
+			gnt_widget_set_focus(node->me, FALSE);
 			gnt_widget_set_urgent(node->me);
 			if (wm->cws != ws)
 				gnt_ws_widget_hide(widget, wm->nodes);