diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-09-27 17:09:05 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-09-27 22:51:37 +1000 |
commit | 6d0442c0c2cfcb75f855348b8133abcb2f3c2427 (patch) | |
tree | 9d868c6458b573712f52c3c5b652dc702dc731d5 /sway/desktop/xwayland.c | |
parent | Remove CSD from toggle list if client doesn't support it (diff) | |
download | sway-6d0442c0c2cfcb75f855348b8133abcb2f3c2427.tar.gz sway-6d0442c0c2cfcb75f855348b8133abcb2f3c2427.tar.zst sway-6d0442c0c2cfcb75f855348b8133abcb2f3c2427.zip |
Rename view_set_csd_from_client to view_update_csd_from_client
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r-- | sway/desktop/xwayland.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index f1205518..4c710f7e 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c | |||
@@ -250,7 +250,7 @@ static void handle_set_decorations(struct wl_listener *listener, void *data) { | |||
250 | struct wlr_xwayland_surface *xsurface = view->wlr_xwayland_surface; | 250 | struct wlr_xwayland_surface *xsurface = view->wlr_xwayland_surface; |
251 | 251 | ||
252 | bool csd = xsurface->decorations != WLR_XWAYLAND_SURFACE_DECORATIONS_ALL; | 252 | bool csd = xsurface->decorations != WLR_XWAYLAND_SURFACE_DECORATIONS_ALL; |
253 | view_set_csd_from_client(view, csd); | 253 | view_update_csd_from_client(view, csd); |
254 | } | 254 | } |
255 | 255 | ||
256 | static void _close(struct sway_view *view) { | 256 | static void _close(struct sway_view *view) { |