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:
+1
-2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user