mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-02-04 10:13:07 +00:00
update dwl to upstream main
This commit is contained in:
parent
210bf0389a
commit
d95ab55d58
2
Makefile
2
Makefile
@ -12,7 +12,7 @@ DWLDEVCFLAGS = -g -pedantic -Wall -Wextra -Wdeclaration-after-statement \
|
|||||||
-Wfloat-conversion
|
-Wfloat-conversion
|
||||||
|
|
||||||
# CFLAGS / LDFLAGS
|
# CFLAGS / LDFLAGS
|
||||||
PKGS = wlroots-0.19 wayland-server xkbcommon libinput $(XLIBS)
|
PKGS = wlroots-0.19 wayland-server xkbcommon libinput pixman-1 fcft $(XLIBS)
|
||||||
DWLCFLAGS = `$(PKG_CONFIG) --cflags $(PKGS)` $(DWLCPPFLAGS) $(DWLDEVCFLAGS) $(CFLAGS)
|
DWLCFLAGS = `$(PKG_CONFIG) --cflags $(PKGS)` $(DWLCPPFLAGS) $(DWLDEVCFLAGS) $(CFLAGS)
|
||||||
LDLIBS = `$(PKG_CONFIG) --libs $(PKGS)` -lm $(LIBS)
|
LDLIBS = `$(PKG_CONFIG) --libs $(PKGS)` -lm $(LIBS)
|
||||||
|
|
||||||
|
|||||||
6
dwl.c
6
dwl.c
@ -2779,6 +2779,12 @@ setup(void)
|
|||||||
LISTEN_STATIC(&output_mgr->events.apply, outputmgrapply);
|
LISTEN_STATIC(&output_mgr->events.apply, outputmgrapply);
|
||||||
LISTEN_STATIC(&output_mgr->events.test, outputmgrtest);
|
LISTEN_STATIC(&output_mgr->events.test, outputmgrtest);
|
||||||
|
|
||||||
|
drwl_init();
|
||||||
|
|
||||||
|
status_event_source = wl_event_loop_add_fd(wl_display_get_event_loop(dpy),
|
||||||
|
STDIN_FILENO, WL_EVENT_READABLE, status_in, NULL);
|
||||||
|
|
||||||
|
|
||||||
/* Make sure XWayland clients don't connect to the parent X server,
|
/* Make sure XWayland clients don't connect to the parent X server,
|
||||||
* e.g when running in the x11 backend or the wayland backend and the
|
* e.g when running in the x11 backend or the wayland backend and the
|
||||||
* compositor has Xwayland support */
|
* compositor has Xwayland support */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user