cursor-renderer/native: Remove unused DRM_CAP_CURSOR_{WIDTH,HEIGHT}

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2361>
This commit is contained in:
Daniel van Vugt 2022-04-05 17:57:34 +08:00 committed by Marge Bot
parent be9deeba09
commit af7e116b94

View File

@ -57,13 +57,6 @@
#include "wayland/meta-wayland-buffer.h" #include "wayland/meta-wayland-buffer.h"
#endif #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. /* When animating a cursor, we usually call drmModeSetCursor2 once per frame.
* Though, testing shows that we need to triple buffer the cursor buffer in * 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 * order to avoid glitches when animating the cursor, at least when running on