Skip to content

Commit

Permalink
Don't call layer_surface.set_size on configure
Browse files Browse the repository at this point in the history
  • Loading branch information
elinorbgr authored and harishkrupo committed Nov 7, 2018
1 parent 43cd80f commit 9ea695a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/bar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ height: {} required by the modules", o->height_, min_height) << std::endl;
"Bar configured (width: {}, height: {}) for output: {}",
o->width_, o->height_, o->output_name) << std::endl;

zwlr_layer_surface_v1_set_exclusive_zone(surface, o->height_);
zwlr_layer_surface_v1_set_size(surface, o->width_, o->height_);
wl_surface_commit(o->surface);
}
}
Expand Down

0 comments on commit 9ea695a

Please sign in to comment.