about summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan <okan>2013-10-19 19:39:34 +0000
committerokan <okan>2013-10-19 19:39:34 +0000
commita2013ee9dd9b152c044f8120a89c3d5aa17af4ea (patch)
tree71597013b401f6ff79ba57672fe6b53ed10714ca /calmwm.h
parent083a023f2c0f36676d1015e1713ccac1b99bad59 (diff)
downloadcwm-a2013ee9dd9b152c044f8120a89c3d5aa17af4ea.tar.gz
cwm-a2013ee9dd9b152c044f8120a89c3d5aa17af4ea.tar.xz
cwm-a2013ee9dd9b152c044f8120a89c3d5aa17af4ea.zip
Using xu_btn_ungrab() buttons during client_leave doesn't work (error
BadValue) when the modifier is already AnyModifier .  Instead alter
xu_btn_ungrab() to ungrab AnyButton/AnyModifier and call it only when a
client is coming into focus in client_setactive(), instead of iterating
over ignore mods - matches how we handle key grabs.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index 07e223c..e888bac 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -511,7 +511,7 @@ void			 conf_screen(struct screen_ctx *);
 void			 xev_loop(void);
 
 void			 xu_btn_grab(Window, int, u_int);
-void			 xu_btn_ungrab(Window, int, u_int);
+void			 xu_btn_ungrab(Window);
 int			 xu_getprop(Window, Atom, Atom, long, unsigned char **);
 int			 xu_get_wm_state(Window, int *);
 int			 xu_getstrprop(Window, Atom, char **);