From 364febb3f391c866478956b5a4a801a44ce43dee Mon Sep 17 00:00:00 2001 From: Zane Weissman Date: Sun, 1 Dec 2024 14:04:00 -0500 Subject: [PATCH] changelog and cargo fmt --- CHANGELOG.md | 1 + crates/eww/src/widgets/widget_definitions.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3710363e..1c791ca7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ All notable changes to eww will be listed here, starting at changes since versio - Fix values in the `EWW_NET` variable (By: mario-kr) - Fix the gtk `expander` widget (By: ovalkonia) - Fix wayland monitor names support (By: dragonnn) +- Render image widget at full resolution when display scaling is enabled (By: zane-weissman) ### Features - Update rust toolchain to 1.81.0 (By: w-lfchen) diff --git a/crates/eww/src/widgets/widget_definitions.rs b/crates/eww/src/widgets/widget_definitions.rs index f3c9b56b..40c56be0 100644 --- a/crates/eww/src/widgets/widget_definitions.rs +++ b/crates/eww/src/widgets/widget_definitions.rs @@ -12,8 +12,8 @@ use eww_shared_util::Spanned; use gdk::{ModifierType, NotifyType}; use glib::translate::FromGlib; use gtk::{self, glib, prelude::*, DestDefaults, TargetEntry, TargetList}; -use gtk::{gdk, pango}; use gtk::{cairo, gdk::ffi::gdk_cairo_surface_create_from_pixbuf}; +use gtk::{gdk, pango}; use itertools::Itertools; use once_cell::sync::Lazy;