diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-05-19 12:14:24 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-05-19 12:44:26 +0100 |
commit | e617c1941c4e5ee90b69221013aab799eace925d (patch) | |
tree | 89f4cff1861ad2993535511020f548e4921fd9ef /src/sna/sna.h | |
parent | 276a628827c126a36f66e5f1b572aff2ff61de04 (diff) |
sna: Force restoration of SW cursor after HW cursor fails
In order to reset the SW cursor, we need to call xf86CursorSetCursor.
However, the parameters we need to call SetCursor with are not exposed
we need to be a little tricky and call a pair of functions that will
save and then restore the cursor.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r-- | src/sna/sna.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h index 374754b4..8a405800 100644 --- a/src/sna/sna.h +++ b/src/sna/sna.h @@ -322,7 +322,8 @@ struct sna { uint32_t fg, bg; int size; - int active; + bool disable; + bool active; int last_x; int last_y; |