changeset 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 c0a09c56d0c5
children 1c8853f6bfc6
files finch/libgnt/gntwm.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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);