sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit c1582f981a6de28f5fcec4e4098ca694ce0cde31
parent e93622e4ee387db5c37d24d7a704cd498a14a0da
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon, 14 Aug 2017 13:48:51 -0400

Merge pull request #1324 from Hummer12007/patch-5

Raise max ipc message size limit to 256 MB
Diffstat:
Msway/ipc-server.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sway/ipc-server.c b/sway/ipc-server.c @@ -668,7 +668,8 @@ bool ipc_send_reply(struct ipc_client *client, const char *payload, uint32_t pay client->write_buffer_size *= 2; } - if (client->write_buffer_size > (1 << 22)) { // 4 MB + // TODO: reduce the limit back to 4 MB when screenshooter is implemented + if (client->write_buffer_size > (1 << 28)) { // 256 MB sway_log(L_ERROR, "Client write buffer too big, disconnecting client"); ipc_client_disconnect(client); return false;