Recover Rime faults, persist window modes and fix GPU allocation
This commit is contained in:
1 parent
8e9a5838ab
commit
6f34fd080f
27 files changed
+1260
-34
No files matched your search
@@ -53,6 +53,8 @@ macro_rules! delegate_protocols {
|
||||
}
|
||||
|
||||
delegate_protocols!(
|
||||
wlr::virtual_pointer::v1::server::zwlr_virtual_pointer_manager_v1::ZwlrVirtualPointerManagerV1,
|
||||
wlr::virtual_pointer::v1::server::zwlr_virtual_pointer_v1::ZwlrVirtualPointerV1,
|
||||
protocols::ext::image_capture_source::v1::server::ext_image_capture_source_v1::ExtImageCaptureSourceV1,
|
||||
protocols::ext::image_capture_source::v1::server::ext_output_image_capture_source_manager_v1::ExtOutputImageCaptureSourceManagerV1,
|
||||
protocols::ext::image_copy_capture::v1::server::ext_image_copy_capture_manager_v1::ExtImageCopyCaptureManagerV1,
|
||||
|
||||
@@ -12,6 +12,7 @@ pub(crate) mod security_context;
|
||||
#[cfg(test)]
|
||||
mod toplevel_icon_tests;
|
||||
mod virtual_keyboard;
|
||||
mod virtual_pointer;
|
||||
pub(crate) mod window_capture;
|
||||
mod xdg_shell;
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
use crate::Ferese;
|
||||
use smithay::backend::input::InputEvent;
|
||||
use smithay::wayland::virtual_pointer::{VirtualPointerBackend, VirtualPointerHandler};
|
||||
|
||||
impl VirtualPointerHandler for Ferese {
|
||||
fn process_virtual_pointer_event(&mut self, event: InputEvent<VirtualPointerBackend>) {
|
||||
// The global exists only with the explicit test-pointer environment
|
||||
// switch. Synthetic pointers must never enter a real lock surface.
|
||||
if !self.session_lock.active() {
|
||||
self.process_input_event(event);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user