aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.c
diff options
context:
space:
mode:
authorokan2010-01-27 03:04:50 +0000
committerokan2010-01-27 03:04:50 +0000
commitcf907fa95c4a6c1fa13ad717089fa5d0cb099350 (patch)
tree6b333345d88e56bcf35f7f67aee73831f5790560 /calmwm.c
parentfb3ff22ef266df7aab2945a994a190f507cdfc51 (diff)
downloadcwm-cf907fa95c4a6c1fa13ad717089fa5d0cb099350.tar.gz
- allow per-screen gap; not (yet) user configurable.
- teach _NET_WORKAREA about gap. ok oga@
Diffstat (limited to '')
-rw-r--r--calmwm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calmwm.c b/calmwm.c
index d04d861..17d283a 100644
--- a/calmwm.c
+++ b/calmwm.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: calmwm.c,v 1.51 2009/12/15 04:10:42 okan Exp $
+ * $Id: calmwm.c,v 1.52 2010/01/27 03:04:50 okan Exp $
*/
#include <sys/param.h>
@@ -159,6 +159,7 @@ x_setupscreen(struct screen_ctx *sc, u_int which)
sc->which = which;
sc->rootwin = RootWindow(X_Dpy, sc->which);
+ conf_gap(&Conf, sc);
screen_update_geometry(sc, DisplayWidth(X_Dpy, sc->which),
DisplayHeight(X_Dpy, sc->which));