Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Not all windows have a floating attribute
Fixes the following error when clicking on the bar: 2021-01-21 10:12:34,331 ERROR libqtile core.py:_xpoll():L295 Got an exception in poll loop Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/libqtile/backend/x11/core.py", line 263, in _xpoll ret = target(event) File "/usr/lib/python3.9/site-packages/libqtile/backend/x11/core.py", line 567, in handle_ButtonPress self.qtile.process_button_click( File "/usr/lib/python3.9/site-packages/libqtile/core/manager.py", line 748, in process_button_click self._focus_by_click(event) File "/usr/lib/python3.9/site-packages/libqtile/core/manager.py", line 704, in _focus_by_click self.config.bring_front_click != "floating_only" or window.floating AttributeError: 'Internal' object has no attribute 'floating' And this one when clicking on a dock window: 2021-01-21 10:12:55,684 ERROR libqtile core.py:_xpoll():L295 Got an exception in poll loop Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/libqtile/backend/x11/core.py", line 263, in _xpoll ret = target(event) File "/usr/lib/python3.9/site-packages/libqtile/backend/x11/core.py", line 567, in handle_ButtonPress self.qtile.process_button_click( File "/usr/lib/python3.9/site-packages/libqtile/core/manager.py", line 748, in process_button_click self._focus_by_click(event) File "/usr/lib/python3.9/site-packages/libqtile/core/manager.py", line 704, in _focus_by_click self.config.bring_front_click != "floating_only" or window.floating AttributeError: 'NoneType' object has no attribute 'floating' Related discussion: qtile#2122 (comment)
- Loading branch information