mirror of
https://github.com/brl/mutter.git
synced 2025-04-24 10:49:38 +00:00
2008-05-31 Emmanuele Bassi <ebassi@openedhand.com>
Bug #943 - Signals are only emitted within a certain area of the stage * clutter/clutter-main.c (clutter_do_event): Use the proper API and not the macros for the default stage, in case we are using a backend supporting multiple stages. (Julian Aron Prenner)
This commit is contained in:
parent
7b9a7b95ec
commit
a4e4faff1d
@ -1,3 +1,12 @@
|
|||||||
|
2008-05-31 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
|
Bug #943 - Signals are only emitted within a certain area of
|
||||||
|
the stage
|
||||||
|
|
||||||
|
* clutter/clutter-main.c (clutter_do_event): Use the proper
|
||||||
|
API and not the macros for the default stage, in case we are
|
||||||
|
using a backend supporting multiple stages. (Julian Aron Prenner)
|
||||||
|
|
||||||
2008-05-30 Emmanuele Bassi <ebassi@openedhand.com>
|
2008-05-30 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
* clutter/pango/pangoclutter-fontmap.c:
|
* clutter/pango/pangoclutter-fontmap.c:
|
||||||
|
@ -1705,8 +1705,8 @@ clutter_do_event (ClutterEvent *event)
|
|||||||
if (event->any.source == NULL)
|
if (event->any.source == NULL)
|
||||||
{
|
{
|
||||||
/* Handle release off stage */
|
/* Handle release off stage */
|
||||||
if ((x >= CLUTTER_STAGE_WIDTH () ||
|
if ((x >= clutter_actor_get_width (stage) ||
|
||||||
y >= CLUTTER_STAGE_HEIGHT() ||
|
y >= clutter_actor_get_height (stage) ||
|
||||||
x < 0 || y < 0))
|
x < 0 || y < 0))
|
||||||
{
|
{
|
||||||
if (event->type == CLUTTER_BUTTON_RELEASE)
|
if (event->type == CLUTTER_BUTTON_RELEASE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user