Skip to content

Commit

Permalink
x11/wshowkeys: unbreak runtime after d81a61a
Browse files Browse the repository at this point in the history
$ WAYLAND_DEBUG=1 wshowkeys
[...]
[0.182]  -> wl_compositor@5.create_surface(new id wl_surface@3)
[0.185]  -> zwlr_layer_shell_v1@7.get_layer_surface(new id zwlr_layer_surface_v1@11, wl_surface@3, nil, 2, "showkeys")
[0.192]  -> zwlr_layer_surface_v1@11.set_anchor(0)
[0.194]  -> zwlr_layer_surface_v1@11.set_margin(32, 32, 32, 32)
[0.198]  -> zwlr_layer_surface_v1@11.set_exclusive_zone(-1)
[0.200]  -> wl_surface@3.commit()
[0.296]  -> wl_surface@3.attach(nil, 0, 0)
[0.302]  -> wl_surface@3.commit()
[0.313] wl_display@1.error(zwlr_layer_surface_v1@11, 1, "width 0 requested without setting left and right anchors")
zwlr_layer_surface_v1@11: error 1: width 0 requested without setting left and right anchors
wl_display_dispatch: Protocol error
  • Loading branch information
jbeich committed Aug 1, 2021
1 parent f24c2f0 commit 0385571
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x11/wshowkeys/Makefile
@@ -1,9 +1,13 @@
PORTNAME= wshowkeys
PORTVERSION= s20200330
DISTVERSIONSUFFIX= -0-g6388a49
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= https://git.sr.ht/~sircmpwn/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/

PATCH_SITES= https://github.com/ammgws/${PORTNAME}/commit/
PATCHFILES+= 35b6f15bd088.patch:-p1 # https://old.reddit.com/r/swaywm/comments/ovfzpv/new_custodianmaintainerbugfix_needed_for_wshowkeys/

MAINTAINER= jbeich@FreeBSD.org
COMMENT= Display keystrokes for screencasts on wlroots compositors

Expand Down
2 changes: 2 additions & 0 deletions x11/wshowkeys/distinfo
@@ -1,3 +1,5 @@
TIMESTAMP = 1585574498
SHA256 (wshowkeys-s20200330-0-g6388a49.tar.gz) = 1a32d4de6372464aa17f8da10688d03831edc838783ed72ee4ab15d830e0e808
SIZE (wshowkeys-s20200330-0-g6388a49.tar.gz) = 26748
SHA256 (35b6f15bd088.patch) = dea3c4bb80d3fa8647baedf315360ce7a129a81e80cfd9936adcaafbca15d8be
SIZE (35b6f15bd088.patch) = 759

0 comments on commit 0385571

Please sign in to comment.