mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 03:08:13 +00:00
WindowServer: Change rendering drag&drop to use the Overlay class
This enables flicker-free rendering.
This commit is contained in:
parent
84cab29c59
commit
8cfb4c82f0
7 changed files with 99 additions and 98 deletions
|
@ -58,6 +58,10 @@ ClientConnection::ClientConnection(NonnullRefPtr<Core::LocalSocket> client_socke
|
|||
|
||||
ClientConnection::~ClientConnection()
|
||||
{
|
||||
auto& wm = WindowManager::the();
|
||||
if (wm.dnd_client() == this)
|
||||
wm.end_dnd_drag();
|
||||
|
||||
if (m_has_display_link)
|
||||
Compositor::the().decrement_display_link_count({});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue