summaryrefslogtreecommitdiff
path: root/sysutils/conky/files/patch-src_x11.cc
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2024-05-11 20:30:35 +0200
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2024-05-15 19:11:57 +0200
commit6c950196d9e285218f9ad0e1c3517a7dfc9f5336 (patch)
treef87c6340033bfdb8aa810e4423b5e0b6cfd0e8b5 /sysutils/conky/files/patch-src_x11.cc
parentcad/openvsp: update to 3.39.1 (diff)
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
Diffstat (limited to '')
-rw-r--r--sysutils/conky/files/patch-src_x11.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/conky/files/patch-src_x11.cc b/sysutils/conky/files/patch-src_x11.cc
new file mode 100644
index 000000000000..b341e374a623
--- /dev/null
+++ b/sysutils/conky/files/patch-src_x11.cc
@@ -0,0 +1,16 @@
+--- src/x11.cc.orig 2024-05-14 16:06:21 UTC
++++ src/x11.cc
+@@ -1215,10 +1215,10 @@ void xpmdb_swap_buffers(void) {
+ void xpmdb_swap_buffers(void) {
+ if (use_xpmdb.get(*state)) {
+ XCopyArea(display, window.back_buffer, window.window, window.gc, 0, 0,
+- window.width, window.height, 0, 0);
++ window.geometry.get_width(), window.geometry.get_height(), 0, 0);
+ XSetForeground(display, window.gc, 0);
+- XFillRectangle(display, window.drawable, window.gc, 0, 0, window.width,
+- window.height);
++ XFillRectangle(display, window.drawable, window.gc, 0, 0, window.geometry.get_width(),
++ window.geometry.get_height());
+ XFlush(display);
+ }
+ }