X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmoveresize.h;h=67ab08c0d84e0eaab4e95bbc77da7b998fef08dc;hb=4d50b21835d7dd00ecc40efd64c5573d7e048500;hp=ba717cd8fe286b2fcab4eb7e3105d7bb872ad2b5;hpb=077cd7f94440a5001d62a2df03131a2c33a8c3e2;p=chaz%2Fopenbox diff --git a/openbox/moveresize.h b/openbox/moveresize.h index ba717cd8..67ab08c0 100644 --- a/openbox/moveresize.h +++ b/openbox/moveresize.h @@ -1,16 +1,36 @@ +/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- + + moveresize.h for the Openbox window manager + Copyright (c) 2003 Ben Jansens + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + See the COPYING file for a copy of the GNU General Public License. +*/ + #ifndef __moveresize_h #define __moveresize_h -#include "client.h" - #include +struct _ObClient; + extern gboolean moveresize_in_progress; -extern Client *moveresize_client; +extern struct _ObClient *moveresize_client; -void moveresize_startup(); +void moveresize_startup(gboolean reconfig); +void moveresize_shutdown(gboolean reconfig); -void moveresize_start(Client *c, int x, int y, guint button, guint32 corner); +void moveresize_start(struct _ObClient *c, + gint x, gint y, guint button, guint32 corner); void moveresize_end(gboolean cancel); void moveresize_event(XEvent *e);