X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fscreen.c;h=b3bd54accf04339854b087c937f0bde45d68a73c;hb=80a6f06c0a3d6de2c7d94066c5a9764b97a600af;hp=62c3b58ef224fcc463da5748a2e8511d3b9b0538;hpb=1fad2da07f7fed1d640d57a2c7c2f666ebb409c4;p=chaz%2Fopenbox diff --git a/openbox/screen.c b/openbox/screen.c index 62c3b58e..b3bd54ac 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -1,7 +1,7 @@ /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- screen.c for the Openbox window manager - Copyright (c) 2004 Mikael Magnusson + Copyright (c) 2006 Mikael Magnusson Copyright (c) 2003 Ben Jansens This program is free software; you can redistribute it and/or modify @@ -296,7 +296,8 @@ void screen_startup(gboolean reconfig) screen_num_desktops = 0; screen_set_num_desktops(config_desktops_num); if (!reconfig) { - screen_set_desktop(MIN(config_screen_firstdesk, screen_num_desktops) - 1); + screen_set_desktop(MIN(config_screen_firstdesk, screen_num_desktops) + - 1); /* don't start in showing-desktop mode */ screen_showing_desktop = FALSE;