Open i5513 opened 10 years ago
+1
+1
As a workaround (until options for this are added), you can edit the function that calculates the bounds yourself. In src/gjs/extension.ts at line 636 change
Bounds.prototype.update = function(newMonitor)
{
if (newMonitor) this.monitor = newMonitor;
if (!this.monitor) throw new Error("monitor not yet set");
var panel_height = Main.panel.actor.height;
this.pos = {
x: this.monitor.x + self.screen_padding,
y: this.monitor.y + panel_height + self.screen_padding
};
this.size = {
x: this.monitor.width - (2 * self.screen_padding),
y: this.monitor.height - panel_height - (2 * self.screen_padding)
};
};
to
Bounds.prototype.update = function(newMonitor)
{
if (newMonitor) this.monitor = newMonitor;
if (!this.monitor) throw new Error("monitor not yet set");
var panel_height = Main.panel.actor.height;
this.pos = {
x: this.monitor.x + self.screen_padding,
y: this.monitor.y + self.screen_padding
};
this.size = {
x: this.monitor.width - (2 * self.screen_padding),
y: this.monitor.height - (2 * self.screen_padding)
};
};
This will remove the space reserved for the top bar.
Hello,
When top bar is not show (https://extensions.gnome.org/extension/545/hide-top-bar/) and you have two windows with horizontal tiling, the top space is empty and not used by both windows
Thank you