Enlightenment CVS committal
Author : atmosphere
Project : misc
Module : engage
Dir : misc/engage/src
Modified Files:
icon.c wm.c
Log Message:
fix launching of apps on the right side of the separator, send a signal back to the
edje(engage,app,open,ok) if engage,app,open request was valid(i.e. don't launch
minimized apps), latest creepy uses it
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/icon.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- icon.c 23 Apr 2004 23:33:16 -0000 1.23
+++ icon.c 24 Apr 2004 19:09:36 -0000 1.24
@@ -484,9 +484,9 @@
if (!strcmp(emission, "engage,app,open")) {
switch (icon->type) {
case application_link:
- ecore_exe_run(icon->data.applnk.command, NULL);
- break;
case docked_icon:
+ edje_object_signal_emit(obj, "engage,app,open,ok", "");
+ ecore_exe_run(icon->data.applnk.command, NULL);
break;
case minimised_window:
break;
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/wm.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- wm.c 23 Apr 2004 23:33:16 -0000 1.8
+++ wm.c 24 Apr 2004 19:09:37 -0000 1.9
@@ -260,7 +260,9 @@
free(title);
}
} else {
+#if 0
fprintf(stderr, "New %8x window id\n", *win);
+#endif
owd = (OD_Window *) malloc(sizeof(OD_Window));
memset(owd, 0, sizeof(OD_Window));
owd->id = *win;
@@ -279,8 +281,9 @@
if (dirty->data) {
owd = dirty->data;
snprintf(buf, 32, "%8x", owd->id);
+#if 0
fprintf(stderr, "%s no longer exists\n", buf);
-
+#endif
evas_hash_foreach(clients_current, od_wm_current_window_by_class_fix,
owd);
clients_hash = evas_hash_del(clients_hash, buf, owd);
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs