wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

reshapewin.c (293B)


      1 /* Copyright ©2007-2010 Kris Maglione <maglione.k at Gmail>
      2  * See LICENSE file for license details.
      3  */
      4 #include "../x11.h"
      5 
      6 void
      7 reshapewin(Window *w, Rectangle r) {
      8 	assert(w->type == WWindow);
      9 	assert(Dx(r) > 0 && Dy(r) > 0); /* Rather than an X error. */
     10 
     11 	configwin(w, r, w->border);
     12 }