forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wdomirror: fix build failure by applying patch from GH #5
A recent change to xdg-shell-client-protocol causes a build failure. This was reported upstream as GH #5. User @AlexBMJ posted a two-line fix in that issue, but the developer has not yet responded: progandy/wdomirror#5 (comment)
- Loading branch information
Adam Joseph
committed
May 11, 2022
1 parent
84f1dce
commit de559a3
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
From https://github.com/progandy/wdomirror/issues/5#issuecomment-1103265438 | ||
|
||
--- a/main.c | ||
+++ b/main.c | ||
@@ -409,9 +409,12 @@ xdg_toplevel_handle_close(void *data, struct xdg_toplevel *xdg_toplevel) | ||
ctx->quit = true; | ||
} | ||
|
||
+static void xdg_toplevel_handle_configure_bounds(void *data, struct xdg_toplevel *toplevel, int32_t width, int32_t height) {} | ||
+ | ||
static const struct xdg_toplevel_listener xdg_toplevel_listener = { | ||
xdg_toplevel_handle_configure, | ||
xdg_toplevel_handle_close, | ||
+ xdg_toplevel_handle_configure_bounds, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters