aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2016-09-30 18:28:06 +0000
committerokan2016-09-30 18:28:06 +0000
commit3c9ef4366fd228c7272aa4f467ee4f7ecadf2049 (patch)
tree9156fb5949d06e6243f4fd6a92a55c24aa923090 /calmwm.h
parent6683b9c99889c3bbc28f721777801aef4ba84bf9 (diff)
downloadcwm-3c9ef4366fd228c7272aa4f467ee4f7ecadf2049.tar.gz
Use instinsic X11 functions for key/btn/ptr grab/ungrab/regrab requests;
the one line wrappers provided no value and limited altering calls where needed; additionally, most of them had but one caller.
Diffstat (limited to '')
-rw-r--r--calmwm.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/calmwm.h b/calmwm.h
index 6b8acca..e5a36ef 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: calmwm.h,v 1.317 2016/09/30 15:12:19 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.318 2016/09/30 18:28:06 okan Exp $
*/
#ifndef _CALMWM_H_
@@ -542,17 +542,10 @@ void conf_screen(struct screen_ctx *);
void xev_process(void);
-void xu_btn_grab(Window, int, unsigned int);
-void xu_btn_ungrab(Window);
int xu_getprop(Window, Atom, Atom, long, unsigned char **);
int xu_getstrprop(Window, Atom, char **);
-void xu_key_grab(Window, unsigned int, KeySym);
-void xu_key_ungrab(Window);
void xu_ptr_getpos(Window, int *, int *);
-int xu_ptr_grab(Window, unsigned int, Cursor);
-int xu_ptr_regrab(unsigned int, Cursor);
void xu_ptr_setpos(Window, int, int);
-void xu_ptr_ungrab(void);
void xu_xorcolor(XftColor, XftColor, XftColor *);
void xu_ewmh_net_supported(struct screen_ctx *);