From: Dana Jansens Date: Tue, 22 Jul 2003 17:00:19 +0000 (+0000) Subject: set the x/y values in the moveresize struct for moveresize key actions X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=221415e97c2279e0245d643f120b6558af72879e;p=chaz%2Fopenbox set the x/y values in the moveresize struct for moveresize key actions --- diff --git a/plugins/keyboard/keyboard.c b/plugins/keyboard/keyboard.c index caee0dc1..5ffb3ef5 100644 --- a/plugins/keyboard/keyboard.c +++ b/plugins/keyboard/keyboard.c @@ -239,6 +239,11 @@ static void event(ObEvent *e, void *foo) 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 && !grabbed_key && grab_keyboard(TRUE)) { grabbed_key = p;