mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-24 06:59:50 -05:00
Remove input structs
Looking at the functionality in the server library, it's clear (in hindsight) that there are two different "things" in there: 1) The IPC API, that is, everything that concerns wl_display, wl_client, wl_resource and 2) and half-hearted attempt at sharing input code and focus logic that leaves a lot of problematic structs in the API surface, only to share less than 1000 lines of code. We can just move those input structs and helper functions into weston and cut libwayland-server down to just the core server side IPC API. In the short term, compositors can copy those structs and functions into their source, but longer term, they're probably better off reimplementing those objects and logic their native framework (QObject, GObject etc).
This commit is contained in:
parent
83248317e4
commit
e920572e5c
4 changed files with 1 additions and 1289 deletions
|
|
@ -19,11 +19,11 @@ libwayland_util_la_SOURCES = \
|
|||
wayland-private.h
|
||||
|
||||
libwayland_server_la_LIBADD = $(FFI_LIBS) libwayland-util.la -lrt -lm
|
||||
libwayland_server_la_LDFLAGS = -version-info 1:0:1
|
||||
libwayland_server_la_SOURCES = \
|
||||
wayland-protocol.c \
|
||||
wayland-server.c \
|
||||
wayland-shm.c \
|
||||
data-device.c \
|
||||
event-loop.c
|
||||
|
||||
libwayland_client_la_LIBADD = $(FFI_LIBS) libwayland-util.la -lrt -lm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue