diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-21 09:41:01 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-21 09:41:01 +0000 |
| commit | c2cbef62bb5d7e0c3f8c00e95bc885dc1f9ab1da (patch) | |
| tree | 2f368262765ec89d58ea6d63de3898aac2751bb8 /openbox/action.c | |
| parent | 1c7c94614dd64490063f768b71a5b9cf192ce1db (diff) | |
add a dispatched event for interactively moving a window.
move window snapping/resistance out of the kernel.
make the action_move dispatch the new event.
Diffstat (limited to 'openbox/action.c')
| -rw-r--r-- | openbox/action.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/action.c b/openbox/action.c index b05e3450..6a86cf33 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -3,7 +3,7 @@ #include "frame.h" #include "screen.h" #include "action.h" -#include "snap.h" +#include "dispatch.h" #include <glib.h> @@ -402,7 +402,7 @@ void action_move(union ActionData *data) int x = data->move.x; int y = data->move.y; - snap_move(c, &x, &y, c->frame->area.width, c->frame->area.height); + dispatch_move(c, &x, &y); frame_frame_gravity(c->frame, &x, &y); /* get where the client should be */ client_configure(c, Corner_TopLeft, x, y, c->area.width, c->area.height, |
