Correct and simplify buttonreleased() gdk event
authorQuentin Rameau <quinq@fifth.space>
Sun, 22 Nov 2015 01:10:18 +0000 (02:10 +0100)
committerQuentin Rameau <quinq@fifth.space>
Sun, 22 Nov 2015 01:10:18 +0000 (02:10 +0100)
commit6e68af115d24a11ca4135b7a620b68743eff2aa7
treeba7b9a61b7421d29bfe8ff7feb9212c8017e0c20
parentfef80cd56ccca7e0816d39e85cf6c0f3f09b8c3c
Correct and simplify buttonreleased() gdk event

The passed event is a GdkEvent (or GdkEventButton), but not a
GdkEventKey.
Access the struct directly.
surf.c