fix xwaylabnd too, stuff
This commit is contained in:
parent
cf76b90606
commit
1a298257c9
7 changed files with 38 additions and 5 deletions
|
|
@ -224,6 +224,16 @@ CWindow* CCompositor::windowFromCursor() {
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
SMonitor* CCompositor::getMonitorFromOutput(wlr_output* out) {
|
||||
for (auto& m : m_lMonitors) {
|
||||
if (m.output == out) {
|
||||
return &m;
|
||||
}
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void CCompositor::focusWindow(CWindow* pWindow) {
|
||||
|
||||
if (!pWindow) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue