Fix compile after wlroots commit c3e54021f8bbf3ec1c1e5906459be0ae85f5fb8c
This commit is contained in:
parent
06e97e51af
commit
a47f8ef478
|
@ -436,7 +436,7 @@ static void handle_map(struct wl_listener *listener, void *data) {
|
||||||
|
|
||||||
if (view->xdg_decoration) {
|
if (view->xdg_decoration) {
|
||||||
enum wlr_xdg_toplevel_decoration_v1_mode mode =
|
enum wlr_xdg_toplevel_decoration_v1_mode mode =
|
||||||
view->xdg_decoration->wlr_xdg_decoration->client_pending_mode;
|
view->xdg_decoration->wlr_xdg_decoration->requested_mode;
|
||||||
csd = mode == WLR_XDG_TOPLEVEL_DECORATION_V1_MODE_CLIENT_SIDE;
|
csd = mode == WLR_XDG_TOPLEVEL_DECORATION_V1_MODE_CLIENT_SIDE;
|
||||||
} else {
|
} else {
|
||||||
struct sway_server_decoration *deco =
|
struct sway_server_decoration *deco =
|
||||||
|
|
|
@ -27,7 +27,7 @@ static void xdg_decoration_handle_request_mode(struct wl_listener *listener,
|
||||||
enum wlr_xdg_toplevel_decoration_v1_mode mode =
|
enum wlr_xdg_toplevel_decoration_v1_mode mode =
|
||||||
WLR_XDG_TOPLEVEL_DECORATION_V1_MODE_SERVER_SIDE;
|
WLR_XDG_TOPLEVEL_DECORATION_V1_MODE_SERVER_SIDE;
|
||||||
enum wlr_xdg_toplevel_decoration_v1_mode client_mode =
|
enum wlr_xdg_toplevel_decoration_v1_mode client_mode =
|
||||||
deco->wlr_xdg_decoration->client_pending_mode;
|
deco->wlr_xdg_decoration->requested_mode;
|
||||||
|
|
||||||
bool floating;
|
bool floating;
|
||||||
if (view->container) {
|
if (view->container) {
|
||||||
|
|
Loading…
Reference in a new issue