Save window size only when windowed and not in floating mode

This commit is contained in:
Rafał Dzięgiel
2021-02-16 17:04:56 +01:00
parent c908305be0
commit 887f189b60
2 changed files with 6 additions and 9 deletions

View File

@@ -137,12 +137,6 @@ class ClapperWidget extends Gtk.Grid
debug(`interface in fullscreen mode: ${isFullscreen}`);
}
_saveWindowSize(size)
{
settings.set_string('window-size', JSON.stringify(size));
debug(`saved window size: ${size[0]}x${size[1]}`);
}
_changeControlsPlacement(isOnTop)
{
if(isOnTop) {