Skip to content

Multiple monitor unable to gain focus. #59

Open
@La-Fabrique-Info

Description

@La-Fabrique-Info

Environment

  • OS: 22.04
  • nody-greeter version: 1.6.2

Help description

Unable to gain focus when cursor moving to different monitor.

As it is said above, I'm unable to get focus on the new monitor when moving the cursor.
Using mousenter and mouseleave combine with GreeterBroadcastEvent, I know on which screen the cursor is, so I can control some events on the previous monitor (like hiding), and some to the "new" monitor.
But I'm not able to gain focus (js only) on the "new" monitor. If I click inside it the focus is acquired, but I need to be able to gain focus without clicking inside the window.

Any idea?
Thx

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions