Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_hints.c
Log Message:
help detetc e17 != e16
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_hints.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -3 -r1.54 -r1.55
--- e_hints.c 19 Jun 2005 14:59:41 -0000 1.54
+++ e_hints.c 22 Jun 2005 05:34:50 -0000 1.55
@@ -130,14 +130,23 @@
e_hints_e16_comms_pretend(E_Manager *man)
{
Ecore_X_Window win;
- Ecore_X_Atom enlightenment_comms, string;
+ Ecore_X_Atom enlightenment_comms, enlightenment_version, string;
char buf[256];
enlightenment_comms = ecore_x_atom_get("ENLIGHTENMENT_COMMS");
+ enlightenment_version = ecore_x_atom_get("ENLIGHTENMENT_VERSION");
string = ecore_x_atom_get("STRING");
+
win = ecore_x_window_input_new(man->root, -100, -100, 1, 1);
+
+ /* to help detect this is NOT e16 */
+ snprintf(buf, sizeof(buf), "Enlightenment %s", VERSION);
+ ecore_x_window_prop_property_set(win, enlightenment_version, string, 8,
buf, strlen(buf));
+ ecore_x_window_prop_property_set(man->root, enlightenment_version, string,
8, buf, strlen(buf));
+
snprintf(buf, sizeof(buf), "WINID %8x", (int)win);
ecore_x_window_prop_property_set(win, enlightenment_comms, string, 8, buf,
14);
+
ecore_x_window_prop_property_set(man->root, enlightenment_comms, string, 8,
buf, 14);
}
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs