commit 4261c47df75d29e8f841a2ac1e074a0d6c5288e2 from: Omar Polo date: Sun Oct 20 13:09:17 2019 UTC -1 on x and y to prevent other windows to grab the focus With the new mx/my I noticed that sometimes the window behind mymenu re-grab the keybard. Making sure that the mouse is inside the window seems to work. commit - 6fa0451487d8d7e3a13171f5de74a72efda2d725 commit + 4261c47df75d29e8f841a2ac1e074a0d6c5288e2 blob - a65022d57f4b3d64d7edd68e55405515ca0447f9 blob + 25d8e2e594afacd31bfa7bb9bfcd5e7059209321 --- mymenu.c +++ mymenu.c @@ -1047,9 +1047,9 @@ parse_int_with_pos(Display *d, const char *str, int de get_mouse_coords(d, &x, &y); if (!strcmp(str, "mx")) - return x; + return x - 1; else - return y; + return y - 1; } return parse_int_with_percentage(str, default_value, max); }