mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-24 18:58:33 +02:00
wallpaper: optimize use of XRandR
Don't ask for hardware update.
This commit is contained in:
parent
84b1aa99cc
commit
753eca739c
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ background = Image.new('RGB', (screen.width_in_pixels, screen.height_in_pixels))
|
|||
|
||||
# Query randr extension
|
||||
screens = []
|
||||
screen_resources = randr.get_screen_resources(window)
|
||||
screen_resources = randr.get_screen_resources_current(window)
|
||||
for output in screen_resources.outputs:
|
||||
output_info = randr.get_output_info(window, output,
|
||||
screen_resources.timestamp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue