#788966 gears.wallpaper.fit confused about xrandr screens

Package:
awesome
Source:
awesome
Description:
highly configurable X window manager
Submitter:
Wouter Verhelst
Date:
2015-06-16 17:39:06 UTC
Severity:
normal
#788966#5
Date:
2015-06-16 17:36:00 UTC
From:
To:
Hi,

After installing awesome 3.5 and being told that there were some changes
in the configuration API, I noticed that there now is a builtin API to
manage the wallpaper (something which was not the case when I first
configured awesome).

I chose to use gears.awesome.fit on each screen, but I notice that when
I change the number of active outputs with xrandr, the initial
information which gears.awesome.fit gets during the reinitialization of
awesome is incorrect.

See attached screenshot; the left part is a 1920x1200 external monitor,
the right part is the internal 1366x768 monitor of my laptop.

If I restart awesome (without changing the desktop layout), then
everything does work as it should.