Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
debugnik
on Nov 17, 2022
|
parent
|
context
|
favorite
| on:
Discord fined €800k for failing to comply with sev...
Except for Discord, which actually closes the entire application on Alt-F4 instead of just the window.
Semaphor
on Nov 17, 2022
|
next
[–]
Huh. You are right. Alt+F4 closes the application, clicking the X closes the window. Kinda inconsistent.
LoganDark
on Nov 17, 2022
|
parent
|
next
[–]
Alt+F4 closes the window, clicking the X causes the window to hide, not close.
lightedman
on Nov 17, 2022
|
parent
|
prev
|
next
[–]
Alt-F4 invokes different processes than the X button does. The X button is more akin to CTRL-F4.
debugnik
on Nov 17, 2022
|
root
|
parent
|
next
[–]
Nah, 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
on Nov 17, 2022
|
prev
[–]
Alt-F4 closes the window for me on Discord, not the app. There's a setting for that I suppose.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: