diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-14 21:07:06 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-14 21:07:06 +0000 |
| commit | c9ef2f0118297201729b517a87590729125bb608 (patch) | |
| tree | 699e416e722a01ba57ef73eefc44ef19734f83b4 | |
| parent | 9a7db27b467944c9ade8fd09a89200b2d2aa6e30 (diff) | |
dont bother fucking everythign up when the desktops number hasnt changed
| -rw-r--r-- | openbox/screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/screen.c b/openbox/screen.c index b1b1a561..f999a34b 100644 --- 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), |
