Fix grab widget is key snooper

This commit is contained in:
brummer10 2022-08-31 18:23:06 +02:00
parent 7fb017cb88
commit b663f4602a
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ void _check_enum(Widget_t * wid, XButtonEvent *xbutton) {
void _button_press(Widget_t * wid, XButtonEvent *xbutton, void* user_data) {
if(wid->app->hold_grab != NULL) {
int ch = childlist_has_child(wid->childlist);
if (ch>1) {
if (ch>1 && wid->app->key_snooper == NULL) {
if (xbutton->window == wid->app->hold_grab->childlist->childs[1]->widget) {
wid->app->is_grab = true;
} else {