set the x/y values in the moveresize struct for moveresize key actions

This commit is contained in:
Dana Jansens 2003-07-22 17:00:19 +00:00
parent a057d14c8b
commit 221415e97c

View file

@ -239,6 +239,11 @@ static void event(ObEvent *e, void *foo)
act->data.cycle.cancel = FALSE; act->data.cycle.cancel = FALSE;
} }
if (act->func == action_moveresize) {
screen_pointer_pos(&act->data.moveresize.x,
&act->data.moveresize.y);
}
if (act->func == action_cycle_windows && if (act->func == action_cycle_windows &&
!grabbed_key && grab_keyboard(TRUE)) { !grabbed_key && grab_keyboard(TRUE)) {
grabbed_key = p; grabbed_key = p;