Skip to content

Commit

Permalink
Fix use of lazy calls in popups
Browse files Browse the repository at this point in the history
qtile recently added support for argument type conversion over IPC. This
resulted in an additional argument being needed to parse lazy calls.
This PR ensures compatibility with those changes.
  • Loading branch information
elParaguayo committed Apr 25, 2024
1 parent 26eb12b commit cb90ceb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
2024-04-25: [BREAKING CHANGE] Update to using lazy calls in popups. Needs latest qtile.
2024-04-08: [RELEASE] v0.25.0 release - compatible with qtile 0.25.0
2024-03-10: [FEATURE] Expose widget popup menu commands and allow custom positioning
2024-03-02: [BUGFIX] Fix bug for volume widgets where bar crashes if volume is greater than 100%
Expand Down
2 changes: 1 addition & 1 deletion qtile_extras/popup/toolkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ def button_press(self, x, y, button):
cmd = self.mouse_callbacks[name]
if isinstance(cmd, LazyCall):
status, val = self.qtile.server.call(
(cmd.selectors, cmd.name, cmd.args, cmd.kwargs)
(cmd.selectors, cmd.name, cmd.args, cmd.kwargs, False)
)
if status in (interface.ERROR, interface.EXCEPTION):
logger.error("KB command error %s: %s", cmd.name, val)
Expand Down

0 comments on commit cb90ceb

Please sign in to comment.