mirror of
https://github.com/hyprwm/hyprlock.git
synced 2025-12-31 22:30:06 +01:00
lock-surface: remove redundant sendDestroy calls
They are already part of the generated protocol code.
This commit is contained in:
parent
04cfdc4e5b
commit
35014e833e
1 changed files with 0 additions and 6 deletions
|
|
@ -15,12 +15,6 @@ CSessionLockSurface::~CSessionLockSurface() {
|
|||
|
||||
if (eglWindow)
|
||||
wl_egl_window_destroy(eglWindow);
|
||||
|
||||
if (lockSurface)
|
||||
lockSurface->sendDestroy();
|
||||
|
||||
if (surface)
|
||||
surface->sendDestroy();
|
||||
}
|
||||
|
||||
CSessionLockSurface::CSessionLockSurface(const SP<COutput>& pOutput) : m_outputRef(pOutput), m_outputID(pOutput->m_ID) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue