diff options
author | Kim Woelders <kim@woelders.dk> | 2008-06-22 01:12:13 -0400 |
---|---|---|
committer | James Cloos <cloos@jhcloos.com> | 2008-06-22 01:12:13 -0400 |
commit | c229611bcb7ee94bea5c075f5e15447e14c0f6ce (patch) | |
tree | cc753a96d011ece89685f5c3e0e37f5ce97fd1af /clientwin.h | |
parent | b7e88cd9d28a3d3e467b769f3efe87f7c2f4c0a5 (diff) |
Fix window selection by pointer.
This should fix things in WM’s using virtual roots as well as in tabbing WM’s.
Signed-off-by: James Cloos <cloos@jhcloos.com>
Diffstat (limited to 'clientwin.h')
-rw-r--r-- | clientwin.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/clientwin.h b/clientwin.h new file mode 100644 index 0000000..9fc59b5 --- /dev/null +++ b/clientwin.h @@ -0,0 +1,29 @@ +/* + * Copyright 2007 Kim woelders + * + * Permission to use, copy, modify, distribute, and sell this software and its + * documentation for any purpose is hereby granted without fee, provided that + * the above copyright notice appear in all copies and that both that copyright + * notice and this permission notice appear in supporting documentation, and + * that the name of the copyright holders not be used in advertising or + * publicity pertaining to distribution of the software without specific, + * written prior permission. The copyright holders make no representations + * about the suitability of this software for any purpose. It is provided "as + * is" without express or implied warranty. + * + * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO + * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR + * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, + * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE + * OF THIS SOFTWARE. + */ +#ifndef _CLIENTWIN_H_ +#define _CLIENTWIN_H_ + +#include <X11/Xlib.h> + +extern Window Find_Client(Display * dpy, Window root, Window target_win); + +#endif |