Update libdecor to upstream commit 4f2c03d5 dated March 4, 2024
This commit is contained in:
parent
3fafeb9ea1
commit
56f49828f4
@ -148,7 +148,7 @@ os_resize_anonymous_file(int fd, off_t size)
|
||||
* XDG_RUNTIME_DIR.
|
||||
*/
|
||||
int
|
||||
os_create_anonymous_file(off_t size)
|
||||
libdecor_os_create_anonymous_file(off_t size)
|
||||
{
|
||||
static const char template[] = "/libdecor-shared-XXXXXX";
|
||||
const char *path;
|
||||
|
@ -29,6 +29,6 @@
|
||||
#include <sys/types.h>
|
||||
|
||||
int
|
||||
os_create_anonymous_file(off_t size);
|
||||
libdecor_os_create_anonymous_file(off_t size);
|
||||
|
||||
#endif /* OS_COMPATIBILITY_H */
|
||||
|
@ -597,7 +597,7 @@ create_shm_buffer(struct libdecor_plugin_cairo *plugin_cairo,
|
||||
stride = buffer_width * 4;
|
||||
size = stride * buffer_height;
|
||||
|
||||
fd = os_create_anonymous_file(size);
|
||||
fd = libdecor_os_create_anonymous_file(size);
|
||||
if (fd < 0) {
|
||||
fprintf(stderr, "creating a buffer file for %d B failed: %s\n",
|
||||
size, strerror(errno));
|
||||
|
@ -612,7 +612,7 @@ create_shm_buffer(struct libdecor_plugin_gtk *plugin_gtk,
|
||||
stride = buffer_width * 4;
|
||||
size = stride * buffer_height;
|
||||
|
||||
fd = os_create_anonymous_file(size);
|
||||
fd = libdecor_os_create_anonymous_file(size);
|
||||
if (fd < 0) {
|
||||
fprintf(stderr, "creating a buffer file for %d B failed: %s\n",
|
||||
size, strerror(errno));
|
||||
|
Loading…
x
Reference in New Issue
Block a user