[mutter/wip/wayland] wayland: Use the default cursor image from X instead of from Weston
- From: Neil Roberts <nroberts src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/wayland] wayland: Use the default cursor image from X instead of from Weston
- Date: Fri, 20 Jan 2012 16:45:36 +0000 (UTC)
commit 517684c8d55993ec89bdb093c4dfdaa1a43116aa
Author: Neil Roberts <neil linux intel com>
Date: Fri Jan 20 14:16:57 2012 +0000
wayland: Use the default cursor image from X instead of from Weston
This replaces the default cursor image that is shown whenever the
cursor is not over any surface to the one from X instead of from
Weston so that it won't look so jarring when the cursor is moved.
data/left_ptr.png | Bin 1046 -> 736 bytes
src/wayland/meta-wayland-stage.c | 4 ++--
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/left_ptr.png b/data/left_ptr.png
index c42ac55..d3818cc 100644
Binary files a/data/left_ptr.png and b/data/left_ptr.png differ
diff --git a/src/wayland/meta-wayland-stage.c b/src/wayland/meta-wayland-stage.c
index 3f32199..4bf0d84 100644
--- a/src/wayland/meta-wayland-stage.c
+++ b/src/wayland/meta-wayland-stage.c
@@ -27,8 +27,8 @@
#include "meta-wayland-stage.h"
-#define META_WAYLAND_DEFAULT_CURSOR_HOTSPOT_X 10
-#define META_WAYLAND_DEFAULT_CURSOR_HOTSPOT_Y 5
+#define META_WAYLAND_DEFAULT_CURSOR_HOTSPOT_X 7
+#define META_WAYLAND_DEFAULT_CURSOR_HOTSPOT_Y 4
G_DEFINE_TYPE (MetaWaylandStage, meta_wayland_stage, CLUTTER_TYPE_STAGE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]