window.c: Update pointer focus when taking a grab
diff --git a/clients/window.c b/clients/window.c
index e2f7010..005102b 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -2558,6 +2558,8 @@
 {
 	input->grab = widget;
 	input->grab_button = button;
+
+	input_set_focus_widget(input, widget, input->sx, input->sy);
 }
 
 void