From: Dana Jansens Date: Sun, 14 Sep 2003 21:07:06 +0000 (+0000) Subject: dont bother fucking everythign up when the desktops number hasnt changed X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=c9ef2f0118297201729b517a87590729125bb608;p=chaz%2Fopenbox dont bother fucking everythign up when the desktops number hasnt changed --- 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),