internal: Protocol C++ Wraps + XDGOutput impl (#2733)

move to our own xdgoutput impl instead of wlr's
This commit is contained in:
Vaxry 2023-07-18 15:30:28 +02:00 committed by GitHub
parent 629e61c7a5
commit 8370a7fcc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 284 additions and 88 deletions

View file

@ -219,11 +219,8 @@ void Events::listener_monitorCommit(void* owner, void* data) {
if (E->committed & WLR_OUTPUT_STATE_BUFFER)
g_pProtocolManager->m_pScreencopyProtocolManager->onOutputCommit(PMONITOR, E);
if (E->committed & (WLR_OUTPUT_STATE_SCALE | WLR_OUTPUT_STATE_TRANSFORM | WLR_OUTPUT_STATE_MODE))
g_pXWaylandManager->updateXWaylandScale();
}
void Events::listener_monitorBind(void* owner, void* data) {
g_pXWaylandManager->updateXWaylandScale();
;
}