mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-24 06:59:50 -05:00
Don't use poll timeout for timing animation.
Receiving events breaks out of the poll and resets the time out. Effectively, this blocks the animation when the client receives events. As a quick fix, use timerfd for timing the animation.
This commit is contained in:
parent
5a27f3e6a7
commit
d3fa34ca29
2 changed files with 28 additions and 6 deletions
2
Makefile
2
Makefile
|
|
@ -21,7 +21,7 @@ flower_objs = flower.o
|
|||
pointer_objs = pointer.o
|
||||
|
||||
$(clients) : CFLAGS += $(shell pkg-config --cflags cairo)
|
||||
$(clients) : LDLIBS += $(shell pkg-config --libs cairo)
|
||||
$(clients) : LDLIBS += $(shell pkg-config --libs cairo) -lrt
|
||||
|
||||
define client_template
|
||||
$(1): $$($(1)_objs) libwayland.so
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue