[client] mouse: dont leave the window if any mouse buttons are held

This commit is contained in:
Geoffrey McRae
2021-01-17 15:13:45 +11:00
parent bab7eba7f0
commit d22124519e
2 changed files with 11 additions and 0 deletions

View File

@@ -226,6 +226,9 @@ struct CursorState
/* the local position */
struct DoublePoint pos;
/* the button state */
unsigned int buttons;
/* the delta since last warp when in auto capture mode */
struct DoublePoint delta;