server: adjust minimum and maximum window sizes to account for decorations
Fixes #271
This commit is contained in:
parent
ae98f974e0
commit
83e4aab4d5
4 changed files with 31 additions and 6 deletions
|
|
@ -145,7 +145,6 @@ impl DecorationsDataSatellite {
|
|||
|
||||
pub fn draw_decorations(&mut self, world: &World, width: i32, parent_scale_factor: f32) {
|
||||
if !self.will_draw_decorations(width) {
|
||||
println!("not drawing ({} {})", width, self.should_draw);
|
||||
if self.remove_buffer {
|
||||
self.surface.attach(None, 0, 0);
|
||||
self.surface.commit();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue