feat: equal-sized tabs and constantly updated tab titles
All checks were successful
Build and Test / build (push) Successful in 25s
Build and Test / release (push) Successful in 3s

This commit is contained in:
Lucas Oskorep
2026-02-27 12:24:58 -05:00
parent e2a1792388
commit cbaa802797
6 changed files with 46 additions and 8 deletions

View File

@@ -22,6 +22,8 @@ export interface IWindowManager {
handleWindowPositionChanged(winWrap: WindowWrapper): void;
handleWindowTitleChanged(winWrap: WindowWrapper): void;
syncActiveWindow(): number | null;
}
@@ -420,6 +422,11 @@ export default class WindowManager implements IWindowManager {
this._tileMonitors();
}
handleWindowTitleChanged(window: WindowWrapper): void {
const mon_id = window._window.get_monitor();
this._monitors.get(mon_id)?.refreshTabTitlesForWindow(window);
}
public addWindowToMonitor(window: Meta.Window) {
Logger.log("ADDING WINDOW TO MONITOR", window, window);
var wrapper = new WindowWrapper(window, (winWrap) => this.handleWindowMinimized(winWrap))