bbidulock / adwm

advanced dynamic window manager
MIT License
60 stars 7 forks source link

Panel gets focus and can be accidentally closed #8

Closed izobilje closed 5 years ago

izobilje commented 5 years ago

I am using latest adwm-git on Arch Linux with setting: Adwm*sloppy: 2

Whenever mouse gets over Tint2 panel (also tested with Bmpanel2), it gets focus, and often I close it by accident, with keyboard shortcut, instead of window. (This sometimes crashes ADWM, but that's another issue.) I couldn't find any way to prevent panel getting focus.

bbidulock commented 5 years ago

Annoying. I didn't notice as I don't use Alt+q much anymore. Will add feature to suppress window close actions on non-normal window types.

bbidulock commented 5 years ago

The mislabelled commit 87690f9674d5fe78cae877f2a16fe576d36746a1 fixes this. It turned out that keyboard close was the only way of closing not checking whether the window was allowed to be closed (which it wasn't for docks and panels already). Will generate a maintenance release with the fix as this was rather annoying.

bbidulock commented 5 years ago

Okay, please check if release 0.7.6 gets rid of this problem for you. It might also get rid of the crash you mentioned: Alt+q on the "dock" was crashing before the fix, so if you had dockapps and pressed Alt+q once more after the panel closed, you would have gotten a crash. This was the first time in over a year I got adwm to crash (and I use it daily). Please close the issue if you find it is resolved.

izobilje commented 5 years ago

Thanks! Panel doesn't close anymore in 0.7.6. I couldn't reproduce that rare crash in previous version, but it happened only when panel was accidentaly closed. I didn't have any dockapps.