From af7e116b942ba0fc723b0717419f6cd3cc2e80c5 Mon Sep 17 00:00:00 2001 From: Daniel van Vugt Date: Tue, 5 Apr 2022 17:57:34 +0800 Subject: [PATCH] cursor-renderer/native: Remove unused DRM_CAP_CURSOR_{WIDTH,HEIGHT} Part-of: --- src/backends/native/meta-cursor-renderer-native.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/backends/native/meta-cursor-renderer-native.c b/src/backends/native/meta-cursor-renderer-native.c index df5862c4c..c96974324 100644 --- a/src/backends/native/meta-cursor-renderer-native.c +++ b/src/backends/native/meta-cursor-renderer-native.c @@ -57,13 +57,6 @@ #include "wayland/meta-wayland-buffer.h" #endif -#ifndef DRM_CAP_CURSOR_WIDTH -#define DRM_CAP_CURSOR_WIDTH 0x8 -#endif -#ifndef DRM_CAP_CURSOR_HEIGHT -#define DRM_CAP_CURSOR_HEIGHT 0x9 -#endif - /* When animating a cursor, we usually call drmModeSetCursor2 once per frame. * Though, testing shows that we need to triple buffer the cursor buffer in * order to avoid glitches when animating the cursor, at least when running on