[mutter] cursor-renderer-native: Don't move the cursor when we don't need to
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] cursor-renderer-native: Don't move the cursor when we don't need to
- Date: Sat, 17 May 2014 17:29:03 +0000 (UTC)
commit fb9f22c02fcd8abfcec4858dfde855567fafffc1
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sat May 17 10:58:49 2014 -0400
cursor-renderer-native: Don't move the cursor when we don't need to
src/backends/native/meta-cursor-renderer-native.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/backends/native/meta-cursor-renderer-native.c
b/src/backends/native/meta-cursor-renderer-native.c
index ad823c6..873be30 100644
--- a/src/backends/native/meta-cursor-renderer-native.c
+++ b/src/backends/native/meta-cursor-renderer-native.c
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]