4 ms·
Except for Discord, which actually closes the entire application on Alt-F4 instead of just the window.
by debugnik 4y ago
Except for Discord, which actually closes the entire application on Alt-F4 instead of just the window.
- Semaphor 4y agoHuh. You are right. Alt+F4 closes the application, clicking the X closes the window. Kinda inconsistent.
- LoganDark 4y agoAlt+F4 closes the window, clicking the X causes the window to hide, not close.
- lightedman 4y agoAlt-F4 invokes different processes than the X button does. The X button is more akin to CTRL-F4.
- debugnik 4y agoNah, they both send WM_CLOSE to the window. The actual problem is that Discord uses its own non-native window frame and reimplements the X button differently than they handle the actual close event.
- tpxl 4y agoAlt-F4 closes the window for me on Discord, not the app. There's a setting for that I suppose.