wayland/core: move to new impl (#6268)
* wayland/core/dmabuf: move to new impl it's the final countdown
This commit is contained in:
parent
c31d9ef417
commit
6967a31450
147 changed files with 5388 additions and 2226 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#include "XDGActivation.hpp"
|
||||
#include "../managers/TokenManager.hpp"
|
||||
#include "../Compositor.hpp"
|
||||
#include "core/Compositor.hpp"
|
||||
#include <algorithm>
|
||||
|
||||
#define LOGM PROTO::activation->protoLog
|
||||
|
|
@ -79,8 +80,8 @@ void CXDGActivationProtocol::bindManager(wl_client* client, void* data, uint32_t
|
|||
// remove token. It's been now spent.
|
||||
m_vSentTokens.erase(TOKEN);
|
||||
|
||||
wlr_surface* surf = wlr_surface_from_resource(surface);
|
||||
const auto PWINDOW = g_pCompositor->getWindowFromSurface(surf);
|
||||
SP<CWLSurfaceResource> surf = CWLSurfaceResource::fromResource(surface);
|
||||
const auto PWINDOW = g_pCompositor->getWindowFromSurface(surf);
|
||||
|
||||
if (!PWINDOW) {
|
||||
LOGM(WARN, "activate event for non-window or gone surface with token {}, ignoring", token);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue