diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2023-08-27 10:37:30 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2023-08-27 10:37:30 +0400 |
| commit | 2d2b1a29902fbf18c4e4a0c21ce0e6abdc2d474c (patch) | |
| tree | 674687d34e99c1961fb029842900de57ae0f08f1 | |
| parent | dd5bcde581e7e54b318685342e7ac89b69f094d5 (diff) | |
| download | niri-2d2b1a29902fbf18c4e4a0c21ce0e6abdc2d474c.tar.gz niri-2d2b1a29902fbf18c4e4a0c21ce0e6abdc2d474c.tar.bz2 niri-2d2b1a29902fbf18c4e4a0c21ce0e6abdc2d474c.zip | |
tty: Fix commented-out code
| -rw-r--r-- | src/tty.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -246,8 +246,9 @@ impl Tty { // // Refresh the connectors. // tty.device_changed(output_device_id, niri); - // + // // Refresh the state on unchanged connectors. + // let output_device = tty.output_device.as_mut().unwrap(); // for drm_compositor in output_device.surfaces.values_mut() { // if let Err(err) = drm_compositor.surface().reset_state() { // warn!("error resetting DRM surface state: {err}"); |
