mirror of
https://github.com/Rafostar/clapper.git
synced 2025-09-02 09:22:01 +02:00
Make remote app minimize, maximize and close buttons affect Clapper
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
const { GObject } = imports.gi;
|
||||
const { AppBase } = imports.src.appBase;
|
||||
const { HeaderBarBase } = imports.src.headerbarBase;
|
||||
const { HeaderBarRemote } = imports.src.headerbarRemote;
|
||||
const { WidgetRemote } = imports.src.widgetRemote;
|
||||
|
||||
var AppRemote = GObject.registerClass(
|
||||
@@ -13,7 +13,7 @@ class ClapperAppRemote extends AppBase
|
||||
const clapperWidget = new WidgetRemote();
|
||||
this.active_window.set_child(clapperWidget);
|
||||
|
||||
const headerBar = new HeaderBarBase(this.active_window);
|
||||
const headerBar = new HeaderBarRemote();
|
||||
this.active_window.set_titlebar(headerBar);
|
||||
|
||||
this.active_window.maximize();
|
||||
|
Reference in New Issue
Block a user