Home
last modified time | relevance | path

Searched refs:class_hint (Results 1 – 25 of 116) sorted by relevance

12345

/dports/sysutils/bamf/bamf-0.5.4/src/
H A Dbamf-xutils.c226 XClassHint class_hint; in bamf_xutils_get_window_class_hints() local
227 class_hint.res_name = NULL; in bamf_xutils_get_window_class_hints()
228 class_hint.res_class = NULL; in bamf_xutils_get_window_class_hints()
232 XGetClassHint (xdisplay, xid, &class_hint); in bamf_xutils_get_window_class_hints()
236 if (class_name && class_hint.res_class && class_hint.res_class[0] != 0) in bamf_xutils_get_window_class_hints()
237 *class_name = g_convert (class_hint.res_class, -1, "utf-8", "iso-8859-1", in bamf_xutils_get_window_class_hints()
240 if (class_instance_name && class_hint.res_name && class_hint.res_name[0] != 0) in bamf_xutils_get_window_class_hints()
241 *class_instance_name = g_convert (class_hint.res_name, -1, "utf-8", "iso-8859-1", in bamf_xutils_get_window_class_hints()
245 XFree (class_hint.res_class); in bamf_xutils_get_window_class_hints()
246 XFree (class_hint.res_name); in bamf_xutils_get_window_class_hints()
/dports/emulators/qmc2/qmc2-0.195_4/qmc2/
H A Dx11_tools.cpp22 XClassHint class_hint; in x11SearchTree() local
23 if ( XGetClassHint(QX11Info::display(), child_list[i], &class_hint)) { in x11SearchTree()
24 if ( class_hint.res_name ) { in x11SearchTree()
25 if ( rxClassHint.indexIn(QString(class_hint.res_name)) >= 0 ) in x11SearchTree()
27 XFree(class_hint.res_name); in x11SearchTree()
29 if ( class_hint.res_class ) { in x11SearchTree()
30 if ( !win_return && rxClassHint.indexIn(QString(class_hint.res_class)) >= 0 ) in x11SearchTree()
32 XFree(class_hint.res_class); in x11SearchTree()
/dports/deskutils/xmdiary/xmdiary-3.0.3/xtools/
H A DxitWinInfo.c100 XClassHint class_hint; in xitFetchWindowInfo() local
155 class_hint.res_name = NULL; in xitFetchWindowInfo()
156 class_hint.res_class = NULL; in xitFetchWindowInfo()
163 (void) XGetClassHint( display, window, &class_hint ); in xitFetchWindowInfo()
166 if( class_hint.res_name != NULL && flagIsSet( flags, XIT_WI_RES_NAME ) ) in xitFetchWindowInfo()
167 strcpy( win_info.res_name, class_hint.res_name ); in xitFetchWindowInfo()
170 if( class_hint.res_class != NULL && flagIsSet( flags, XIT_WI_RES_CLASS ) ) in xitFetchWindowInfo()
171 strcpy( win_info.res_class, class_hint.res_class ); in xitFetchWindowInfo()
/dports/x11-wm/windowmaker/WindowMaker-0.95.9/src/
H A Dproperties.c53 XClassHint *class_hint; in PropGetWMClass() local
55 class_hint = XAllocClassHint(); in PropGetWMClass()
56 if (XGetClassHint(dpy, window, class_hint) == 0) { in PropGetWMClass()
59 XFree(class_hint); in PropGetWMClass()
62 *wm_instance = strdup(class_hint->res_name); in PropGetWMClass()
63 *wm_class = strdup(class_hint->res_class); in PropGetWMClass()
65 XFree(class_hint->res_name); in PropGetWMClass()
66 XFree(class_hint->res_class); in PropGetWMClass()
67 XFree(class_hint); in PropGetWMClass()
/dports/x11-wm/libwraster/WindowMaker-0.95.9/src/
H A Dproperties.c53 XClassHint *class_hint; in PropGetWMClass() local
55 class_hint = XAllocClassHint(); in PropGetWMClass()
56 if (XGetClassHint(dpy, window, class_hint) == 0) { in PropGetWMClass()
59 XFree(class_hint); in PropGetWMClass()
62 *wm_instance = strdup(class_hint->res_name); in PropGetWMClass()
63 *wm_class = strdup(class_hint->res_class); in PropGetWMClass()
65 XFree(class_hint->res_name); in PropGetWMClass()
66 XFree(class_hint->res_class); in PropGetWMClass()
67 XFree(class_hint); in PropGetWMClass()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/modules/desktop_capture/linux/
H A Dwindow_list_utils.cc100 XClassHint class_hint; in IsDesktopElement() local
101 Status status = XGetClassHint(cache->display(), window, &class_hint); in IsDesktopElement()
107 DeferXFree free_res_name(class_hint.res_name); in IsDesktopElement()
108 DeferXFree free_res_class(class_hint.res_class); in IsDesktopElement()
109 return strcmp("gnome-panel", class_hint.res_name) == 0 || in IsDesktopElement()
110 strcmp("desktop_window", class_hint.res_name) == 0; in IsDesktopElement()
/dports/net-im/tg_owt/tg_owt-d578c76/src/modules/desktop_capture/linux/
H A Dwindow_list_utils.cc100 XClassHint class_hint; in IsDesktopElement() local
101 Status status = XGetClassHint(cache->display(), window, &class_hint); in IsDesktopElement()
107 DeferXFree free_res_name(class_hint.res_name); in IsDesktopElement()
108 DeferXFree free_res_class(class_hint.res_class); in IsDesktopElement()
109 return strcmp("gnome-panel", class_hint.res_name) == 0 || in IsDesktopElement()
110 strcmp("desktop_window", class_hint.res_name) == 0; in IsDesktopElement()
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/modules/desktop_capture/linux/
H A Dwindow_list_utils.cc100 XClassHint class_hint; in IsDesktopElement() local
101 Status status = XGetClassHint(cache->display(), window, &class_hint); in IsDesktopElement()
107 DeferXFree free_res_name(class_hint.res_name); in IsDesktopElement()
108 DeferXFree free_res_class(class_hint.res_class); in IsDesktopElement()
109 return strcmp("gnome-panel", class_hint.res_name) == 0 || in IsDesktopElement()
110 strcmp("desktop_window", class_hint.res_name) == 0; in IsDesktopElement()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/modules/desktop_capture/linux/
H A Dwindow_list_utils.cc100 XClassHint class_hint; in IsDesktopElement() local
101 Status status = XGetClassHint(cache->display(), window, &class_hint); in IsDesktopElement()
107 DeferXFree free_res_name(class_hint.res_name); in IsDesktopElement()
108 DeferXFree free_res_class(class_hint.res_class); in IsDesktopElement()
109 return strcmp("gnome-panel", class_hint.res_name) == 0 || in IsDesktopElement()
110 strcmp("desktop_window", class_hint.res_name) == 0; in IsDesktopElement()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libwebrtc/webrtc/modules/desktop_capture/linux/
H A Dwindow_list_utils.cc152 XClassHint class_hint; in IsDesktopElement() local
153 Status status = XGetClassHint(cache->display(), window, &class_hint); in IsDesktopElement()
159 DeferXFree free_res_name(class_hint.res_name); in IsDesktopElement()
160 DeferXFree free_res_class(class_hint.res_class); in IsDesktopElement()
161 return strcmp("gnome-panel", class_hint.res_name) == 0 || in IsDesktopElement()
162 strcmp("desktop_window", class_hint.res_name) == 0; in IsDesktopElement()
H A Dshared_x_util.cc83 XClassHint class_hint; in IsDesktopElement() local
84 Status status = XGetClassHint(display(), window, &class_hint); in IsDesktopElement()
91 if (strcmp("gnome-panel", class_hint.res_name) == 0 || in IsDesktopElement()
92 strcmp("desktop_window", class_hint.res_name) == 0) { in IsDesktopElement()
95 XFree(class_hint.res_name); in IsDesktopElement()
96 XFree(class_hint.res_class); in IsDesktopElement()
/dports/www/firefox-esr/firefox-91.8.0/third_party/libwebrtc/webrtc/modules/desktop_capture/linux/
H A Dwindow_list_utils.cc152 XClassHint class_hint; in IsDesktopElement() local
153 Status status = XGetClassHint(cache->display(), window, &class_hint); in IsDesktopElement()
159 DeferXFree free_res_name(class_hint.res_name); in IsDesktopElement()
160 DeferXFree free_res_class(class_hint.res_class); in IsDesktopElement()
161 return strcmp("gnome-panel", class_hint.res_name) == 0 || in IsDesktopElement()
162 strcmp("desktop_window", class_hint.res_name) == 0; in IsDesktopElement()
H A Dshared_x_util.cc83 XClassHint class_hint; in IsDesktopElement() local
84 Status status = XGetClassHint(display(), window, &class_hint); in IsDesktopElement()
91 if (strcmp("gnome-panel", class_hint.res_name) == 0 || in IsDesktopElement()
92 strcmp("desktop_window", class_hint.res_name) == 0) { in IsDesktopElement()
95 XFree(class_hint.res_name); in IsDesktopElement()
96 XFree(class_hint.res_class); in IsDesktopElement()
/dports/lang/spidermonkey78/firefox-78.9.0/media/webrtc/trunk/webrtc/modules/desktop_capture/linux/
H A Dwindow_list_utils.cc152 XClassHint class_hint; in IsDesktopElement() local
153 Status status = XGetClassHint(cache->display(), window, &class_hint); in IsDesktopElement()
159 DeferXFree free_res_name(class_hint.res_name); in IsDesktopElement()
160 DeferXFree free_res_class(class_hint.res_class); in IsDesktopElement()
161 return strcmp("gnome-panel", class_hint.res_name) == 0 || in IsDesktopElement()
162 strcmp("desktop_window", class_hint.res_name) == 0; in IsDesktopElement()
H A Dshared_x_util.cc83 XClassHint class_hint; in IsDesktopElement() local
84 Status status = XGetClassHint(display(), window, &class_hint); in IsDesktopElement()
91 if (strcmp("gnome-panel", class_hint.res_name) == 0 || in IsDesktopElement()
92 strcmp("desktop_window", class_hint.res_name) == 0) { in IsDesktopElement()
95 XFree(class_hint.res_name); in IsDesktopElement()
96 XFree(class_hint.res_class); in IsDesktopElement()
/dports/graphics/zbar/zbar-0.23.90/zbar/processor/
H A Dx.c184 XClassHint *class_hint = XAllocClassHint(); in _zbar_processor_open() local
185 class_hint->res_name = "zbar"; in _zbar_processor_open()
186 class_hint->res_class = "zbar"; in _zbar_processor_open()
187 XSetClassHint(proc->display, proc->xwin, class_hint); in _zbar_processor_open()
188 XFree(class_hint); in _zbar_processor_open()
189 class_hint = NULL; in _zbar_processor_open()
/dports/devel/xwpe/xwpe-1.5.30a/
H A DWeXterm.c381 XClassHint class_hint; in WpeXInit() local
392 class_hint.res_name = "xwpe"; in WpeXInit()
397 class_hint.res_name = "xwe"; in WpeXInit()
399 class_hint.res_class = "Xwpe"; in WpeXInit()
401 class_hint.res_name, argc, argv); in WpeXInit()
402 class_list[0] = XrmStringToQuark(class_hint.res_class); in WpeXInit()
403 name_list[0] = XrmStringToQuark(class_hint.res_name); in WpeXInit()
441 class_hint.res_name, argv, *argc, &size_hints, &wm_hints, &class_hint); in WpeXInit()
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/
H A Dshared_x_util.cc83 XClassHint class_hint; in IsDesktopElement() local
84 Status status = XGetClassHint(display(), window, &class_hint); in IsDesktopElement()
91 if (strcmp("gnome-panel", class_hint.res_name) == 0 || in IsDesktopElement()
92 strcmp("desktop_window", class_hint.res_name) == 0) { in IsDesktopElement()
95 XFree(class_hint.res_name); in IsDesktopElement()
96 XFree(class_hint.res_class); in IsDesktopElement()
/dports/www/firefox-legacy/firefox-52.8.0esr/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/
H A Dshared_x_util.cc83 XClassHint class_hint; in IsDesktopElement() local
84 Status status = XGetClassHint(display(), window, &class_hint); in IsDesktopElement()
91 if (strcmp("gnome-panel", class_hint.res_name) == 0 || in IsDesktopElement()
92 strcmp("desktop_window", class_hint.res_name) == 0) { in IsDesktopElement()
95 XFree(class_hint.res_name); in IsDesktopElement()
96 XFree(class_hint.res_class); in IsDesktopElement()
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/modules/desktop_capture/
H A Dwindow_capturer_x11.cc347 XClassHint class_hint; in IsDesktopElement() local
348 Status status = XGetClassHint(display(), window, &class_hint); in IsDesktopElement()
355 if (strcmp("gnome-panel", class_hint.res_name) == 0 || in IsDesktopElement()
356 strcmp("desktop_window", class_hint.res_name) == 0) { in IsDesktopElement()
359 XFree(class_hint.res_name); in IsDesktopElement()
360 XFree(class_hint.res_class); in IsDesktopElement()
/dports/www/firefox-legacy/firefox-52.8.0esr/media/webrtc/trunk/webrtc/modules/desktop_capture/
H A Dwindow_capturer_x11.cc350 XClassHint class_hint; in IsDesktopElement() local
351 Status status = XGetClassHint(display(), window, &class_hint); in IsDesktopElement()
358 if (strcmp("gnome-panel", class_hint.res_name) == 0 || in IsDesktopElement()
359 strcmp("desktop_window", class_hint.res_name) == 0) { in IsDesktopElement()
362 XFree(class_hint.res_name); in IsDesktopElement()
363 XFree(class_hint.res_class); in IsDesktopElement()
/dports/x11-wm/metacity/metacity-3.42.0/src/core/
H A Dxprops.c825 XClassHint *class_hint) in class_hint_from_results() argument
829 class_hint->res_class = NULL; in class_hint_from_results()
830 class_hint->res_name = NULL; in class_hint_from_results()
843 strcpy (class_hint->res_name, (char *)results->prop); in class_hint_from_results()
852 XFree(class_hint->res_name); in class_hint_from_results()
853 class_hint->res_name = NULL; in class_hint_from_results()
871 XClassHint *class_hint) in meta_prop_get_class_hint() argument
875 class_hint->res_class = NULL; in meta_prop_get_class_hint()
876 class_hint->res_name = NULL; in meta_prop_get_class_hint()
1263 meta_XFree (value->v.class_hint.res_class); in free_value()
[all …]
/dports/x11-wm/marco/marco-1.26.0/src/core/
H A Dxprops.c813 XClassHint *class_hint) in class_hint_from_results() argument
817 class_hint->res_class = NULL; in class_hint_from_results()
818 class_hint->res_name = NULL; in class_hint_from_results()
840 XFree(class_hint->res_name); in class_hint_from_results()
841 class_hint->res_name = NULL; in class_hint_from_results()
859 XClassHint *class_hint) in meta_prop_get_class_hint() argument
863 class_hint->res_class = NULL; in meta_prop_get_class_hint()
864 class_hint->res_name = NULL; in meta_prop_get_class_hint()
870 return class_hint_from_results (&results, class_hint); in meta_prop_get_class_hint()
1249 meta_XFree (value->v.class_hint.res_class); in free_value()
[all …]
/dports/x11-wm/muffin/muffin-4.8.0/src/core/
H A Dxprops.c801 XClassHint *class_hint) in class_hint_from_results() argument
805 class_hint->res_class = NULL; in class_hint_from_results()
806 class_hint->res_name = NULL; in class_hint_from_results()
819 strcpy (class_hint->res_name, (char *)results->prop); in class_hint_from_results()
828 XFree(class_hint->res_name); in class_hint_from_results()
829 class_hint->res_name = NULL; in class_hint_from_results()
847 XClassHint *class_hint) in meta_prop_get_class_hint() argument
851 class_hint->res_class = NULL; in meta_prop_get_class_hint()
852 class_hint->res_name = NULL; in meta_prop_get_class_hint()
1251 meta_XFree (value->v.class_hint.res_class); in free_value()
[all …]
/dports/x11-wm/pekwm/pekwm-release-0.2.0/src/
H A DX11App.cc80 XClassHint class_hint = {strdup(wm_name), strdup(wm_class)}; in X11App() local
83 normal_hints, &wm_hints, &class_hint); in X11App()
84 free(class_hint.res_name); in X11App()
85 free(class_hint.res_class); in X11App()

12345