There is only one type of buffer now

This commit is contained in:
2022-11-15 17:36:41 -05:00
parent abc9945ea1
commit 77cf88b856
4 changed files with 37 additions and 85 deletions

View File

@@ -33,10 +33,6 @@ func (backend *Backend) handleConfigureNotify (
configureEvent =
backend.compressConfigureNotify(configureEvent)
// we should not resize the canvas while drawing is taking place
backend.drawLock.Lock()
defer backend.drawLock.Unlock()
// resize buffer
width, height := backend.calculateBufferSize()
backend.application.SetSize(width, height)