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