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:
72a9936
)
don't let move/resize occur on non-visible clients
author
Dana Jansens
<danakj@orodu.net>
Wed, 3 Sep 2003 22:02:21 +0000
(22:02 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 3 Sep 2003 22:02:21 +0000
(22:02 +0000)
openbox/moveresize.c
patch
|
blob
|
history
diff --git
a/openbox/moveresize.c
b/openbox/moveresize.c
index
8928a99
..
c0962ff
100644
(file)
--- a/
openbox/moveresize.c
+++ b/
openbox/moveresize.c
@@
-71,6
+71,9
@@
void moveresize_start(ObClient *c, int x, int y, guint b, guint32 cnr)
g_assert(!moveresize_in_progress);
+ if (!c->frame->visible)
+ return;
+
moveresize_client = c;
start_cx = c->frame->area.x;
start_cy = c->frame->area.y;