Strange problem with mouse on GNOME

I use archlinux. From some days ago, mouse’s clicks (mostly left and sometime both) suddenly stop working while (mostly) cursor and scroll work! The strange part is that `libinput` detects clicks perfectly! This is `journalctl -f` after this happening:

اوت 31 20:22:03 rezarch gnome-shell[32121]: clutter_input_focus_set_cursor_location: assertion 'clutter_input_focus_is_focused (focus)' failed
اوت 31 20:22:03 rezarch gnome-shell[32121]: clutter_input_focus_set_surrounding: assertion 'clutter_input_focus_is_focused (focus)' failed
اوت 31 20:22:03 rezarch gdm-password][44480]: gkr-pam: unlocked login keyring
اوت 31 20:22:04 rezarch gnome-shell[32121]: meta_dbus_session_manager_uninhibit: assertion 'priv->inhibit_count > 0' failed
اوت 31 20:22:04 rezarch gnome-shell[32121]: meta_dbus_session_manager_uninhibit: assertion 'priv->inhibit_count > 0' failed
اوت 31 20:22:04 rezarch gnome-shell[32121]: meta_dbus_session_manager_uninhibit: assertion 'priv->inhibit_count > 0' failed
اوت 31 20:23:01 rezarch systemd[25506]: Started VTE child process 44833 launched by kgx process 39798.

GNOME and mutter are both 50.4.