diff options
| -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), |
