wmii

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

movewin.c (258B)


      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 movewin(Window *w, Point pt) {
      8 	Rectangle r;
      9 
     10 	assert(w->type == WWindow);
     11 	r = rectsetorigin(w->r, pt);
     12 	reshapewin(w, r);
     13 }