projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44c5552
)
dont move/resize !normal windows
author
Dana Jansens
<danakj@orodu.net>
Mon, 24 Mar 2003 18:42:20 +0000
(18:42 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 24 Mar 2003 18:42:20 +0000
(18:42 +0000)
openbox/action.c
patch
|
blob
|
history
diff --git
a/openbox/action.c
b/openbox/action.c
index cf2c03079e9d715f94bc2945941950a31ffbad8a..ef588910479b6b4bd4cc17efce3f5000cac2ffcf 100644
(file)
--- 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 */