diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-24 18:42:20 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-24 18:42:20 +0000 |
| commit | 66dc14754b32ad118de9b076a64e9e4a8e7ec7cd (patch) | |
| tree | 06a98e5ce2f7b2c9adfd2f060741e563d77040a1 /openbox/action.c | |
| parent | 44c55524273b7af2251068f87a9717f98de8d0ff (diff) | |
dont move/resize !normal windows
Diffstat (limited to 'openbox/action.c')
| -rw-r--r-- | openbox/action.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbox/action.c b/openbox/action.c index cf2c0307..ef588910 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -408,6 +408,8 @@ void action_move(union ActionData *data) int x = data->move.x; int y = data->move.y; + if (!client_normal(c)) return; + dispatch_move(c, &x, &y); frame_frame_gravity(c->frame, &x, &y); /* get where the client should be */ @@ -420,6 +422,8 @@ void action_resize(union ActionData *data) Client *c = data->resize.c; int w = data->resize.x - c->frame->size.left - c->frame->size.right; int h = data->resize.y - c->frame->size.top - c->frame->size.bottom; + + if (!client_normal(c)) return; /* XXX window snapping/struts */ |
