Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

move window modifier stop working #2038

Closed
mortr3d opened this issue Jan 4, 2024 · 2 comments
Closed

move window modifier stop working #2038

mortr3d opened this issue Jan 4, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@mortr3d
Copy link

mortr3d commented Jan 4, 2024

when I switch layout between bsp and float with skhd it can stop move window with modifier so I have to restart yabai and then moving windows available, I was trying to do debug but idk it doesn't happen when I'm tryna debug, I'm thinking its triggered when I off all windows with "cmd Q" so when I'm not close debug window it not happens

OS Sonoma 14.2.1

.yabairc
image

.skhdrc
image

@mortr3d
Copy link
Author

mortr3d commented Jan 5, 2024

I got it. Doesn't matter what key setup for window dragging, you can press button and start dragging but if you press cmd Q while dragging it's stop dragging at all before you don't restart yabai

it also stop auto resize in bsp layout, I think it kill kinda process when I press cmd Q while dragging

@koekeishiya koekeishiya added the bug Something isn't working label Feb 19, 2024
@koekeishiya
Copy link
Owner

Note to self:

g_mouse_state.window = NULL;
g_mouse_state.current_action = MOUSE_MODE_NONE;

never gets reset in mouse_up handler when the window is destroyed through cmd+w or cmd+q

koekeishiya added a commit that referenced this issue Feb 19, 2024
@koekeishiya koekeishiya added addressed on master; not released Fixed upstream, but not yet released and removed addressed on master; not released Fixed upstream, but not yet released labels Feb 19, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants