forge
Explore
Log in

Don't you dare go Hollow

Pass through subpixel layout

Browse files at this commit

e45dbb8ef67618bfbdb318eccb39fe06ad20dd00Ivan MolodetskikhParent: 5c4b71a
src/backend/tty.rsmodified+2 -2
@@ -29,7 +29,7 @@ use smithay::backend::session::libseat::LibSeatSession;
29 use smithay::backend::session::{Event as SessionEvent, Session};29 use smithay::backend::session::{Event as SessionEvent, Session};
30 use smithay::backend::udev::{self, UdevBackend, UdevEvent};30 use smithay::backend::udev::{self, UdevBackend, UdevEvent};
31 use smithay::desktop::utils::OutputPresentationFeedback;31 use smithay::desktop::utils::OutputPresentationFeedback;
32-use smithay::output::{Mode, Output, OutputModeSource, PhysicalProperties, Subpixel};32+use smithay::output::{Mode, Output, OutputModeSource, PhysicalProperties};
33 use smithay::reexports::calloop::timer::{TimeoutAction, Timer};33 use smithay::reexports::calloop::timer::{TimeoutAction, Timer};
34 use smithay::reexports::calloop::{Dispatcher, LoopHandle, RegistrationToken};34 use smithay::reexports::calloop::{Dispatcher, LoopHandle, RegistrationToken};
35 use smithay::reexports::drm::control::{35 use smithay::reexports::drm::control::{
@@ -718,7 +718,7 @@ impl Tty {
718 output_name.clone(),718 output_name.clone(),
719 PhysicalProperties {719 PhysicalProperties {
720 size: (physical_width as i32, physical_height as i32).into(),720 size: (physical_width as i32, physical_height as i32).into(),
721- subpixel: Subpixel::Unknown,721+ subpixel: connector.subpixel().into(),
722 model,722 model,
723 make,723 make,
724 },724 },