2
* Copyright (C) 2011 Canonical Ltd.
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
* Sam Spilsbury <sam.spilsbury@canonical.com>
22
#ifndef _COMPIZ_INPUTREMOVER_H
23
#define _COMPIZ_INPUTREMOVER_H
26
#include <X11/Xatom.h>
27
#include <X11/extensions/shape.h>
29
// Will be merged back into compiz
32
class WindowInputRemover
36
WindowInputRemover (Display *, Window xid);
37
~WindowInputRemover ();
46
unsigned long mShapeMask;
48
XRectangle *mInputRects;
50
int mInputRectOrdering;
52
XRectangle *mBoundingRects;
54
int mBoundingRectOrdering;