From: Kristian Høgsberg Date: Tue, 29 Apr 2014 21:11:26 +0000 (-0700) Subject: window.c: Update pointer focus when taking a grab X-Git-Tag: upstream/0.1.8~250 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=41f7ebc36acaa2289f4f21d7fd7613364048a4fb;p=profile%2Fivi%2Fweston-ivi-shell.git 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(struct input *input, struct widget *widget, uint32_t button) { input->grab = widget; input->grab_button = button; + + input_set_focus_widget(input, widget, input->sx, input->sy); } void