Commit f7a4384
committed
Bugfix releasing a key that was pressed over another window (i.e. Shift)
Bug: Open a Nodebox window, go to another X window, press "Shift" key, focus again on the Nodebox window with the mouse and release "Shift" key. Nodebox exits with a ValueError exception because the key is not in the _keys list of pressed keys.
Environment: Xubuntu Linux 14.04 (XFCE desktop)
Solution: ignore ValueError exceptions when removing keys from the _keys list1 parent e2de268 commit f7a4384
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3807 | 3807 | | |
3808 | 3808 | | |
3809 | 3809 | | |
3810 | | - | |
| 3810 | + | |
| 3811 | + | |
| 3812 | + | |
| 3813 | + | |
3811 | 3814 | | |
3812 | 3815 | | |
3813 | 3816 | | |
| |||
0 commit comments