From fb0cd132547c1745ea81683c272b46c058bb33b4 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 22 Dec 2003 18:54:14 +0000 Subject: [PATCH] dont persist the linear state, not sure why i did it and it breaks stuff. hope changing this doesnt break other stuff!!! closes #1025 --- openbox/screen.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/openbox/screen.c b/openbox/screen.c index 6d7a56f1..810d66b1 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -605,7 +605,6 @@ guint screen_cycle_desktop(ObDirection dir, gboolean wrap, gboolean linear, gboolean dialog, gboolean done, gboolean cancel) { static gboolean first = TRUE; - static gboolean lin; static guint origd, d; guint r, c; @@ -617,13 +616,12 @@ guint screen_cycle_desktop(ObDirection dir, gboolean wrap, gboolean linear, } if (first) { first = FALSE; - lin = linear; d = origd = screen_desktop; } get_row_col(d, &r, &c); - if (lin) { + if (linear) { switch (dir) { case OB_DIRECTION_EAST: if (d < screen_num_desktops - 1) -- 2.45.2