mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
tests/clutter/grab: Use clutter_event_get_name()
This changes the debug output slightly, but that's fine. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2628>
This commit is contained in:
parent
b32ee7225d
commit
a79f35612b
@ -2,6 +2,7 @@
|
||||
#include <clutter/clutter.h>
|
||||
|
||||
#include "tests/clutter-test-utils.h"
|
||||
#include "clutter/clutter-event-private.h"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
@ -57,7 +58,7 @@ event_cb (ClutterActor *actor,
|
||||
EventLog entry = { clutter_actor_get_name (actor), event->type };
|
||||
|
||||
g_debug ("Event '%s' on actor '%s'",
|
||||
entry.type == CLUTTER_ENTER ? "ENTER" : "LEAVE",
|
||||
clutter_event_get_name (event),
|
||||
entry.name);
|
||||
g_array_append_val (events, entry);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user