Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
98477eab
Commit
98477eab
authored
Jun 19, 2021
by
Vlad Zahorodnii
Browse files
Remove manual flush when sending buffer release event
This way we can batch more events before flushing the client connection.
parent
ac60e358
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/wayland/server/buffer_interface.cpp
View file @
98477eab
...
...
@@ -238,7 +238,6 @@ void BufferInterface::unref()
if
(
d
->
refCount
==
0
)
{
if
(
d
->
buffer
)
{
wl_buffer_send_release
(
d
->
buffer
);
wl_client_flush
(
wl_resource_get_client
(
d
->
buffer
));
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment