A window behind app window takes focus when I click.
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## Bevy version
aa80e2d658ed1b84787fd512839a8c84238979ef
## \[Optional\] Relevant system information
```
cargo 1.77.0 (3fe68eabf 2024-02-29)
```
```
AdapterInfo { name: "NVIDIA GeForce RTX 4060", vendor: 4318, device: 10370, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "550.67", backend: Vulkan }
```
```
SystemInfo { os: "Linux rolling Arch Linux", kernel: "6.8.4-arch1-1", cpu: "AMD Ryzen 7 7800X3D 8-Core Processor", core_count: "8", memory: "31.1 GiB" }
```
## What you did
Describe how you arrived at the problem. If you can, consider providing a code snippet or link.
```
cargo run --example window_resizing
```
and also,
```
cargo run --example window_resizing --features wayland
```
I resized the window to the fullscreen by clicking the maximaize button and clicked on the screen.
## What went wrong
The window behind the Bevy window took focus. This seems to occur under the following conditions:
1. When the Bevy window is fullscreen.
2. When there is another window (browser, file explorer, etc.) behind the Bevy window and at the clicking point.
3. When clicking specific area, the ~brighter~ darker area.

## Additional information
Also, screen resizing in the usual way using the mouse does not work. Even if I move the mouse to the corner of the screen, the mouse icon does not change to a resizing icon.
I tried updating the system by `yay -Syu` and rebooting.
Contributor guide
Assessment
This issue has not been assessed yet.