From c9ef2f0118297201729b517a87590729125bb608 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 14 Sep 2003 21:07:06 +0000 Subject: [PATCH] dont bother fucking everythign up when the desktops number hasnt changed --- openbox/screen.c | 2 ++ 1 file changed, 2 insertions(+) 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), -- 2.39.2