Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/engines/x11 Modified Files: ewl_engine_x11.c Log Message: add ewl_window_urgent_set/get() =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/engines/x11/ewl_engine_x11.c,v retrieving revision 1.50 retrieving revision 1.51 diff -u -3 -r1.50 -r1.51 --- ewl_engine_x11.c 18 May 2007 21:32:12 -0000 1.50 +++ ewl_engine_x11.c 20 May 2007 19:13:43 -0000 1.51 @@ -628,6 +628,8 @@ ECORE_X_WINDOW_STATE_MODAL); ee_window_state_handle(win, states, EWL_WINDOW_DEMANDS_ATTENTION, ECORE_X_WINDOW_STATE_DEMANDS_ATTENTION); + + win->flags &= ~EWL_WINDOW_DEMANDS_ATTENTION; DLEAVE_FUNCTION(DLEVEL_STABLE); } @@ -669,6 +671,7 @@ ee_window_hints_set(Ewl_Window *win) { Ewl_Embed_Window *win_group; + int urgent = FALSE; DENTER_FUNCTION(DLEVEL_STABLE); DCHECK_PARAM_PTR("win", win); @@ -681,7 +684,8 @@ else win_group = NULL; - printf("window group %p\n", win_group); + if (win->flags & EWL_WINDOW_URGENT) + urgent = TRUE; ecore_x_icccm_hints_set((Ecore_X_Window) win->window, 1, // accepts focus @@ -690,7 +694,7 @@ 0, // icon mask 0, // icon window (Ecore_X_Window) win_group, // window group - 0); // is urgent + urgent); // is urgent DLEAVE_FUNCTION(DLEVEL_STABLE); } ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs