Spam the protocols less with resizes of XDG
This commit is contained in:
parent
0f19bd99f8
commit
233bad5011
3 changed files with 12 additions and 1 deletions
|
|
@ -598,7 +598,7 @@ void Events::listener_newXDGSurface(wl_listener* listener, void* data) {
|
|||
Debug::log(LOG, "New XDG Surface created. (class: %s)", XDGSURFACE->toplevel->app_id);
|
||||
|
||||
if (XDGSURFACE->role != WLR_XDG_SURFACE_ROLE_TOPLEVEL)
|
||||
return; // TODO: handle?
|
||||
return;
|
||||
|
||||
const auto PNEWWINDOW = g_pCompositor->m_vWindows.emplace_back(std::make_unique<CWindow>()).get();
|
||||
PNEWWINDOW->m_uSurface.xdg = XDGSURFACE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue