Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_evas
Modified Files:
ecore_evas_x.c
Log Message:
ecore_evas gl windows behaved strangely... FIX!
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_evas/ecore_evas_x.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- ecore_evas_x.c 19 May 2004 04:46:18 -0000 1.16
+++ ecore_evas_x.c 14 Jun 2004 06:24:19 -0000 1.17
@@ -1241,12 +1241,16 @@
XSetWindowAttributes attr;
attr.backing_store = NotUseful;
+ attr.override_redirect = True;
attr.colormap = einfo->func.best_colormap_get(ecore_x_display_get(),
DefaultScreen(ecore_x_display_get()));
attr.border_pixel = 0;
attr.background_pixmap = None;
attr.event_mask =
+ KeyPressMask | KeyReleaseMask |
ExposureMask | ButtonPressMask | ButtonReleaseMask |
- PointerMotionMask | StructureNotifyMask;
+ EnterWindowMask | LeaveWindowMask |
+ PointerMotionMask | StructureNotifyMask | VisibilityChangeMask |
+ FocusChangeMask | PropertyChangeMask | ColormapChangeMask;
attr.bit_gravity = ForgetGravity;
ee->engine.x.win =
@@ -1259,7 +1263,8 @@
einfo->func.best_visual_get(ecore_x_display_get(),
DefaultScreen(ecore_x_display_get())),
CWBackingStore | CWColormap |
CWBackPixmap | CWBorderPixel |
- CWBitGravity | CWEventMask,
+ CWBitGravity | CWEventMask |
+ CWOverrideRedirect,
&attr);
einfo->info.display = ecore_x_display_get();
einfo->info.visual = einfo->func.best_visual_get(ecore_x_display_get(),
DefaultScreen(ecore_x_display_get()));
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs