From Isaac Freund to ~leon_plickat/public-inbox
Currently this fails if the directory for the completion does not already exist, at least with FreeBSD install(1). --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index e298e15..9157869 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,7 @@ install: wlopm install wlopm $(DESTDIR)$(BINDIR) install -d $(DESTDIR)$(MANDIR)/man1 install -m 644 wlopm.1 $(DESTDIR)$(MANDIR)/man1 [message trimmed]
From Isaac Freund to ~leon_plickat/public-inbox
I needed to patch this to package wlopm for chimera linux, which uses FreeBSD's coreutils. Apparently -D is not portable, it means something different for FreeBSD install. --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5d2ac12..7957e98 100644 --- a/Makefile +++ b/Makefile @@ -21,8 +21,10 @@ $(OBJ): $(GEN) $(SCANNER) client-header < $< > $@ [message trimmed]
From Isaac Freund to ~emersion/public-inbox
The latest version of libwayland now prints warnings if we don't destroy these. warning: queue 0x56103a63e390 destroyed while proxies still attached: zwlr_output_mode_v1@4278190123 still attached zwlr_output_mode_v1@4278190122 still attached ... --- main.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 82c8466..33a1656 100644 --- a/main.c [message trimmed]
From Isaac Freund to ~emersion/public-inbox
--- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 6741c5e..145f80c 100644 --- a/main.c +++ b/main.c @@ -643,7 +643,7 @@ static bool parse_output_arg(struct randr_head *head, } if (strcmp(value, "enabled") == 0) { head->adaptive_sync_state = ZWLR_OUTPUT_HEAD_V1_ADAPTIVE_SYNC_STATE_ENABLED; } else if (strcmp(value, "disabed") == 0) { } else if (strcmp(value, "disabled") == 0) {[message trimmed]
From Isaac Freund to ~emersion/public-inbox
--- main.c | 43 ++++++++++++++++++- .../wlr-output-management-unstable-v1.xml | 36 ++++++++++++++-- 2 files changed, 73 insertions(+), 6 deletions(-) diff --git a/main.c b/main.c index 87f94af..6741c5e 100644 --- a/main.c +++ b/main.c @@ -42,6 +42,7 @@ struct randr_head { int32_t x, y; enum wl_output_transform transform; double scale; enum zwlr_output_head_v1_adaptive_sync_state adaptive_sync_state;[message trimmed]
From Isaac Freund to ~emersion/public-inbox
--- main.c | 43 ++++++++++++++++++- .../wlr-output-management-unstable-v1.xml | 34 +++++++++++++-- 2 files changed, 71 insertions(+), 6 deletions(-) diff --git a/main.c b/main.c index 87f94af..6741c5e 100644 --- a/main.c +++ b/main.c @@ -42,6 +42,7 @@ struct randr_head { int32_t x, y; enum wl_output_transform transform; double scale; enum zwlr_output_head_v1_adaptive_sync_state adaptive_sync_state;[message trimmed]
From Isaac Freund to ~emersion/public-inbox
--- main.c | 35 ++++++++++++++++++- .../wlr-output-management-unstable-v1.xml | 19 ++++++++++ 2 files changed, 53 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 87f94af..2d3b234 100644 --- a/main.c +++ b/main.c @@ -42,6 +42,7 @@ struct randr_head { int32_t x, y; enum wl_output_transform transform; double scale; bool adaptive_sync_enabled;[message trimmed]
From Isaac Freund to ~emersion/public-inbox
This is a proposed addition to the protocol to fix a race condition. References: https://gitlab.freedesktop.org/wlroots/wlr-protocols/-/merge_requests/114 --- main.c | 14 ++++-- .../wlr-output-management-unstable-v1.xml | 45 +++++++++++++------ 2 files changed, 43 insertions(+), 16 deletions(-) diff --git a/main.c b/main.c index 349a214..87f94af 100644 --- a/main.c +++ b/main.c @@ -214,7 +214,11 @@ static void mode_handle_finished(void *data, struct zwlr_output_mode_v1 *wlr_mode) { [message trimmed]
From Isaac Freund to ~emersion/public-inbox
This is a proposed addition to the protocol to fix a race condition. References: https://gitlab.freedesktop.org/wlroots/wlr-protocols/-/merge_requests/114 --- main.c | 8 +++- .../wlr-output-management-unstable-v1.xml | 45 +++++++++++++------ 2 files changed, 39 insertions(+), 14 deletions(-) diff --git a/main.c b/main.c index 349a214..b64a616 100644 --- a/main.c +++ b/main.c @@ -214,6 +214,9 @@ static void mode_handle_finished(void *data, struct zwlr_output_mode_v1 *wlr_mode) { [message trimmed]
From Isaac Freund to ~emersion/public-inbox
If the server advertises version 2, wlr-randr now prints the output head's make/model/serial in addition to the current information. On it's own this patch isn't terribly useful, but it allows us to implement upcoming version 3 protocol additions. --- main.c | 34 +++++++- .../wlr-output-management-unstable-v1.xml | 83 +++++++++++++++++-- 2 files changed, 110 insertions(+), 7 deletions(-) diff --git a/main.c b/main.c index 5dc4456..349a214 100644 --- a/main.c +++ b/main.c [message trimmed]