aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2012-01-18 20:36:30 +0200
committerIvan Kanakarakis <ivan.kanak@gmail.com>2012-01-18 20:36:30 +0200
commit9d4896ae86a1b0f6a3b266ca557991962ceb29c4 (patch)
treeb230d3f88fbc07f2758fd4281a8aaf9a54c3e1f7
parent4360e1e96fc089753316d5d9b75796ee8d4ba741 (diff)
fullscreen client can move freely
-rw-r--r--monsterwm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/monsterwm.c b/monsterwm.c
index 6380ad3..cb7ed1b 100644
--- a/monsterwm.c
+++ b/monsterwm.c
@@ -545,7 +545,6 @@ void mousemotion(const Arg *arg) {
*/
void move_down() {
if (!current || !head->next) return;
- for (client *t=head; t; t=t->next) if (t->isfullscreen) return;
/* p is previous, n is next, if current is head n is last, c is current */
client *p = NULL, *n = (current->next) ? current->next : head;
@@ -587,7 +586,6 @@ void move_down() {
*/
void move_up() {
if (!current || !head->next) return;
- for (client *t=head; t; t=t->next) if (t->isfullscreen) return;
client *pp = NULL, *p;
/* p is previous from current or last if current is head */