Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: ewin-ops.c ewin-ops.h ipc.c windowmatch.c Log Message: More action source handling bits. =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/ewin-ops.c,v retrieving revision 1.79 retrieving revision 1.80 diff -u -3 -r1.79 -r1.80 --- ewin-ops.c 13 Nov 2005 01:22:28 -0000 1.79 +++ ewin-ops.c 15 Nov 2005 23:11:16 -0000 1.80 @@ -76,6 +76,7 @@ {"no_button_grabs", 0, 1, 1, EWIN_OP_NO_BUTTON_GRABS}, {"skiplists", 4, 1, 1, EWIN_OP_SKIP_LISTS}, + {"no_app_focus", 0, 1, 1, EWIN_OP_INH_APP_FOCUS}, {"no_app_move", 0, 1, 1, EWIN_OP_INH_APP_MOVE}, {"no_app_size", 0, 1, 1, EWIN_OP_INH_APP_SIZE}, {"no_user_close", 0, 1, 1, EWIN_OP_INH_USER_CLOSE}, @@ -1424,6 +1425,9 @@ void EwinOpActivate(EWin * ewin, int source) { + if (source == OPSRC_APP && EwinInhGetApp(ewin, focus)) + return; + if (!ewin->state.animated && !ewin->state.iconified) DeskGotoByEwin(ewin); EwinOpRaise(ewin, source); =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/ewin-ops.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- ewin-ops.h 12 Nov 2005 17:51:11 -0000 1.5 +++ ewin-ops.h 15 Nov 2005 23:11:17 -0000 1.6 @@ -63,6 +63,7 @@ EWIN_OP_NO_BUTTON_GRABS, EWIN_OP_SKIP_LISTS, + EWIN_OP_INH_APP_FOCUS, EWIN_OP_INH_APP_MOVE, EWIN_OP_INH_APP_SIZE, EWIN_OP_INH_USER_CLOSE, =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/ipc.c,v retrieving revision 1.246 retrieving revision 1.247 diff -u -3 -r1.246 -r1.247 --- ipc.c 13 Nov 2005 01:22:28 -0000 1.246 +++ ipc.c 15 Nov 2005 23:11:17 -0000 1.247 @@ -712,6 +712,12 @@ } break; + case EWIN_OP_INH_APP_FOCUS: + on = EwinInhGetApp(ewin, focus); + SetEwinBoolean(wop->name, &on, param1, 1); + EwinInhSetApp(ewin, focus, on); + break; + case EWIN_OP_INH_APP_MOVE: on = EwinInhGetApp(ewin, move); SetEwinBoolean(wop->name, &on, param1, 1); @@ -1409,7 +1415,7 @@ " <what>: all, none, border, command, desktop, dialog, group, icon,\n" " layer, location, opacity, shade, shadow, size, sticky\n" " win_op <windowid> <focusclick/never_use_area/no_button_grabs/skiplists>\n" - " win_op <windowid> <no_app_move/size>\n" + " win_op <windowid> <no_app_focus/move/size>\n" " win_op <windowid> <no_user_close/move/size>\n" " win_op <windowid> <no_wm_focus>\n" " win_op <windowid> noshadow\n" =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/windowmatch.c,v retrieving revision 1.41 retrieving revision 1.42 diff -u -3 -r1.41 -r1.42 --- windowmatch.c 12 Nov 2005 17:51:11 -0000 1.41 +++ windowmatch.c 15 Nov 2005 23:11:17 -0000 1.42 @@ -750,6 +750,10 @@ WINOP_SET_BOOL(ewin->props.no_button_grabs, args); break; + case EWIN_OP_INH_APP_FOCUS: + WINOP_SET_BOOL(EwinInhGetApp(ewin, focus), args); + break; + case EWIN_OP_INH_APP_MOVE: WINOP_SET_BOOL(EwinInhGetApp(ewin, move), args); break; ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs