Send tablet tool frame on proximity_out

Fixes GTK application crashes
This commit is contained in:
myfreeweb 2019-07-29 00:39:37 +03:00 committed by Drew DeVault
parent 98cd11c019
commit 774548696c
1 changed files with 1 additions and 0 deletions

View File

@ -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;