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