commit 6d446a98a2f7476e179aef4504fb64a15fd80f2c
parent 8bc4561883da1e25ad9fa9052397c92bf36036aa
Author: deurzen <max@deurzen.net>
Date: Wed, 1 Jun 2022 05:47:44 +0200
removes redundant fullscreen check
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/kranewl/tree/xwayland-view.cc b/src/kranewl/tree/xwayland-view.cc
@@ -482,7 +482,7 @@ XWaylandView::handle_request_move(struct wl_listener* listener, void*)
if (!xwayland_surface->mapped)
return;
- if (!view->mp_model->is_free(view) || view->fullscreen())
+ if (!view->mp_model->is_free(view))
return;
view->mp_model->cursor_interactive(Cursor::Mode::Move, view);
@@ -499,7 +499,7 @@ XWaylandView::handle_request_resize(struct wl_listener* listener, void* data)
if (!xwayland_surface->mapped)
return;
- if (!view->mp_model->is_free(view) || view->fullscreen())
+ if (!view->mp_model->is_free(view))
return;
struct wlr_xwayland_resize_event* event