Skip to content

Commit 835689f

Browse files
committed
app/window: sync window maximize state from app side
1 parent d9e11c3 commit 835689f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ddterm/app/appwindow.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,12 @@ class DDTermAppWindow extends Gtk.ApplicationWindow {
361361
this.emit('size-allocate', width, height);
362362
}
363363

364+
vfunc_map() {
365+
this.maximized = this.settings.get_boolean('window-maximize');
366+
367+
super.vfunc_map();
368+
}
369+
364370
create_notebook() {
365371
const notebook = new Notebook({
366372
terminal_settings: this.terminal_settings,

0 commit comments

Comments
 (0)