Skip to content

core/anonymous-file: Support 0-sized files

Florian Müllner requested to merge fmuellner/mutter:0-sized-anon-file into main

There is nothing to allocate for a 0-sized files, and indeed posix_fallocate() will error out if the passed len isn't greater than 0.

Now that anonymous files are used to back the memory selection source, this fixes unsetting the selection when the screen is locked.

Merge request reports