Enlightenment CVS committal
Author : sebastid
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_focus.c
Log Message:
Compiler warnings.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_focus.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- e_focus.c 8 Feb 2005 11:51:41 -0000 1.6
+++ e_focus.c 12 May 2005 13:55:13 -0000 1.7
@@ -41,6 +41,9 @@
_e_focus_cb_window_focus_in(void *data, int ev_type, void *ev)
{
Ecore_X_Event_Window_Focus_In *e;
+
+ e = ev;
+#if 0
const char *modes[] = {
"ECORE_X_EVENT_MODE_NORMAL",
"ECORE_X_EVENT_MODE_WHILE_GRABBED",
@@ -57,24 +60,22 @@
"ECORE_X_EVENT_DETAIL_POINTER_ROOT",
"ECORE_X_EVENT_DETAIL_DETAIL_NONE"
};
-
- e = ev;
-#if 0
+
if (e_border_find_by_client_window(e->win))
{
- printf("BI 0x%x md=%s dt=%s\n",
+ printf("BI 0x%x md=%s dt=%s\n",
e->win,
modes[e->mode],
details[e->detail]);
}
else
{
- printf("FI 0x%x md=%s dt=%s\n",
+ printf("FI 0x%x md=%s dt=%s\n",
e->win,
modes[e->mode],
details[e->detail]);
}
-#endif
+#endif
return 1;
}
@@ -82,6 +83,9 @@
_e_focus_cb_window_focus_out(void *data, int ev_type, void *ev)
{
Ecore_X_Event_Window_Focus_Out *e;
+
+ e = ev;
+#if 0
const char *modes[] = {
"ECORE_X_EVENT_MODE_NORMAL",
"ECORE_X_EVENT_MODE_WHILE_GRABBED",
@@ -98,19 +102,17 @@
"ECORE_X_EVENT_DETAIL_POINTER_ROOT",
"ECORE_X_EVENT_DETAIL_DETAIL_NONE"
};
-
- e = ev;
-#if 0
+
if (e_border_find_by_client_window(e->win))
{
- printf("BO 0x%x md=%s dt=%s\n",
+ printf("BO 0x%x md=%s dt=%s\n",
e->win,
modes[e->mode],
details[e->detail]);
}
else
{
- printf("FO 0x%x md=%s dt=%s\n",
+ printf("FO 0x%x md=%s dt=%s\n",
e->win,
modes[e->mode],
details[e->detail]);
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs