aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--conf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/conf.c b/conf.c
index c6803a5..ae3fffa 100644
--- a/conf.c
+++ b/conf.c
@@ -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: conf.c,v 1.146 2013/10/07 13:40:26 okan Exp $
+ * $OpenBSD: conf.c,v 1.147 2013/10/19 19:39:34 okan Exp $
*/
#include <sys/param.h>
@@ -649,6 +649,8 @@ conf_grab_mouse(Window win)
{
struct mousebinding *mb;
+ xu_btn_ungrab(win);
+
TAILQ_FOREACH(mb, &Conf.mousebindingq, entry) {
if (mb->flags != MOUSEBIND_CTX_WIN)
continue;