diff options
| author | tet <gmorer@pm.me> | 2024-05-21 22:43:42 +0000 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-07-05 07:35:01 +0300 |
| commit | 43df7fad46033692abc6a2b223e6d98f8b7a5aed (patch) | |
| tree | aa7bf3fee968b97650a84b626615f8edb6fa44d4 /niri-ipc/src | |
| parent | d2087a2cd9f30e40778861666370df56b532af63 (diff) | |
| download | niri-43df7fad46033692abc6a2b223e6d98f8b7a5aed.tar.gz niri-43df7fad46033692abc6a2b223e6d98f8b7a5aed.tar.bz2 niri-43df7fad46033692abc6a2b223e6d98f8b7a5aed.zip | |
Implement wlr-output-management protocol
fix: wlr_output_management use WeakOutput
Diffstat (limited to 'niri-ipc/src')
| -rw-r--r-- | niri-ipc/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/niri-ipc/src/lib.rs b/niri-ipc/src/lib.rs index 4db883e5..572b4a83 100644 --- a/niri-ipc/src/lib.rs +++ b/niri-ipc/src/lib.rs @@ -433,7 +433,7 @@ pub struct Output { } /// Output mode. -#[derive(Debug, Serialize, Deserialize, Clone, Copy)] +#[derive(Debug, Serialize, Deserialize, Clone, Copy, PartialEq)] pub struct Mode { /// Width in physical pixels. pub width: u16, @@ -446,7 +446,7 @@ pub struct Mode { } /// Logical output in the compositor's coordinate space. -#[derive(Debug, Serialize, Deserialize, Clone, Copy)] +#[derive(Debug, Serialize, Deserialize, Clone, Copy, PartialEq)] pub struct LogicalOutput { /// Logical X position. pub x: i32, |
