mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
docs: Update to show the symbolic button names
https://bugzilla.gnome.org/show_bug.cgi?id=668692
This commit is contained in:
@ -55,9 +55,9 @@ clicked_cb (ClutterActor *actor,
|
||||
|
||||
clutter_actor_get_scale (actor, &scale, NULL);
|
||||
|
||||
if (button == 1)
|
||||
if (button == CLUTTER_BUTTON_PRIMARY)
|
||||
scale *= 1.2;
|
||||
else if (button == 3)
|
||||
else if (button == CLUTTER_BUTTON_SECONDARY)
|
||||
scale /= 1.2;
|
||||
|
||||
/* don't do anything if scale is outside bounds */
|
||||
|
Reference in New Issue
Block a user