kennylevinsen/wldash

wldash toggle-visible displaces displayed surface

Closed this issue · 4 comments

Mel34 commented

Steps to reproduce:
Run wldash
wldash toggle-visible
wldash toggle-visible

Screenshot_2019-09-10-120151

I assume that the screenshot is a full-screen screenshot, showing wldash position as being offset (or rather, the upper left corner being centered)?

Mel34 commented

yes, that is correct

Sorry for the delay.

Fixed in master. Layer size was not correctly re-reported after toggle, so the compositor assumed a 0-sized layer for positioning. The result is that the upper left corner was centered, rather than the entire layer.

Mel34 commented

No worries, I am grateful for all the improvements whenever you find the time to make them. Thanks for this project.