aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/tablet_v2/wlr_tablet_v2_tool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/types/tablet_v2/wlr_tablet_v2_tool.c b/types/tablet_v2/wlr_tablet_v2_tool.c
index 48348197..5ef19be8 100644
--- a/types/tablet_v2/wlr_tablet_v2_tool.c
+++ b/types/tablet_v2/wlr_tablet_v2_tool.c
@@ -848,6 +848,7 @@ void wlr_tablet_tool_v2_start_implicit_grab(
}
state->original = tool->focused_surface;
+ state->focused = tool->focused_surface;
grab->data = state;
wlr_tablet_tool_v2_start_grab(tool, grab);