summaryrefslogtreecommitdiff
path: root/sysutils/conky/files/patch-src_x11.cc
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2024-05-19 19:43:24 +0200
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2024-05-19 19:59:15 +0200
commit507134dd494f33f794df1b14352947077871f741 (patch)
treef150e27e8bfb5ea08ca2ee6098461eff00cc1a59 /sysutils/conky/files/patch-src_x11.cc
parentnet/wireshark: Update to 4.2.5 (diff)
sysutils/conky: update to 1.21.1
ChangeLog: https://github.com/brndnmtthws/conky/releases/tag/v1.21.1 * Bug fixes * Disable Vc_ENABLE_INSTALL * Remove _member_access from geometry * Fix build with specific option combination. * Disable Xinput * Miscellaneous * Bump version * Refactor the CMake 3rdparty/Vc-related bits * Fix dockerhub login * build(deps): bump DeterminateSystems/magic-nix-cache-action from 4 to 6 * build(deps): bump DeterminateSystems/nix-installer-action from 10 to 11 * Group all actions dependabot updates
Diffstat (limited to '')
-rw-r--r--sysutils/conky/files/patch-src_x11.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/sysutils/conky/files/patch-src_x11.cc b/sysutils/conky/files/patch-src_x11.cc
index b341e374a623..8ecbb03b3840 100644
--- a/sysutils/conky/files/patch-src_x11.cc
+++ b/sysutils/conky/files/patch-src_x11.cc
@@ -1,16 +1,16 @@
---- src/x11.cc.orig 2024-05-14 16:06:21 UTC
+--- src/x11.cc.orig 2024-05-19 17:48:25 UTC
+++ src/x11.cc
-@@ -1215,10 +1215,10 @@ void xpmdb_swap_buffers(void) {
+@@ -1219,10 +1219,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);
+- window.geometry.get_width(), window.geometry.get_height(), 0, 0);
++ window.geometry.width(), window.geometry.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());
+- XFillRectangle(display, window.drawable, window.gc, 0, 0, window.geometry.get_width(),
+- window.geometry.get_height());
++ XFillRectangle(display, window.drawable, window.gc, 0, 0, window.geometry.width(),
++ window.geometry.height());
XFlush(display);
}
}