aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/cursor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index aa0e07f5..eab102fd 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -175,7 +175,8 @@ static enum wlr_edges find_edge(struct sway_container *cont,
return WLR_EDGE_NONE;
}
struct sway_view *view = cont->view;
- if (view->border == B_NONE || !view->border_thickness || view->using_csd) {
+ if (view->border == B_NONE || !view->border_thickness ||
+ view->border == B_CSD) {
return WLR_EDGE_NONE;
}