From 84b4e0077485dc219300321d0155555ef9fdf0c9 Mon Sep 17 00:00:00 2001 From: Hamish Moffatt Date: Wed, 10 Sep 2008 13:16:23 +0000 Subject: [PATCH] Applied patch from Michel Wilson to allow the cursor in the X root window to be disabled. Unfortunately this is a compile-time option. --- package/x11r7/xserver_xorg-server/Config.in | 6 ++++++ package/x11r7/xserver_xorg-server/xserver_xorg-server.mk | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/package/x11r7/xserver_xorg-server/Config.in b/package/x11r7/xserver_xorg-server/Config.in index f50b21e36e..720ae31631 100644 --- a/package/x11r7/xserver_xorg-server/Config.in +++ b/package/x11r7/xserver_xorg-server/Config.in @@ -52,3 +52,9 @@ config BR2_PACKAGE_XSERVER_XORG_SERVER help xorg-server 1.4 No description available + +config BR2_PACKAGE_XSERVER_XORG_SERVER_NULL_CURSOR + bool "Null root cursor" + depends on BR2_PACKAGE_XSERVER_XORG_SERVER + help + Don't display root cursor. diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk index 72c5108016..e7c8758b15 100644 --- a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +++ b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk @@ -24,6 +24,12 @@ else XSERVER_XORG_ENABLE_KDRIVE:=--disable-kdrive --disable-xfbdev endif +ifeq ($(strip $(BR2_PACKAGE_XSERVER_XORG_SERVER_NULL_CURSOR)),y) +XSERVER_XORG_NULL_CURSOR:=--enable-null-root-cursor +else +XSERVER_XORG_NULL_CURSOR:=--disable-null-root-cursor +endif + XSERVER_XORG_SERVER_DEPENDENCIES = freetype xutil_util-macros xlib_libXfont libdrm xlib_libxkbui \ xproto_compositeproto xproto_damageproto xproto_fixesproto \ xproto_glproto xproto_kbproto xproto_randrproto freetype \ @@ -42,6 +48,7 @@ XSERVER_XORG_SERVER_CONF_OPT = $(XSERVER_XORG_ENABLE_KDRIVE) \ --enable-freetype $(XSERVER_XORG_ENABLE_MODULAR) \ --disable-config-hal $(XSERVER_XORG_MESA_DIR) \ --disable-xnest --disable-xephyr --disable-xvfb \ + $(XSERVER_XORG_NULL_CURSOR) CFLAGS="-I$(STAGING_DIR)/usr/include/pixman-1" XSERVER_XORG_SERVER_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install install-data -- 2.30.2