Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return type of Main.layoutManager.getWorkAreaForMonitor is incorrect. #17

Closed
KSXGitHub opened this issue Feb 10, 2024 · 1 comment
Closed

Comments

@KSXGitHub
Copy link

It is currently void.

@schnz
Copy link
Member

schnz commented Feb 10, 2024

Published a fix under @girs/gnome-shell@45.0.0-beta9.

Alternatively, it is also possible to directly use the Workspace Manager without using the (manually typed) gnome-shell package.

import Shell from "gi://Shell";

Shell.Global.get().workspace_manager.get_active_workspace().get_work_area_for_monitor(index)

@schnz schnz closed this as completed Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants