Compare commits
2 Commits
v0.2.2
...
renovate/j
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
402b4c3dbf | ||
|
|
75f2f107de |
1059
pnpm-lock.yaml
generated
1059
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -47,6 +47,10 @@ export class WindowWrapper {
|
||||
return this._window.get_frame_rect();
|
||||
}
|
||||
|
||||
isFullscreen(): boolean {
|
||||
return this._window.is_fullscreen();
|
||||
}
|
||||
|
||||
getTabLabel(): string {
|
||||
const rawAppName = this._window.get_wm_class() ?? '';
|
||||
// Strip reverse-domain prefix (e.g. "org.gnome.Nautilus" -> "Nautilus")
|
||||
@@ -140,6 +144,11 @@ export class WindowWrapper {
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.isFullscreen()) {
|
||||
Logger.info("STOPPED RESIZE BECAUSE WINDOW IS FULLSCREEN");
|
||||
return;
|
||||
}
|
||||
|
||||
const actor = this._window.get_compositor_private() as Clutter.Actor | null;
|
||||
if (!actor) {
|
||||
Logger.log("No actor available, can't resize safely yet");
|
||||
|
||||
Reference in New Issue
Block a user