wine X button on top bar
Oct. 10, 2016
1:30 a.m.
Hello, If "Allow windows manager to decorate window" is on. What is the function name that knows a user click this X button and send the WM_CLOSE to the app? Thank you
October 2016
3:16 p.m.
On Oct 9, 2016, at 8:30 PM, A B <dianaxxyyzz(a)gmail.com> wrote:
If "Allow windows manager to decorate window" is on. What is the function name that knows a user click this X button and send the WM_CLOSE to the app?
The window manager sends ClientMessage with type WM_PROTOCOLS and the protocol value WM_DELETE_WINDOW. This is handled in dlls/winex11.drv/event.c: X11DRV_ClientMessage() -> handle_wm_protocols(). -Ken
3500
Age (days ago)
3500
Last active (days ago)
1 comments
2 participants
participants (2)
-
A B -
Ken Thomases