lynks-- / lifebar

Transparent workspace bar for i3 window manager.
GNU General Public License v2.0
36 stars 6 forks source link

Multiscreen with tiled wallpaper - lifebar failes to launch #12

Open lynks-- opened 10 years ago

lynks-- commented 10 years ago

If you run more than one monitor and have a background image smaller than the combined pixel size of all your monitors (that is, your background is tiled and repeats), lifebar fails to start with an xlib error on the call to X_GetImage.

This is because it tries to read the background image outside of the image bounds, and is not coded to wrap the pixel coordinates.

A workaround is to edit your background image into a jpg that matches your total screen size. A proper solution will be to make the X_GetImage call wrap.

lynks-- commented 10 years ago

On second thought having multiple monitors or not is irrelevant, the issue is when your background image is not the same size in pixels as your total screen, regardless of monitor count.