doc: sway/wlroots patch: explain the xdg_activation_v1 situation

This commit is contained in:
2023-09-09 10:52:07 +00:00
parent fd18da52a8
commit 755f844294

View File

@@ -85,6 +85,8 @@
# - <https://github.com/ErikReider/SwayNotificationCenter/issues/71> # - <https://github.com/ErikReider/SwayNotificationCenter/issues/71>
# - mako notification daemon supports activation, can use as a reference # - mako notification daemon supports activation, can use as a reference
# - all of ~30 LoC, looks straight-forward # - all of ~30 LoC, looks straight-forward
# - however, it's not clear that gtk4 (or dino) actually support this mode of activation.
# - i.e. my experience with dino is the same using mako as with SwayNC
postPatch = (upstream.postPatch or "") + '' postPatch = (upstream.postPatch or "") + ''
substituteInPlace types/wlr_xdg_activation_v1.c \ substituteInPlace types/wlr_xdg_activation_v1.c \
--replace 'if (token->seat != NULL)' 'if (false && token->seat != NULL)' --replace 'if (token->seat != NULL)' 'if (false && token->seat != NULL)'