Stop windows from jumping to (0,0) location when resizing using keybindings.

SVN revision: 48316
This commit is contained in:
Jaime Thomas 2010-04-25 18:50:14 +00:00
parent 60c9515f6c
commit 202a06c9f6
1 changed files with 4 additions and 1 deletions

View File

@ -1057,7 +1057,10 @@ _e_border_move_resize_internal(E_Border *bd, int x, int y, int w, int h, Eina_Bo
if (resize && bd->client.netwm.sync.request)
{
bd->client.netwm.sync.wait++;
_e_border_pending_move_resize_add(bd, move, 1, x, y, w, h, without_border,
/* Don't use x and y as supplied to this function, as it is called with 0, 0
* when no move is intended. The border geometry is set above anyways.
*/
_e_border_pending_move_resize_add(bd, move, 1, bd->x, bd->y, bd->w, bd->h, without_border,
bd->client.netwm.sync.serial);
ecore_x_netwm_sync_request_send(bd->client.win,
bd->client.netwm.sync.serial++);