mirror of
https://github.com/X11Libre/xf86-video-vmware.git
synced 2026-03-24 01:24:37 +00:00
vmware/vmwgfx: Fix cursor problem with multimon
In a multimon environment, the cursor would sometimes disappear on the newly enabled screen. Fix this. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
This commit is contained in:
@@ -213,6 +213,15 @@ crtc_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode,
|
||||
crtc->active = TRUE;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Strictly, this needs to be done only once per configuration change,
|
||||
* not once per crtc, but there's no better place to put this. Since
|
||||
* Intel wrote the crtc code, let's do what the xf86-video-intel driver
|
||||
* does.
|
||||
*/
|
||||
if (pScreen)
|
||||
xf86_reload_cursors(pScreen);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user