dont move/resize !normal windows
Dana Jansens danakj@orodu.net
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
openbox/action.c
→
openbox/action.c
@@ -408,6 +408,8 @@ Client *c = data->move.c;
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 @@ {
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 */