Skip to content

With two X applications open, closing one does not give focus to the other #5227

@jamii

Description

@jamii

If I open two X applications, place the cursor over the second and close the second, the first doesn't receive focus.

If either application is a wayland application, or if the cursor is on the first when the second is closed, the first gets focus as expected.

jamie@machine:~$ lsmod | grep nvidia | wc -l
0
jamie@machine:~$ swaymsg -t get_version
sway version 1.4

sway.log - https://paste.sr.ht/%7Ejamii/61fea9d2ab7465c6431de4e7bfd91ff4858f6247

Reproduced with this config - https://paste.sr.ht/%7Ejamii/0ff6f3916457f0b3cc2b04c98f465ce35e36c0d8

Possibly relevant - each time I trigger it I get something like this:

2020-04-16 15:21:09 - [xwayland/xwm.c:1274] xcb error: op ChangeProperty (no minor), code Window (no extension), sequence 326, value 4194407
2020-04-16 15:21:09 - [xwayland/xwm.c:1274] xcb error: op ChangeProperty (no minor), code Window (no extension), sequence 327, value 4194407
...
2020-04-16 15:30:03 - [sway/input/cursor.c:730] denying request to set cursor from unfocused client

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNot working as intendedxwaylandX11-related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions