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()
840 XClassHint *class_hints; in rpng2_x_create_window() local963 if ((class_hints = XAllocClassHint()) != NULL) { in rpng2_x_create_window()964 class_hints->res_name = res_name; in rpng2_x_create_window()965 class_hints->res_class = res_class; in rpng2_x_create_window()969 size_hints, wm_hints, class_hints); in rpng2_x_create_window()980 if (class_hints) in rpng2_x_create_window()981 XFree(class_hints); in rpng2_x_create_window()
945 XClassHint class_hints; in SetWindowClassHint() local949 class_hints.res_name = const_cast<char*>(res_name.c_str()); in SetWindowClassHint()950 class_hints.res_class = const_cast<char*>(res_class.c_str()); in SetWindowClassHint()951 XSetClassHint(display, window, &class_hints); in SetWindowClassHint()