diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-30 14:30:14 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-30 14:30:14 +1000 |
commit | 96c8c024830f13a27790d4ea36b640df383a7f49 (patch) | |
tree | 1dfb16aaaf34793103d4fcb88ced9c12e4d06505 /include/swaybar/event_loop.h | |
parent | 3a6ed5110c76ef5bed8cc4c26a97759f6201eaac (diff) |
Fix flash of background when xwayland views are mapped
A flash of background was happening for two reasons:
1) We were using the xsurface's dimensions to check if the surface is
ready, but these are pending dimensions.
2) In my particular setup, the default geometry of the xsurface does not
intersect any output, which prevented it from receiving a frame done
event. This made the transaction time out and the client would only
redraw once it's been rendered.
Diffstat (limited to 'include/swaybar/event_loop.h')
0 files changed, 0 insertions, 0 deletions