layout: rethonk layouts from the ground up (#12890)
Rewrites layouts to be much smaller, and deal with much less annoying BS. Improves the overall architecture, unifies handling of pseudotiling, and various other improvements.
This commit is contained in:
parent
51f8849e54
commit
723870337f
82 changed files with 8431 additions and 5527 deletions
|
|
@ -668,7 +668,7 @@ void CSeatManager::setGrab(SP<CSeatGrab> grab) {
|
|||
|
||||
// If this was a popup grab, focus its parent window to maintain context
|
||||
if (validMapped(parentWindow)) {
|
||||
Desktop::focusState()->rawWindowFocus(parentWindow);
|
||||
Desktop::focusState()->rawWindowFocus(parentWindow, Desktop::FOCUS_REASON_FFM);
|
||||
Log::logger->log(Log::DEBUG, "[seatmgr] Refocused popup parent window {} (follow_mouse={})", parentWindow->m_title, *PFOLLOWMOUSE);
|
||||
} else
|
||||
g_pInputManager->refocusLastWindow(PMONITOR);
|
||||
|
|
@ -702,7 +702,7 @@ void CSeatManager::setGrab(SP<CSeatGrab> grab) {
|
|||
auto candidate = Desktop::focusState()->window();
|
||||
|
||||
if (candidate)
|
||||
Desktop::focusState()->rawWindowFocus(candidate);
|
||||
Desktop::focusState()->rawWindowFocus(candidate, Desktop::FOCUS_REASON_FFM);
|
||||
}
|
||||
|
||||
if (oldGrab->m_onEnd)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue