aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormyfreeweb <greg@unrelenting.technology>2019-07-29 00:39:37 +0300
committerDrew DeVault <sir@cmpwn.com>2019-12-18 13:23:07 -0500
commit774548696c0a5f3164a3ce5a85d893da6c3b18be (patch)
tree5ab3765d364dc9e1aba0266054cd121ae4ac48e1
parent98cd11c019e19e3abbc9685fcbc0ec855a4f7531 (diff)
Send tablet tool frame on proximity_out
Fixes GTK application crashes
-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 2decf4d7..7ebe5030 100644
--- a/types/tablet_v2/wlr_tablet_v2_tool.c
+++ b/types/tablet_v2/wlr_tablet_v2_tool.c
@@ -416,6 +416,7 @@ void wlr_send_tablet_v2_tablet_tool_proximity_out(
send_tool_frame(tool->current_client);
}
zwp_tablet_tool_v2_send_proximity_out(tool->current_client->resource);
+ send_tool_frame(tool->current_client);
tool->current_client = NULL;
tool->focused_surface = NULL;