awesome/lib
Uli Schlachter f29eb2fee3 Fix wallpaper setting after RandR monitor changes
A co-worker of mine has a laptop with a small display and two larger displays.
When enabling the larger displays (and disabling the built-in display), the
wallpaper was set incorrectly. Only the size of the old, smaller screen actually
contained the wallpaper and the left was black.

The reason for this is that the code directly draws the new wallpaper to the
pixmap containing the old wallpaper. However, because the old display was
smaller, this pixmap isn't as large as the screen and so couldn't contain all of
the new wallpaper.

Fix this by explicitly creating a surface of the needed size and copying the old
wallpaper into it (because we might be setting only the wallpaper of some
screen, not all of them).

Special-thanks-to: vsp
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-04-28 17:31:39 +02:00
..
awful Fix awful.ewmh to handle window gravities 2016-02-17 18:16:00 +01:00
gears Fix wallpaper setting after RandR monitor changes 2016-04-28 17:31:39 +02:00
menubar menubar: handle nil Name in .desktop files 2016-01-29 18:30:25 +01:00
wibox wibox.layout.base.rect_to_device_geometry: Fix for "weird" rotations 2014-10-11 13:31:10 +02:00
beautiful.lua.in Expand '~' in the path for beautiful.init 2014-03-24 09:40:11 +01:00
naughty.lua.in naughty: Don't use the cache when loading icons (FS#1253) 2014-04-09 21:50:12 +02:00