Multiple focus handling changes
This commit is contained in:
parent
c923b4f075
commit
223beb8a82
10 changed files with 85 additions and 55 deletions
|
|
@ -54,7 +54,7 @@ std::string workspacesRequest() {
|
|||
}
|
||||
|
||||
std::string activeWindowRequest() {
|
||||
const auto PWINDOW = g_pCompositor->getWindowFromSurface(g_pCompositor->m_pLastFocus);
|
||||
const auto PWINDOW = g_pCompositor->m_pLastWindow;
|
||||
|
||||
if (!g_pCompositor->windowValidMapped(PWINDOW))
|
||||
return "Invalid";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue