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:
6f8d9cd
)
dont persist the linear state, not sure why i did it and it breaks stuff. hope changi...
author
Dana Jansens
<danakj@orodu.net>
Mon, 22 Dec 2003 18:54:14 +0000
(18:54 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 22 Dec 2003 18:54:14 +0000
(18:54 +0000)
openbox/screen.c
patch
|
blob
|
history
diff --git
a/openbox/screen.c
b/openbox/screen.c
index 6d7a56f143ce7630b617b72ac73900625ca54679..810d66b1e086df33f341db9a98362f949559a1b1 100644
(file)
--- 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 (lin
ear
) {
switch (dir) {
case OB_DIRECTION_EAST:
if (d < screen_num_desktops - 1)