use client window for x11 button ungrabbing

ref afb62b4989
This commit is contained in:
Mike Blumenkrantz 2015-06-30 18:46:33 -04:00
parent b0bf0379dc
commit c9a444c85d
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ _e_comp_x_focus_setup(E_Client *ec)
static void
_e_comp_x_focus_setdown(E_Client *ec)
{
Ecore_X_Window win = _e_comp_x_client_util_pwin_get(ec);
Ecore_X_Window win = _e_comp_x_client_util_win_get(ec);
if (!_e_comp_x_client_data_get(ec)->button_grabbed) return;
e_bindings_mouse_ungrab(E_BINDING_CONTEXT_WINDOW, win);