mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-01 22:58:40 -04:00
Add glib main loop integration, use it in flower client.
This commit is contained in:
parent
7f77bd8fbe
commit
fb59084fbf
9 changed files with 194 additions and 93 deletions
5
Makefile
5
Makefile
|
|
@ -42,7 +42,7 @@ glx-compositor.so : $(glx_compositor_objs)
|
|||
libwayland.so $(compositors) :
|
||||
gcc -o $@ $^ $(LDLIBS) -shared
|
||||
|
||||
flower_objs = flower.o
|
||||
flower_objs = flower.o wayland-glib.o
|
||||
pointer_objs = pointer.o
|
||||
background_objs = background.o
|
||||
window_objs = window.o gears.o
|
||||
|
|
@ -53,6 +53,9 @@ $(clients) : LDLIBS += $(shell pkg-config --libs cairo) -lrt
|
|||
background : CFLAGS += $(shell pkg-config --cflags gdk-pixbuf-2.0)
|
||||
background : LDLIBS += $(shell pkg-config --libs gdk-pixbuf-2.0)
|
||||
|
||||
flower : CFLAGS += $(shell pkg-config --cflags glib-2.0)
|
||||
flower : LDLIBS += $(shell pkg-config --libs glib-2.0)
|
||||
|
||||
window : CFLAGS += $(EAGLE_CFLAGS)
|
||||
window : LDLIBS += $(EAGLE_LDLIBS)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue