mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-25 22:35:58 +01:00
ungrab on switch
This commit is contained in:
parent
d237d4cab4
commit
abf3464cfc
1 changed files with 2 additions and 0 deletions
|
@ -510,6 +510,8 @@ void CWindowManager::setFocusedWindow(xcb_drawable_t window) {
|
|||
|
||||
Debug::log(LOG, "Setting focus to " + std::to_string(window));
|
||||
|
||||
xcb_ungrab_pointer(DisplayConnection, XCB_CURRENT_TIME);
|
||||
|
||||
// border color
|
||||
if (const auto PLASTWIN = getWindowFromDrawable(LastWindow); PLASTWIN) {
|
||||
PLASTWIN->setEffectiveBorderColor(CFloatingColor(ConfigManager::getInt("col.inactive_border")));
|
||||
|
|
Loading…
Reference in a new issue