jp9000 3a5d7b1168 libobs: Fix mouse button hotkeys on linux
The screen index returned from XDefaultScreen is 0-based, and we were
decrementing it before the check to see if it had reached 0 rather than
after, so in the default_screen function it would always end up getting
either the wrong screen or no screen.

When xcb_query_pointer and xcb_query_pointer_reply was called with no
valid screen, it would fail with an error, thus making it so that the
mouse buttons could not be properly captured as hotkeys.
2015-05-16 20:10:49 -07:00
..
2015-05-12 15:37:40 -07:00
2015-05-11 20:45:25 +02:00
2015-05-11 20:45:25 +02:00
2015-05-11 20:45:25 +02:00
2015-05-11 20:45:25 +02:00
2015-05-11 20:45:25 +02:00
2015-05-11 20:45:25 +02:00
2014-02-12 08:04:50 -07:00
2015-05-11 20:45:25 +02:00