Searched refs:class_hints (Results 1 – 3 of 3) sorted by relevance
445 XClassHint *class_hints; in rpng_x_create_window() local584 if ((class_hints = XAllocClassHint()) != NULL) { in rpng_x_create_window()585 class_hints->res_name = res_name; in rpng_x_create_window()586 class_hints->res_class = res_class; in rpng_x_create_window()590 size_hints, wm_hints, class_hints); in rpng_x_create_window()601 if (class_hints) in rpng_x_create_window()602 XFree(class_hints); in rpng_x_create_window()
820 XClassHint *class_hints; in rpng2_x_create_window() local943 if ((class_hints = XAllocClassHint()) != NULL) { in rpng2_x_create_window()944 class_hints->res_name = res_name; in rpng2_x_create_window()945 class_hints->res_class = res_class; in rpng2_x_create_window()949 size_hints, wm_hints, class_hints); in rpng2_x_create_window()960 if (class_hints) in rpng2_x_create_window()961 XFree(class_hints); in rpng2_x_create_window()
996 XClassHint class_hints; in SetWindowClassHint() local1000 class_hints.res_name = const_cast<char*>(res_name.c_str()); in SetWindowClassHint()1001 class_hints.res_class = const_cast<char*>(res_class.c_str()); in SetWindowClassHint()1002 XSetClassHint(display, window, &class_hints); in SetWindowClassHint()