freebsd-ports/sysutils/conky/files/patch-src_x11-settings.cc
Fernando Apesteguía 507134dd49 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
2024-05-19 19:59:15 +02:00

11 lines
557 B
C++

--- src/x11-settings.cc.orig 2024-05-19 17:48:45 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.geometry.get_width() + 1, window.geometry.get_height() + 1,
+ XCreatePixmap(display, window.window, window.geometry.width() + 1, window.geometry.height() + 1,
DefaultDepth(display, screen));
if (window.back_buffer != None) {
window.drawable = window.back_buffer;