mirror of
https://github.com/brl/mutter.git
synced 2025-02-18 22:24:10 +00:00

The simple key press example in the cookbook used a brittle and incorrect switch statement to test modifier values. Instead, use logical "&" of the state with the modifiers we're interested in to check which keys were pressed. http://bugzilla.clutter-project.org/show_bug.cgi?id=2223