rem: _notification(void *observerData, WMNotification *notification) { WMText *to = (WMText *)observerData; WMText *tw = (WMText *)WMGetNotificationClientData(notification); if (to != tw) lostHandler(to->view, XA_PRIMARY, NULL); }
add: _notification(void *observerData, WMNotification * notification) { WMText *to = (WMText *) observerData; WMText *tw = (WMText *) WMGetNotificationClientData(notification); if (to != tw) lostHandler(to->view, XA_PRIMARY, NULL); } static void
context:     _notification(void *observerData, WMNotification *notification){    WMText *to = (WMText *)observerData;    WMText *tw = (WMText *)WMGetNotificationClientData(notification);    if (to != tw) lostHandler(to->view, XA_PRIMARY, NULL);}