diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-08-13 09:15:57 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-08-13 09:15:57 +0300 |
| commit | 883763c17224c69094340d3abc2f9e4cb656966a (patch) | |
| tree | c00a17f5b1283ff78cc8e8a9bc3e819c9c4a3049 /src/handlers | |
| parent | 9063a5dbdc0d4470dc1e13ce5749838e32af6a44 (diff) | |
| download | niri-883763c17224c69094340d3abc2f9e4cb656966a.tar.gz niri-883763c17224c69094340d3abc2f9e4cb656966a.tar.bz2 niri-883763c17224c69094340d3abc2f9e4cb656966a.zip | |
Implement stub mutter-x11-interop
Allows xdp-gnome dialogs to work with X11 clients.
Fixes https://github.com/YaLTeR/niri/issues/594
Diffstat (limited to 'src/handlers')
| -rw-r--r-- | src/handlers/mod.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/handlers/mod.rs b/src/handlers/mod.rs index b5c4392d..3e0bb18f 100644 --- a/src/handlers/mod.rs +++ b/src/handlers/mod.rs @@ -69,12 +69,13 @@ use crate::protocols::foreign_toplevel::{ self, ForeignToplevelHandler, ForeignToplevelManagerState, }; use crate::protocols::gamma_control::{GammaControlHandler, GammaControlManagerState}; +use crate::protocols::mutter_x11_interop::MutterX11InteropHandler; use crate::protocols::output_management::{OutputManagementHandler, OutputManagementManagerState}; use crate::protocols::screencopy::{Screencopy, ScreencopyHandler, ScreencopyManagerState}; use crate::utils::{output_size, send_scale_transform}; use crate::{ - delegate_foreign_toplevel, delegate_gamma_control, delegate_output_management, - delegate_screencopy, + delegate_foreign_toplevel, delegate_gamma_control, delegate_mutter_x11_interop, + delegate_output_management, delegate_screencopy, }; impl SeatHandler for State { @@ -580,3 +581,6 @@ impl OutputManagementHandler for State { } } delegate_output_management!(State); + +impl MutterX11InteropHandler for State {} +delegate_mutter_x11_interop!(State); |
