ports/sysutils/conky/files/patch-src_x11-settings.cc
Fernando Apesteguía 6c950196d9 sysutils/conky{-awesome}: update to 1.21.0
ChangeLog: https://github.com/brndnmtthws/conky/releases/tag/v1.21.0

Features

 * Update DPI when changed in resource manager
 * CLI: -V now displays a short version string
 * Make version string semver compliant, add git sha
 * Add BUILD_COLOUR_NAME_MAP build flag
 * Docker: updated base image to Ubuntu 24.04 LTS
 * Docker: improve tagging, distinguish main and latest
 * Introduce geometry primitives

Bug fixes

 * Fix bad query_x11_windows early returns
 * Re-enable RSS in AppImage, also enable in Nix flake
 * Disable -Wregister on gperf output
 * Simplify binary include handling (and fix build)
 * Require gperf at build-time
 * Docker: Add gperf, enable Lua Cairo Xlib bindings
 * Fix conky-cairo_imlib2_helper dependency conditions
 * Use private mapping from provided shm_pool buffer
 * Remove dpi scaling of maximum width
 * Use _NET_VIRTUAL_ROOTS for querying virtual roots
 * Use MODULE library type for Lua libs
 * Fix AppImage version naming
 * Ensure we use correct LLVM in nix dev shell
 * Fix alignment documentation & enable HTML in docs

Miscellaneous

 * Bump version
 * Explicitly note updated time is UTC
 * Link to latest commit in web footer
 * Update nix flake w/ LLVM 18
 * shared_ptr::unique() deprecated, use use_count()
 * Bump minor version
 * Fix this env var handling (derp)
 * Try to fix this quote handling again
 * Move docker build to separate script for less jank
 * Docker build separate script
2024-05-15 19:11:57 +02:00

11 lines
535 B
C++

--- src/x11-settings.cc.orig 2024-05-07 20:02:47 UTC
+++ src/x11-settings.cc
@@ -77,7 +77,7 @@ bool use_xpmdb_setting::set_up(lua::state &l) {
if (!out_to_x.get(l)) return false;
window.back_buffer =
- XCreatePixmap(display, window.window, window.width + 1, window.height + 1,
+ XCreatePixmap(display, window.window, window.geometry.get_width() + 1, window.geometry.get_height() + 1,
DefaultDepth(display, screen));
if (window.back_buffer != None) {
window.drawable = window.back_buffer;