… | |
… | |
1504 | #if ENABLE_EWMH |
1504 | #if ENABLE_EWMH |
1505 | xa[XA_NET_WM_PING], |
1505 | xa[XA_NET_WM_PING], |
1506 | #endif |
1506 | #endif |
1507 | }; |
1507 | }; |
1508 | |
1508 | |
1509 | XSetWMProtocols (dpy, top, protocols, ARRAY_LENGTH(protocols)); |
1509 | XSetWMProtocols (dpy, top, protocols, ecb_array_length (protocols)); |
1510 | |
1510 | |
1511 | #if ENABLE_FRILLS |
1511 | #if ENABLE_FRILLS |
1512 | if (rs[Rs_transient_for]) |
1512 | if (rs[Rs_transient_for]) |
1513 | XSetTransientForHint (dpy, top, (Window)strtol (rs[Rs_transient_for], 0, 0)); |
1513 | XSetTransientForHint (dpy, top, (Window)strtol (rs[Rs_transient_for], 0, 0)); |
1514 | #endif |
1514 | #endif |