rem: else if (strcmp(name, WMNChangedWorkspace) == 0 && wwin)
add: else if (strcmp(name, WMNChangedWorkspace) == 0)
context: static void observer(void *self, WMNotification *notif){    WWindow *wwin = (WWindow*)WMGetNotificationObject(notif);    const char *name = WMGetNotificationName(notif);    void *data = WMGetNotificationClientData(notif);    if (strcmp(name, WMNManaged) == 0 && wwin)	UpdateSwitchMenu(wwin->screen_ptr, wwin, ACTION_ADD);    else if (strcmp(name, WMNUnmanaged) == 0 && wwin)	UpdateSwitchMenu(wwin->screen_ptr, wwin, ACTION_REMOVE);    else if (strcmp(name, WMNChangedWorkspace) == 0 && wwin)	UpdateSwitchMenu(wwin->screen_ptr, wwin, ACTION_CHANGE_WORKSPACE);    else if (strcmp(name, WMNChangedFocus) == 0 && wwin)	UpdateSwitchMenu(wwin->screen_ptr, wwin, ACTION_CHANGE_STATE);    else if (strcmp(name, WMNChangedName) == 0 && wwin)	UpdateSwitchMenu(wwin->screen_ptr, wwin, ACTION_CHANGE);    else if (strcmp(name, WMNChangedState) == 0 && wwin) {	if (strcmp((char*)data, "omnipresent") == 0) {	    UpdateSwitchMenu(wwin->screen_ptr, wwin, ACTION_CHANGE_WORKSPACE);	} else {	    UpdateSwitchMenu(wwin->screen_ptr, wwin, ACTION_CHANGE_STATE);	}    }}