From 851555348ec39a01a0e150d2e12b71212b8d338b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 9 May 2007 17:58:58 +0000 Subject: support for _NET_WM_USER_TIME_WINDOW round 2 ! yay abstraction --- openbox/propwin.h | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 openbox/propwin.h (limited to 'openbox/propwin.h') diff --git a/openbox/propwin.h b/openbox/propwin.h new file mode 100644 index 00000000..1e014aaa --- /dev/null +++ b/openbox/propwin.h @@ -0,0 +1,40 @@ +/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- + + propwin.h for the Openbox window manager + Copyright (c) 2007 Dana 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 __propwin_h +#define __propwin_h + +#include +#include + +struct _ObClient; + +typedef enum { + OB_PROPWIN_USER_TIME, + OB_NUM_PROPWIN_TYPES +} ObPropWinType; + +void propwin_startup(gboolean reconfig); +void propwin_shutdown(gboolean reconfig); + +void propwin_add(Window win, ObPropWinType type, struct _ObClient *client); +void propwin_remove(Window win, ObPropWinType type, struct _ObClient *client); + +GSList* propwin_get_clients(Window win, ObPropWinType type); + +#endif -- cgit v1.2.3