mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-25 06:59:46 -05:00
Introduce libwayland-cursor, a cursor helper library
The purpose of this library is to be the equivalent of libXcursor in the X world. This library is compatible with X cursor themes and loads them directly into an shm pool making it easy for the clients to get buffer for each cursor image. The code for handling the X cursor theme was taken from libXcursor. The files cursor/xcursor.[ch] are a stripped down version of that library containing only the interfaces necessary for implementing the wayland counterpart.
This commit is contained in:
parent
ff0d745674
commit
775002c6c0
8 changed files with 1375 additions and 1 deletions
14
cursor/Makefile.am
Normal file
14
cursor/Makefile.am
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
lib_LTLIBRARIES = libwayland-cursor.la
|
||||
|
||||
include_HEADERS = wayland-cursor.h
|
||||
|
||||
libwayland_cursor_la_SOURCES = \
|
||||
wayland-cursor.c \
|
||||
xcursor.c \
|
||||
xcursor.h
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = wayland-cursor.pc
|
||||
|
||||
AM_CFLAGS = $(GCC_CFLAGS) -I../src
|
||||
LDADD = $(top_builddir)/src/libwayland-client.la
|
||||
Loading…
Add table
Add a link
Reference in a new issue