frames: Allow for unknown mouse buttons
authorOlivier Fourdan <ofourdan@redhat.com>
Tue, 22 May 2018 09:23:13 +0000 (11:23 +0200)
committerSimon McVittie <smcv@debian.org>
Sun, 8 Jul 2018 10:32:56 +0000 (11:32 +0100)
commit7a44a20aea760b54b4ef1e83719a61c9df15f8ab
tree4de7f5bef53df3cbc80baa68037caa55c4adff96
parentcc14fa910fc31584a5e0203b9cc378a18786cecb
frames: Allow for unknown mouse buttons

Commit 47131b1d ("frames: Handle touch events") introduced an assert to
make sure that all mouse button actions are handled in mutter.

However, mice can have a more than 5 buttons, so simply ignore the
"other" actions instead of aborting.

(cherry picked from commit 473bf38753221dc0002fae309d2f3f217e96c5f5)

Bug: https://gitlab.gnome.org/GNOME/mutter/issues/160
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899181
Origin: upstream, 3.28.3, commit:1a3f9a33234f8406ffcaa150df542b73715910f4

Gbp-Pq: Name frames-Allow-for-unknown-mouse-buttons.patch
src/ui/frames.c