GNOME Bugzilla – Bug 599397
Button stuck at pressed look after screen rotation
Last modified: 2009-12-11 16:18:44 UTC
I discovered this on Maemo. The screen rotates in certain cases, such as when flipping the keyboard or holding the device upright. If you hold a button pressed while triggering a rotation, the button never receives the release event and thus remains pressed forever.
Created attachment 146097 [details] [review] Reset pressed state when needed on screen change I solved this by making the button reset its pressed state on screen change.
That patch looks sane to me, given you verified that it works ;)
Pushed to master.