mirror of
https://github.com/labwc/labwc.git
synced 2026-04-07 08:21:20 -04:00
Stop generating wayland-protocols server headers
We still need to generate wlr-protocols server headers, as well as client headers and code. References: - https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5075 - https://github.com/swaywm/sway/pull/8838
This commit is contained in:
parent
b3f3fc9084
commit
fe1955fb27
2 changed files with 5 additions and 13 deletions
|
|
@ -42,7 +42,6 @@
|
|||
|
||||
#if HAVE_XWAYLAND
|
||||
#include <wlr/xwayland.h>
|
||||
#include "xwayland-shell-v1-protocol.h"
|
||||
#endif
|
||||
|
||||
#include "action.h"
|
||||
|
|
@ -308,7 +307,11 @@ server_global_filter(const struct wl_client *client, const struct wl_global *glo
|
|||
? server.xwayland->server->client
|
||||
: NULL;
|
||||
|
||||
if (client != xwayland_client && !strcmp(iface->name, xwayland_shell_v1_interface.name)) {
|
||||
/*
|
||||
* The interface name `xwayland_shell_v1_interface.name` is hard-coded
|
||||
* here to avoid generating and including `xwayland-shell-v1-protocol.h`
|
||||
*/
|
||||
if (client != xwayland_client && !strcmp(iface->name, "xwayland_shell_v1")) {
|
||||
/* Filter out the xwayland shell for usual clients */
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue