mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 19:10:43 -05:00
cursor-renderer-native: Don't move the cursor when we don't need to
This commit is contained in:
parent
10ac1000f7
commit
fb9f22c02f
@ -120,7 +120,7 @@ update_hw_cursor (MetaCursorRendererNative *native,
|
||||
|
||||
set_crtc_cursor (native, &crtcs[i], crtc_cursor, force);
|
||||
|
||||
if (cursor)
|
||||
if (crtc_cursor)
|
||||
{
|
||||
drmModeMoveCursor (priv->drm_fd, crtcs[i].crtc_id,
|
||||
cursor_rect->x - crtc_rect->x,
|
||||
|
Loading…
Reference in New Issue
Block a user