bugfix: mouse events were not being registered.

- Mouse events and Window Events should be sent seperately, they were
being sent only as WindowEvents which made bevy not react to mouse
events.
This commit is contained in:
Naman Agrawal
2025-08-22 16:03:10 +05:30
parent b368d43531
commit e98d52a57f
2 changed files with 23 additions and 5 deletions
+1 -2
View File
@@ -1,12 +1,11 @@
use bevy::{app::PluginsState, prelude::*};
use smithay_client_toolkit::{
delegate_registry,
globals::ProvidesBoundGlobal,
output::OutputState,
reexports::{
calloop::EventLoop,
calloop_wayland_source::WaylandSource,
client::{globals::registry_queue_init, protocol::wl_compositor::WlCompositor, Connection},
client::{globals::registry_queue_init, Connection},
},
registry::{ProvidesRegistryState, RegistryState},
registry_handlers,