Do not restore window size if it exceeds screen size #38

This commit is contained in:
Rafał Dzięgiel
2021-02-06 23:13:29 +01:00
parent 6b6777ffba
commit 4debed92fe
2 changed files with 11 additions and 6 deletions

View File

@@ -31,10 +31,6 @@ class ClapperApp extends AppBase
const headerBar = new HeaderBar(this.active_window);
this.active_window.set_titlebar(headerBar);
const size = clapperWidget.windowSize;
this.active_window.set_default_size(size[0], size[1]);
debug(`restored window size: ${size[0]}x${size[1]}`);
}
vfunc_open(files, hint)