comparison 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 (2007-06-15)
parents 2141130ac557
children af7b944374ba
comparison
equal deleted inserted replaced
18093:c0a09c56d0c5 18097:16bfad2597fb
1559 1559
1560 if (wm->event_stack || node->me == wm->_list.window) { 1560 if (wm->event_stack || node->me == wm->_list.window) {
1561 gnt_wm_raise_window(wm, node->me); 1561 gnt_wm_raise_window(wm, node->me);
1562 } else { 1562 } else {
1563 bottom_panel(node->panel); /* New windows should not grab focus */ 1563 bottom_panel(node->panel); /* New windows should not grab focus */
1564 gnt_widget_set_focus(node->me, FALSE);
1564 gnt_widget_set_urgent(node->me); 1565 gnt_widget_set_urgent(node->me);
1565 if (wm->cws != ws) 1566 if (wm->cws != ws)
1566 gnt_ws_widget_hide(widget, wm->nodes); 1567 gnt_ws_widget_hide(widget, wm->nodes);
1567 } 1568 }
1568 } 1569 }