mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
Pass through subpixel layout
This commit is contained in:
+2
-2
@@ -29,7 +29,7 @@ use smithay::backend::session::libseat::LibSeatSession;
|
|||||||
use smithay::backend::session::{Event as SessionEvent, Session};
|
use smithay::backend::session::{Event as SessionEvent, Session};
|
||||||
use smithay::backend::udev::{self, UdevBackend, UdevEvent};
|
use smithay::backend::udev::{self, UdevBackend, UdevEvent};
|
||||||
use smithay::desktop::utils::OutputPresentationFeedback;
|
use smithay::desktop::utils::OutputPresentationFeedback;
|
||||||
use smithay::output::{Mode, Output, OutputModeSource, PhysicalProperties, Subpixel};
|
use smithay::output::{Mode, Output, OutputModeSource, PhysicalProperties};
|
||||||
use smithay::reexports::calloop::timer::{TimeoutAction, Timer};
|
use smithay::reexports::calloop::timer::{TimeoutAction, Timer};
|
||||||
use smithay::reexports::calloop::{Dispatcher, LoopHandle, RegistrationToken};
|
use smithay::reexports::calloop::{Dispatcher, LoopHandle, RegistrationToken};
|
||||||
use smithay::reexports::drm::control::{
|
use smithay::reexports::drm::control::{
|
||||||
@@ -718,7 +718,7 @@ impl Tty {
|
|||||||
output_name.clone(),
|
output_name.clone(),
|
||||||
PhysicalProperties {
|
PhysicalProperties {
|
||||||
size: (physical_width as i32, physical_height as i32).into(),
|
size: (physical_width as i32, physical_height as i32).into(),
|
||||||
subpixel: Subpixel::Unknown,
|
subpixel: connector.subpixel().into(),
|
||||||
model,
|
model,
|
||||||
make,
|
make,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user