only send ICCCM move/resize if it isn't already going to be sent

This commit is contained in:
Mike Blumenkrantz 2014-01-24 16:20:21 -05:00
parent d48f386c23
commit 57903b7aa3
1 changed files with 2 additions and 1 deletions

View File

@ -1572,7 +1572,8 @@ _e_comp_x_configure_request(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore
}
/* FIXME: need to send synthetic stacking event too as well as move/resize */
_e_comp_x_client_move_resize_send(ec);
if (((ec->maximized & E_MAXIMIZE_TYPE) != E_MAXIMIZE_NONE) && (move || resize))
_e_comp_x_client_move_resize_send(ec);
return ECORE_CALLBACK_PASS_ON;
}