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:
31f63fb
)
i broke desktop switching
author
Dana Jansens
<danakj@orodu.net>
Fri, 25 May 2007 21:40:24 +0000
(21:40 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 25 May 2007 21:40:24 +0000
(21:40 +0000)
openbox/screen.c
patch
|
blob
|
history
diff --git
a/openbox/screen.c
b/openbox/screen.c
index 08b2d74036dc663f625d3b77be2eb2f8004df586..b7cb41c85d8722a040f396598d19fc59bf69f9d4 100644
(file)
--- a/
openbox/screen.c
+++ b/
openbox/screen.c
@@
-508,10
+508,11
@@
void screen_set_desktop(guint num, gboolean dofocus)
g_assert(num < screen_num_desktops);
- if (old == num) return;
-
old = screen_desktop;
screen_desktop = num;
+
+ if (old == num) return;
+
PROP_SET32(RootWindow(ob_display, ob_screen),
net_current_desktop, cardinal, num);