view: allow imove/iresize with subsurfaces
This commit is contained in:
parent
17814972ab
commit
67c41f189a
1 changed files with 1 additions and 2 deletions
|
@ -147,9 +147,8 @@ view_begin_interactive(
|
||||||
struct kiwmi_cursor *cursor = server->input.cursor;
|
struct kiwmi_cursor *cursor = server->input.cursor;
|
||||||
struct wlr_surface *focused_surface =
|
struct wlr_surface *focused_surface =
|
||||||
server->input.seat->seat->pointer_state.focused_surface;
|
server->input.seat->seat->pointer_state.focused_surface;
|
||||||
struct wlr_surface *wlr_surface = view->wlr_surface;
|
|
||||||
|
|
||||||
if (wlr_surface != focused_surface) {
|
if (view->wlr_surface != wlr_surface_get_root_surface(focused_surface)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue