mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-14 08:56:26 -05:00
Fix surface layer damage tracking
This commit is contained in:
parent
e841e5602b
commit
776b81d499
4 changed files with 21 additions and 8 deletions
|
|
@ -76,7 +76,6 @@ static void draw(void) {
|
|||
int32_t old_top = margin_top;
|
||||
margin_top = -(20 - ((int)frame % 20));
|
||||
if (old_top != margin_top) {
|
||||
wlr_log(L_DEBUG, "setting margin to %d", margin_top);
|
||||
zwlr_layer_surface_v1_set_margin(layer_surface,
|
||||
margin_top, 0, 0, 0);
|
||||
wl_surface_commit(wl_surface);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue