Hi How is it determined whether a app is treated as blacklisted or not? Which part of executable is taken? Why does blacklisting Code: brainparty Launched by Code: /opt/brainparty/brainparty works but blacklisting Code: allegro launched by Code: meecolay /opt/allegro/bin/allegro doesn't work, and blacklisting Code: meecolay doesn't work too? Sorry if posting in the wrong thread I'm asking about it as it's connected with the development of MeeCoLay
brainparty
/opt/brainparty/brainparty
allegro
meecolay /opt/allegro/bin/allegro
meecolay
gboolean hd_comp_mgr_is_blacklisted(MBWindowManager *wm, MBWindowManagerClient *c) ... XClassHint class_hint; ... ret = XGetClassHint (wm->xdpy, c->window->xwindow, &class_hint); ... if (ret && class_hint.res_class) wname = g_strdup(class_hint.res_name); ... if (g_strrstr(blacklist, wname) && !(c->portrait_supported || c->portrait_requested)) blacklisted = TRUE; ... if(c->stacked_below && (wname == NULL)) if(hd_comp_mgr_is_blacklisted(wm, c->stacked_below)) blacklisted = TRUE;
gboolean blacklisted = hd_comp_mgr_is_blacklisted_parse_desktop_file(wname, class_hint.res_class, c->window->pid);