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:
9a7db27
)
dont bother fucking everythign up when the desktops number hasnt changed
author
Dana Jansens
<danakj@orodu.net>
Sun, 14 Sep 2003 21:07:06 +0000
(21:07 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 14 Sep 2003 21:07:06 +0000
(21:07 +0000)
openbox/screen.c
patch
|
blob
|
history
diff --git
a/openbox/screen.c
b/openbox/screen.c
index b1b1a561c1da8678044757f4fe9529dc883f1a49..f999a34b1dddf7dd32e828f6457747d38bc5c389 100644
(file)
--- a/
openbox/screen.c
+++ b/
openbox/screen.c
@@
-350,6
+350,8
@@
void screen_set_num_desktops(guint num)
g_assert(num > 0);
+ if (screen_num_desktops == num) return;
+
old = screen_num_desktops;
screen_num_desktops = num;
PROP_SET32(RootWindow(ob_display, ob_screen),