Implement _NET_WM_PING for X11 (#977)
This commit is contained in:
parent
dd38fab2f3
commit
23354cf1a5
4 changed files with 18 additions and 2 deletions
|
|
@ -330,8 +330,9 @@ impl UnownedWindow {
|
|||
(xconn.xlib.XSetWMProtocols)(
|
||||
xconn.display,
|
||||
window.xwindow,
|
||||
&event_loop.wm_delete_window as *const ffi::Atom as *mut ffi::Atom,
|
||||
1,
|
||||
&[event_loop.wm_delete_window, event_loop.net_wm_ping] as *const ffi::Atom
|
||||
as *mut ffi::Atom,
|
||||
2,
|
||||
);
|
||||
} //.queue();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue