]> Dogcows Code - chaz/openbox/commitdiff
dont persist the linear state, not sure why i did it and it breaks stuff. hope changi...
authorDana Jansens <danakj@orodu.net>
Mon, 22 Dec 2003 18:54:14 +0000 (18:54 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 22 Dec 2003 18:54:14 +0000 (18:54 +0000)
openbox/screen.c

index 6d7a56f143ce7630b617b72ac73900625ca54679..810d66b1e086df33f341db9a98362f949559a1b1 100644 (file)
@@ -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)
This page took 0.025357 seconds and 4 git commands to generate.