Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Update
xf86-video-intel
U_sna-Hide-the-hardware-cursor-when-switching-b...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File U_sna-Hide-the-hardware-cursor-when-switching-back-aft.patch of Package xf86-video-intel
From 24f613cae4147e0e1e770ee22932b6e2fb7064a2 Mon Sep 17 00:00:00 2001 From: Chris Wilson <chris@chris-wilson.co.uk> Date: Thu, 28 Jul 2016 22:42:28 +0100 Subject: [PATCH] sna: Hide the hardware cursor when switching back after an error If the kernel complains when trying to move the cursor, we disable the hwcursor and switch to swcursor. However, if the kernel is still showing the hwcursor we end up with multiple visible cursors. Attempt to disable the hwcursor (that may or may not work) as we switch over. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> --- src/sna/sna_display.c | 2 ++ 1 file changed, 2 insertions(+) --- a/src/sna/sna_display.c +++ b/src/sna/sna_display.c @@ -5771,6 +5771,8 @@ static void __restore_swcursor(ScrnInfoP static void restore_swcursor(struct sna *sna) { + sna->cursor.info->HideCursor(sna->scrn); + /* XXX Force the cursor to be restored (avoiding recursion) */ FreeCursor(sna->cursor.ref, None); sna->cursor.ref = NULL;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor