Skip to content

Commit

Permalink
Fix typo in get_xft_dpi
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Dec 15, 2023
1 parent efdbda2 commit 3bcdb9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform_impl/linux/x11/util/randr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl XConnection {
// Retrieve DPI from Xft.dpi property
pub fn get_xft_dpi(&self) -> Option<f64> {
self.database()
.get_string("Xfi.dpi", "")
.get_string("Xft.dpi", "")
.and_then(|s| f64::from_str(s).ok())
}
pub fn get_output_info(
Expand Down

0 comments on commit 3bcdb9a

Please sign in to comment.