Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wayland: Fix self.qtile startup logic
In qtile#4757 we have fixed some of the logic with regards to setting self.qtile. This means that in certain scenarios the self.qtile attribute does not exist, e.g. when we're adding keyboards befor the config is loaded. We already mark these devices as "pending" if self.qtile is `None`, but this now does not work as the attribute is not set in the first place. Let's check with hasattr and remove the unneeded self.qtile setting inside of the keyboard constructor. This fixes qtile#4767
- Loading branch information