mirror of
https://github.com/Rafostar/clapper.git
synced 2025-09-01 00:41:58 +02:00
Make remote app minimize, maximize and close buttons affect Clapper
This commit is contained in:
@@ -1,19 +1,12 @@
|
||||
const { GObject, Gtk } = imports.gi;
|
||||
const { GObject } = imports.gi;
|
||||
const { HeaderBarBase } = imports.src.headerbarBase;
|
||||
|
||||
var HeaderBar = GObject.registerClass(
|
||||
class ClapperHeaderBar extends HeaderBarBase
|
||||
{
|
||||
_init()
|
||||
{
|
||||
super._init();
|
||||
this.add_css_class('osd');
|
||||
this.add_css_class('osdheaderbar');
|
||||
}
|
||||
|
||||
_onWindowButtonActivate(action)
|
||||
{
|
||||
this.activate_action(action, null);
|
||||
this.activate_action(`window.${action}`, null);
|
||||
}
|
||||
|
||||
_onFloatButtonClicked()
|
||||
|
Reference in New Issue
Block a user