Skip to content

Commit

Permalink
Load xcursor scale factors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Rabinoff authored and jwijenbergh committed Dec 15, 2023
1 parent e0b6b0e commit 20739f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libqtile/backend/wayland/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,8 @@ def _output_manager_reconfigure(self, config: OutputConfigurationV1, apply: bool
self.output_layout.add(wlr_output, state.x, state.y)
wlr_output.set_transform(state.transform)
wlr_output.set_scale(state.scale)
# Ensure we have cursors loaded for the new scale factor.
self.cursor_manager.load(state.scale)
else:
if wlr_output.enabled:
wlr_output.enable(enable=False)
Expand Down

0 comments on commit 20739f8

Please sign in to comment.