-
Notifications
You must be signed in to change notification settings - Fork 9
Avoid crash when there is no focused window in sight #2
Copy link
Copy link
Open
Description
Line 126 in 36f242b
| const focusedWindow = global.display.get_focus_window().get_id(); |
I have modified your extension to workaround the issue as follows:
const focusWindow = global.display.get_focus_window();
const focusedWindow = focusWindow ? focusWindow.get_id() : null;
This way, when I have no focused windows on my GNOME 44, I can still bring the terminal application from the background.
Please consider implementing my suggestion so I do not have to patch your otherwise awesome extension :D
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels