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;
2929 use smithay::backend::session::{Event as SessionEvent, Session};
3030 use smithay::backend::udev::{self, UdevBackend, UdevEvent};
3131 use smithay::desktop::utils::OutputPresentationFeedback;
32-use smithay::output::{Mode, Output, OutputModeSource, PhysicalProperties, Subpixel};
32+use smithay::output::{Mode, Output, OutputModeSource, PhysicalProperties};
3333 use smithay::reexports::calloop::timer::{TimeoutAction, Timer};
3434 use smithay::reexports::calloop::{Dispatcher, LoopHandle, RegistrationToken};
3535 use smithay::reexports::drm::control::{
@@ -718,7 +718,7 @@ impl Tty {
718718 output_name.clone(),
719719 PhysicalProperties {
720720 size: (physical_width as i32, physical_height as i32).into(),
721- subpixel: Subpixel::Unknown,
721+ subpixel: connector.subpixel().into(),
722722 model,
723723 make,
724724 },