Searched refs:class_hint (Results 1 – 2 of 2) sorted by relevance
381 XClassHint class_hint; in IsDesktopElement() local382 Status status = XGetClassHint(display(), window, &class_hint); in IsDesktopElement()389 if (strcmp("gnome-panel", class_hint.res_name) == 0 || in IsDesktopElement()390 strcmp("desktop_window", class_hint.res_name) == 0) { in IsDesktopElement()393 XFree(class_hint.res_name); in IsDesktopElement()394 XFree(class_hint.res_class); in IsDesktopElement()
749 XClassHint class_hint; in IsDesktopElement() local750 Status s = XGetClassHint(display, window, &class_hint); in IsDesktopElement()759 if (gnome_panel.compare(class_hint.res_name) == 0 || in IsDesktopElement()760 desktop_window.compare(class_hint.res_name) == 0) { in IsDesktopElement()763 XFree(class_hint.res_name); in IsDesktopElement()764 XFree(class_hint.res_class); in IsDesktopElement()