mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-27 06:59:51 -05:00
Refactor window logic into reusable parts, add a new terminal application.
The gears code is moved into a new file gearc.c and the window decoration and management code stays in window.c. A new application 'terminal' is the second user of the windowing code, but doesn't do anything useful yet.
This commit is contained in:
parent
dc0f355f0a
commit
0c4457f0c2
7 changed files with 603 additions and 317 deletions
|
|
@ -1,7 +1,7 @@
|
|||
CFLAGS = @GCC_CFLAGS@
|
||||
|
||||
libs = libwayland-server.so libwayland.so
|
||||
clients = flower window screenshot
|
||||
clients = flower gears screenshot terminal
|
||||
compositors = egl-compositor glx-compositor
|
||||
|
||||
all : $(libs) $(compositors) $(clients)
|
||||
|
|
@ -38,8 +38,9 @@ glx-compositor : CFLAGS += @GL_COMPOSITOR_CFLAGS@
|
|||
glx-compositor : LDLIBS += @GL_COMPOSITOR_LIBS@ -L. -lwayland-server
|
||||
|
||||
flower : flower.o wayland-glib.o cairo-util.o
|
||||
window : window.o gears.o wayland-glib.o cairo-util.o
|
||||
gears : gears.o window.o wayland-glib.o cairo-util.o
|
||||
screenshot : screenshot.o wayland-glib.o
|
||||
terminal : terminal.o window.o wayland-glib.o cairo-util.o
|
||||
|
||||
$(clients) : CFLAGS += @CLIENT_CFLAGS@
|
||||
$(clients) : LDLIBS += @CLIENT_LIBS@ -L. -lwayland -lrt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue