I'm attaching the source code for a sample X client application, for
which the problem can be reproduced reliably. The application uses
'globally active' input focus model, just like Java (AWT/Swing)
applications, but also waits for 10 milliseconds before reacting to
WM_TAKE_FOCUS message. If such an artificial delay isn't performed (just
comment out 'usleep' call in the source code), the problem can be
reproduced as well, but only with a certain probability.

The sample app can be compiled and launched using the following command:
gcc twoFrames.c -lX11; ./a.out

** Attachment added: "twoFrames.c"
   
https://bugs.launchpad.net/gnome-shell/+bug/1969574/+attachment/5596400/+files/twoFrames.c

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1969574

Title:
  [Wayland] Can not select JetBrains IntelliJ IDEA windows (including
  Android Studio) with mouse in workspace

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/1969574/+subscriptions


-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to