mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
aa6db6ac9d
As noted in comment, Blender is now using private libdecor APIs not in the headers, so need to patch to build against it. I think it probably works when Blender does dynamic loading at runtime since it uses the fn defs it defines in that case, but we don’t want to do that, it seems (as we already set `-DWITH_GHOST_WAYLAND_DYNLOAD=OFF`).
35 lines
982 B
Diff
35 lines
982 B
Diff
diff --git a/src/libdecor-plugin.h b/src/libdecor-plugin.h
|
|
index ba80ce6..59199dd 100644
|
|
--- a/src/libdecor-plugin.h
|
|
+++ b/src/libdecor-plugin.h
|
|
@@ -132,12 +132,6 @@ struct libdecor_plugin_interface {
|
|
struct wl_surface *
|
|
libdecor_frame_get_wl_surface(struct libdecor_frame *frame);
|
|
|
|
-int
|
|
-libdecor_frame_get_content_width(struct libdecor_frame *frame);
|
|
-
|
|
-int
|
|
-libdecor_frame_get_content_height(struct libdecor_frame *frame);
|
|
-
|
|
enum libdecor_window_state
|
|
libdecor_frame_get_window_state(struct libdecor_frame *frame);
|
|
|
|
diff --git a/src/libdecor.h b/src/libdecor.h
|
|
index af67e2f..b5eba41 100644
|
|
--- a/src/libdecor.h
|
|
+++ b/src/libdecor.h
|
|
@@ -532,6 +532,12 @@ bool
|
|
libdecor_configuration_get_window_state(struct libdecor_configuration *configuration,
|
|
enum libdecor_window_state *window_state);
|
|
|
|
+int
|
|
+libdecor_frame_get_content_width(struct libdecor_frame *frame);
|
|
+
|
|
+int
|
|
+libdecor_frame_get_content_height(struct libdecor_frame *frame);
|
|
+
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|