-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keybinds: add all flag to closewindow dispatcher #9602
base: main
Are you sure you want to change the base?
Conversation
src/managers/KeybindManager.cpp
Outdated
if (!w->m_bIsMapped || (w->isHidden() && !g_pLayoutManager->getCurrentLayout()->isWindowReachable(w))) | ||
continue; | ||
|
||
g_pCompositor->m_vWindows = {w}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what the fuck is this. Just extract the matching logic to CWindow just like CWorkspace has matchesStaticSelector
and use that. What the f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
xD
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what the fuck is this. Just extract the matching logic to CWindow just like CWorkspace has
matchesStaticSelector
and use that. What the f
meh.... current approach is good... if it works it works
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if it works it works
no.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what the fuck is this. Just extract the matching logic to CWindow just like CWorkspace has
matchesStaticSelector
and use that. What the f
wouldn't this just dupe code more tho
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no
80b5ff0
to
550e456
Compare
well now you should make |
fixes #9243
example:
hyprctl dispatch closewindow all:class:Alacritty