1
0
Fork 0
mutter-performance-source/clutter/eglx
Neil Roberts 5d6a11e1bf Emit CLUTTER_LEAVE events when the pointer leaves the stage
Bug 1178 - No enter / leave events on actors when pointer leaves the
           stage window

The patch is mostly thanks to Johan Bilien with small modifications
based on suggestions by Owen Taylor.

The X11 backend now listens for enter and leave notifications. Leave
notifications get translated directly to a CLUTTER_LEAVE
event. Clutter can detect these special events because the source
actor is NULL in which case it sets the source actor to the last known
actor and then sets the last known actor to NULL.

Enter notifications just get translated to CLUTTER_MOTION events which
will cause Clutter to generate an enter event through the usual code
path.
2009-02-16 12:46:36 +00:00
..
clutter-backend-egl.c Bug 856 - Teardown sequence is borked 2008-09-22 16:36:27 +00:00
clutter-backend-egl.h GLES 2 backend 2008-05-27 17:42:50 +00:00
clutter-egl-headers.h GLES 2 backend 2008-05-27 17:42:50 +00:00
clutter-eglx.h GLES 2 backend 2008-05-27 17:42:50 +00:00
clutter-stage-egl.c Emit CLUTTER_LEAVE events when the pointer leaves the stage 2009-02-16 12:46:36 +00:00
clutter-stage-egl.h GLES 2 backend 2008-05-27 17:42:50 +00:00
Makefile.am 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00