Home
last modified time | relevance | path

Searched refs:ewmh (Results 1 – 25 of 358) sorted by relevance

12345678910>>...15

/dports/x11/wmfocus/wmfocus-1.2.0/cargo-crates/xcb-util-0.3.0/src/ffi/
H A Dewmh.rs496 free((*ewmh).screens as *mut _); in xcb_ewmh_connection_wipe()
497 free((*ewmh)._NET_WM_CM_Sn as *mut _); in xcb_ewmh_connection_wipe()
577 xcb_ewmh_get_window_reply(ewmh, cookie, window, e) in xcb_ewmh_get_supporting_wm_check_reply()
602 …xcb_ewmh_send_client_message((*ewmh).connection, XCB_NONE, (**(*ewmh).screens.offset(screen_nbr as… in xcb_ewmh_request_change_showing_desktop()
608 …xcb_ewmh_send_client_message((*ewmh).connection, client_window, (**(*ewmh).screens.offset(screen_n… in xcb_ewmh_request_frame_extents()
614 xcb_ewmh_get_utf8_strings_from_reply(ewmh, data, r) in xcb_ewmh_get_wm_name_from_reply()
624 xcb_ewmh_get_utf8_strings_from_reply(ewmh, data, r) in xcb_ewmh_get_wm_visible_name_from_reply()
664 …xcb_change_property((*ewmh).connection, mode, window, (*ewmh)._NET_WM_ICON, XCB_ATOM_CARDINAL, 32,… in xcb_ewmh_set_wm_icon()
679 xcb_ewmh_get_cardinal_reply(ewmh, cookie, pid, e) in xcb_ewmh_get_wm_pid_reply()
699 xcb_ewmh_get_cardinal_reply(ewmh, cookie, time, e) in xcb_ewmh_get_wm_user_time_reply()
[all …]
/dports/x11/xcb-util-wm/xcb-util-wm-0.4.1/ewmh/
H A Dewmh.c.m4438 ewmh->property, ewmh->UTF8_STRING, 8, \
521 xcb_ewmh_connection_t *ewmh)
525 ewmh->connection = c;
530 if(!ewmh->nb_screens)
534 ewmh->screens = malloc(sizeof(xcb_screen_t *) * ewmh->nb_screens);
535 ewmh->_NET_WM_CM_Sn = malloc(sizeof(xcb_atom_t) * ewmh->nb_screens);
600 xcb_ewmh_connection_wipe(ewmh);
1011 xcb_ewmh_set_wm_strut(xcb_ewmh_connection_t *ewmh,
1319 xcb_ewmh_send_wm_ping(xcb_ewmh_connection_t *ewmh,
1522 ev.type = ewmh->MANAGER;
[all …]
H A Dxcb_ewmh.h.m4359 * @param ewmh The information relative to EWMH
382 free(ewmh->screens);
383 free(ewmh->_NET_WM_CM_Sn);
539 * @param ewmh The per-screen EWMH information
627 * @param ewmh The per-screen EWMH information
713 * @param ewmh The per-screen EWMH information
795 * @param ewmh The per-screen EWMH information
882 * @param ewmh The per-screen EWMH information
921 * @param ewmh The per-screen EWMH information
969 * @param ewmh The per-screen EWMH information
[all …]
H A DMakefile.am2 lib_LTLIBRARIES = libxcb-ewmh.la
9 libxcb_ewmh_la_SOURCES = ewmh.c.m4 atomlist.m4 xcb_ewmh.h.m4
10 nodist_libxcb_ewmh_la_SOURCES = ewmh.c
14 pkgconfig_DATA = xcb-ewmh.pc
16 BUILT_SOURCES = ewmh.c xcb_ewmh.h
19 ewmh.c: ewmh.c.m4 atomlist.m4
/dports/devel/py-ewmh/ewmh-0.1.6/doc/
H A Dewmh.rst2 The ewmh python module
5 .. automodule:: ewmh.ewmh
22 from ewmh import EWMH
23 ewmh = EWMH()
35 ewmh.display.flush()
39 from ewmh import EWMH
40 ewmh = EWMH()
53 ewmh.display.flush()
58 ewmh = EWMH()
61 wins = filter(lambda w: ewmh.getWmDesktop(w) == 1, ewmh.getClientList())
[all …]
/dports/x11-wm/cwm/cwm-6.7/
H A Dxutil.c210 XChangeProperty(X_Dpy, w, ewmh[_NET_WM_NAME], in xu_ewmh_net_supported_wm_check()
473 if (first != ewmh[handlers[i].atom] && in xu_ewmh_handle_net_wm_state_msg()
474 second != ewmh[handlers[i].atom]) in xu_ewmh_handle_net_wm_state_msg()
499 if (atoms[i] == ewmh[_NET_WM_STATE_STICKY]) in xu_ewmh_restore_net_wm_state()
505 if (atoms[i] == ewmh[_NET_WM_STATE_HIDDEN]) in xu_ewmh_restore_net_wm_state()
515 if (atoms[i] == ewmh[_CWM_WM_STATE_FREEZE]) in xu_ewmh_restore_net_wm_state()
538 oatoms[i] != ewmh[_CWM_WM_STATE_FREEZE]) in xu_ewmh_set_net_wm_state()
543 atoms[j++] = ewmh[_NET_WM_STATE_STICKY]; in xu_ewmh_set_net_wm_state()
545 atoms[j++] = ewmh[_NET_WM_STATE_HIDDEN]; in xu_ewmh_set_net_wm_state()
547 atoms[j++] = ewmh[_NET_WM_STATE_FULLSCREEN]; in xu_ewmh_set_net_wm_state()
[all …]
/dports/x11-wm/awesome/awesome-4.3/lib/awful/
H A Dewmh.lua21 local ewmh = {
107 ewmh.generic_activate_filters
169 function ewmh.add_activate_filter(f, context)
173 ewmh.contextual_activate_filters[context] =
188 function ewmh.remove_activate_filter(f, context)
190 or ewmh.generic_activate_filters
254 function ewmh.urgent(c, urgent)
276 function ewmh.geometry(c, context, hints)
421 ewmh.add_activate_filter(function(c)
431 client.connect_signal("request::tag", ewmh.tag)
[all …]
/dports/x11-wm/bbpager/bbpager-0.4.7/src/
H A Dwminterface.cxx33 ewmh = bbtool->ewmh(); in WMInterface()
122 sendClientMessage(win, ewmh->wmDesktop(), desk_number); in sendWindowToDesktop()
128 sendClientMessage(win, ewmh->activeWindow(), win); in setWindowFocus()
173 if (ewmh->getProperty(target, XA_WINDOW, ewmh->activeWindow(), &data)) { in readActiveWindow()
184 if (event->atom == ewmh->clientList()) { in propertyNotifyEvent()
188 } else if (event->atom == ewmh->numberOfDesktops()) { in propertyNotifyEvent()
192 } else if (event->atom == ewmh->desktopGeometry()) { in propertyNotifyEvent()
194 } else if (event->atom == ewmh->currentDesktop()) { in propertyNotifyEvent()
201 } else if (event->atom == ewmh->desktopNames()) { in propertyNotifyEvent()
203 } else if (event->atom == ewmh->activeWindow()) { in propertyNotifyEvent()
[all …]
H A Dpager.cxx34 bt::EventHandler(), bbtool(toolwindow), ewmh(toolwindow->ewmh()) in PagerWindow()
38 ewmh->readWMDesktop(_window, desktop_nr); in PagerWindow()
57 ewmh->readWMState(win, states); in PagerWindow()
60 if ((*it) == ewmh->wmStateShaded()) in PagerWindow()
67 else if ((*it) == ewmh->wmStateSkipPager()) in PagerWindow()
71 else if ((*it) == ewmh->wmStateHidden()) in PagerWindow()
359 if (event->atom == ewmh->wmDesktop()) in propertyNotifyEvent()
387 else if (event->atom == ewmh->wmState()) in propertyNotifyEvent()
394 ewmh->readWMState(event->window, states); in propertyNotifyEvent()
397 if ((*it) == ewmh->wmStateShaded()) in propertyNotifyEvent()
[all …]
/dports/x11-wm/bspwm/bspwm-0.9.10/src/
H A Dbspwm.c277 xcb_ewmh_connection_wipe(ewmh); in main()
280 free(ewmh); in main()
363 xcb_atom_t net_atoms[] = {ewmh->_NET_SUPPORTED, in setup()
365 ewmh->_NET_DESKTOP_NAMES, in setup()
369 ewmh->_NET_CLIENT_LIST, in setup()
370 ewmh->_NET_ACTIVE_WINDOW, in setup()
371 ewmh->_NET_CLOSE_WINDOW, in setup()
373 ewmh->_NET_WM_DESKTOP, in setup()
374 ewmh->_NET_WM_STATE, in setup()
455 xcb_ewmh_connection_wipe(ewmh); in register_events()
[all …]
H A Dewmh.c34 xcb_ewmh_connection_t *ewmh; variable
38 ewmh = calloc(1, sizeof(xcb_ewmh_connection_t)); in ewmh_init()
39 if (xcb_ewmh_init_atoms_replies(ewmh, xcb_ewmh_init_atoms(dpy, ewmh), NULL) == 0) { in ewmh_init()
107 xcb_ewmh_set_wm_desktop(ewmh, f->id, i); in ewmh_set_wm_desktop()
120 xcb_ewmh_set_wm_desktop(ewmh, n->id, i); in ewmh_update_wm_desktops()
180 …if (xcb_ewmh_get_wm_strut_partial_reply(ewmh, xcb_ewmh_get_wm_strut_partial(ewmh, win), &struts, N… in ewmh_handle_struts()
274 values[count++] = ewmh->_NET_WM_STATE_##s; \ in ewmh_wm_state_update()
289 xcb_ewmh_set_wm_state(ewmh, n->id, count, values); in ewmh_wm_state_update()
295 xcb_ewmh_set_supporting_wm_check(ewmh, root, win); in ewmh_set_supporting()
296 xcb_ewmh_set_supporting_wm_check(ewmh, win, win); in ewmh_set_supporting()
[all …]
H A Drule.c222 …if (xcb_ewmh_get_wm_window_type_reply(ewmh, xcb_ewmh_get_wm_window_type(ewmh, win), &win_type, NUL… in _apply_window_type()
225 if (a == ewmh->_NET_WM_WINDOW_TYPE_TOOLBAR || in _apply_window_type()
226 a == ewmh->_NET_WM_WINDOW_TYPE_UTILITY) { in _apply_window_type()
228 } else if (a == ewmh->_NET_WM_WINDOW_TYPE_DIALOG) { in _apply_window_type()
231 } else if (a == ewmh->_NET_WM_WINDOW_TYPE_DOCK || in _apply_window_type()
235 if (a == ewmh->_NET_WM_WINDOW_TYPE_DESKTOP) { in _apply_window_type()
247 if (xcb_ewmh_get_wm_state_reply(ewmh, xcb_ewmh_get_wm_state(ewmh, win), &win_state, NULL) == 1) { in _apply_window_state()
250 if (a == ewmh->_NET_WM_STATE_FULLSCREEN) { in _apply_window_state()
252 } else if (a == ewmh->_NET_WM_STATE_BELOW) { in _apply_window_state()
254 } else if (a == ewmh->_NET_WM_STATE_ABOVE) { in _apply_window_state()
[all …]
/dports/x11-wm/blackbox/blackbox-0.70.1/src/
H A DWindow.cc545 EWMH ewmh; in readEWMH() local
957 const bt::EWMH& ewmh = blackbox->ewmh(); in clearState() local
958 ewmh.removeProperty(window, ewmh.wmDesktop()); in clearState()
959 ewmh.removeProperty(window, ewmh.wmState()); in clearState()
961 ewmh.removeProperty(window, ewmh.wmVisibleName()); in clearState()
1115 client.ewmh.maxv = client.ewmh.maxh = false; in BlackboxWindow()
2352 client.ewmh.maxh = client.ewmh.maxv = false; in maximize()
2468 client.ewmh.maxh = client.ewmh.maxv = false; in remaximize()
2653 const bt::EWMH& ewmh = blackbox->ewmh(); in updateEWMHState() local
2693 const bt::EWMH& ewmh = blackbox->ewmh(); in updateEWMHAllowedActions() local
[all …]
H A DScreen.cc167 const bt::EWMH& ewmh = _blackbox->ewmh(); in BScreen() local
189 ewmh.clientList(), in BScreen()
195 ewmh.desktopNames(), in BScreen()
196 ewmh.activeWindow(), in BScreen()
197 ewmh.workarea(), in BScreen()
201 ewmh.closeWindow(), in BScreen()
205 ewmh.wmName(), in BScreen()
207 ewmh.wmIconName(), in BScreen()
209 ewmh.wmDesktop(), in BScreen()
221 ewmh.wmState(), in BScreen()
[all …]
/dports/x11/wmfocus/wmfocus-1.2.0/cargo-crates/xcb-util-0.3.0/src/
H A Dewmh.rs9 use ffi::ewmh::*;
247 ewmh: ewmh, in connect()
264 slice::from_raw_parts(self.ewmh._NET_WM_CM_Sn, self.ewmh.nb_screens as usize) in WM_CM()
315 self.ewmh._NET_WORKAREA in WORKAREA()
365 self.ewmh._NET_WM_NAME in WM_NAME()
395 self.ewmh._NET_WM_STATE in WM_STATE()
420 self.ewmh._NET_WM_ICON in WM_ICON()
425 self.ewmh._NET_WM_PID in WM_PID()
450 self.ewmh._NET_WM_PING in WM_PING()
475 self.ewmh.WM_PROTOCOLS in WM_PROTOCOLS()
[all …]
/dports/x11/xtitle/xtitle-0.4.4/
H A Dxtitle.c21 ewmh = NULL; in main()
129 if (ewmh != NULL) { in main()
130 xcb_ewmh_connection_wipe(ewmh); in main()
135 free(ewmh); in main()
153 ewmh = malloc(sizeof(xcb_ewmh_connection_t)); in setup()
154 if (xcb_ewmh_init_atoms_replies(ewmh, xcb_ewmh_init_atoms(dpy, ewmh), NULL) == 0) { in setup()
253 if (pne->atom == ewmh->_NET_ACTIVE_WINDOW) { in title_changed()
262 …&& pne->window == *win && ((visible && pne->atom == ewmh->_NET_WM_VISIBLE_NAME) || pne->atom == ew… in title_changed()
280 …return (xcb_ewmh_get_active_window_reply(ewmh, xcb_ewmh_get_active_window(ewmh, default_screen), w… in get_active_window()
289 …e_reply(ewmh, xcb_ewmh_get_wm_visible_name(ewmh, win), &ewmh_txt_prop, NULL) == 1) || xcb_ewmh_get… in get_window_title()
/dports/x11-wm/awesome/awesome-4.3/spec/awful/
H A Dewmh_spec.lua15 local ewmh = require("awful.ewmh")
21 ewmh.client_geometry_requests(c, "ewmh", {})
24 ewmh.client_geometry_requests(c, "ewmh", {x=0, width=400})
29 ewmh.client_geometry_requests(c, "ewmh", {x=0, width=400})
32 ewmh.client_geometry_requests(c, "ewmh", {x=0, width=400, y=0})
37 ewmh.client_geometry_requests(c, "ewmh", {x=0, width=400, y=0})
43 ewmh.client_geometry_requests(c, "ewmh", hints)
/dports/x11-wm/chamfer/chamferwm-d0916ee/src/
H A Dbackend.cpp686 ewmh._NET_WM_NAME, in Start()
687 ewmh._NET_CLIENT_LIST, in Start()
689 ewmh._NET_CURRENT_DESKTOP, in Start()
692 ewmh._NET_DESKTOP_VIEWPORT, in Start()
693 ewmh._NET_DESKTOP_GEOMETRY, in Start()
694 ewmh._NET_ACTIVE_WINDOW, in Start()
695 ewmh._NET_WORKAREA, in Start()
696 ewmh._NET_WM_STATE, in Start()
699 ewmh._NET_ACTIVE_WINDOW, in Start()
700 ewmh._NET_CLOSE_WINDOW, in Start()
[all …]
/dports/x11-wm/bspwm/bspwm-0.9.10/
H A DSourcedeps2 bspwm.o: bspwm.c bspwm.h common.h desktop.h events.h ewmh.h helpers.h history.h messages.h monitor.…
3 desktop.o: desktop.c bspwm.h desktop.h ewmh.h helpers.h history.h monitor.h query.h settings.h subs…
4 events.o: events.c bspwm.h events.h ewmh.h helpers.h monitor.h pointer.h query.h settings.h subscri…
5 ewmh.o: ewmh.c bspwm.h ewmh.h helpers.h settings.h tree.h types.h
11 monitor.o: monitor.c bspwm.h desktop.h ewmh.h geometry.h helpers.h monitor.h pointer.h query.h sett…
15 restore.o: restore.c bspwm.h desktop.h ewmh.h helpers.h history.h jsmn.h monitor.h parse.h pointer.…
16 rule.o: rule.c bspwm.h ewmh.h helpers.h parse.h rule.h settings.h subscribe.h types.h window.h
18 stack.o: stack.c bspwm.h ewmh.h helpers.h stack.h subscribe.h tree.h types.h window.h
20 tree.o: tree.c bspwm.h desktop.h ewmh.h geometry.h helpers.h history.h monitor.h pointer.h query.h …
21 window.o: window.c bspwm.h ewmh.h geometry.h helpers.h monitor.h parse.h pointer.h query.h rule.h s…
/dports/x11-wm/e16/e16-1.0.24/src/
H A Dewmh.c446 ewin->ewmh.opacity_update = 0; in EWMH_SetWindowOpacity()
567 ewin->ewmh.type.all = 0; in EWMH_GetWindowType()
574 ewin->ewmh.type.b.dialog = 1; in EWMH_GetWindowType()
576 ewin->ewmh.type.b.normal = 1; in EWMH_GetWindowType()
586 ewin->ewmh.type.b.dock = 1; in EWMH_GetWindowType()
592 ewin->ewmh.type.b.menu = 1; in EWMH_GetWindowType()
594 ewin->ewmh.type.b.splash = 1; in EWMH_GetWindowType()
596 ewin->ewmh.type.b.dialog = 1; in EWMH_GetWindowType()
614 ewin->ewmh.wm_icon_len = num; in EWMH_GetWindowIcons()
627 ewin->ewmh.wm_icon = val; in EWMH_GetWindowIcons()
[all …]
/dports/x11/rofi/rofi-1.6.1/source/dialogs/
H A Dwindow.c321 xcb_get_property_cookie_t cky = xcb_ewmh_get_wm_state ( &xcb->ewmh, win ); in window_client()
323 if ( xcb_ewmh_get_wm_state_reply ( &xcb->ewmh, cky, &states, NULL ) ) { in window_client()
328 cky = xcb_ewmh_get_wm_window_type ( &xcb->ewmh, win ); in window_client()
329 if ( xcb_ewmh_get_wm_window_type_reply ( &xcb->ewmh, cky, &states, NULL ) ) { in window_client()
335 c->title = window_get_text_prop ( c->window, xcb->ewmh._NET_WM_NAME ); in window_client()
489 c = xcb_ewmh_get_current_desktop ( &xcb->ewmh, xcb->screen_nbr ); in _window_mode_load_data()
494 c = xcb_ewmh_get_client_list_stacking ( &xcb->ewmh, 0 ); in _window_mode_load_data()
500 c = xcb_ewmh_get_client_list ( &xcb->ewmh, xcb->screen_nbr ); in _window_mode_load_data()
528 && !client_has_state ( c, xcb->ewmh._NET_WM_STATE_SKIP_PAGER ) in _window_mode_load_data()
685 xcb_ewmh_request_change_current_desktop ( &xcb->ewmh, in window_mode_result()
[all …]
/dports/x11/rofi-wayland/rofi-1.6.1-wayland/source/dialogs/
H A Dwindow.c321 xcb_get_property_cookie_t cky = xcb_ewmh_get_wm_state ( &xcb->ewmh, win ); in window_client()
323 if ( xcb_ewmh_get_wm_state_reply ( &xcb->ewmh, cky, &states, NULL ) ) { in window_client()
328 cky = xcb_ewmh_get_wm_window_type ( &xcb->ewmh, win ); in window_client()
329 if ( xcb_ewmh_get_wm_window_type_reply ( &xcb->ewmh, cky, &states, NULL ) ) { in window_client()
335 c->title = window_get_text_prop ( c->window, xcb->ewmh._NET_WM_NAME ); in window_client()
489 c = xcb_ewmh_get_current_desktop ( &xcb->ewmh, xcb->screen_nbr ); in _window_mode_load_data()
494 c = xcb_ewmh_get_client_list_stacking ( &xcb->ewmh, 0 ); in _window_mode_load_data()
500 c = xcb_ewmh_get_client_list ( &xcb->ewmh, xcb->screen_nbr ); in _window_mode_load_data()
528 && !client_has_state ( c, xcb->ewmh._NET_WM_STATE_SKIP_PAGER ) in _window_mode_load_data()
685 xcb_ewmh_request_change_current_desktop ( &xcb->ewmh, in window_mode_result()
[all …]
/dports/x11/xdo/xdo-0.5.7/
H A Dxdo.c290 ewmh = malloc(sizeof(xcb_ewmh_connection_t)); in setup()
291 if (xcb_ewmh_init_atoms_replies(ewmh, xcb_ewmh_init_atoms(dpy, ewmh), NULL) == 0) { in setup()
299 xcb_ewmh_connection_wipe(ewmh); in finish()
300 free(ewmh); in finish()
313 …if (xcb_ewmh_get_active_window_reply(ewmh, xcb_ewmh_get_active_window(ewmh, default_screen), win, … in get_active_window()
353 return (xcb_ewmh_get_wm_pid_reply(ewmh, xcb_ewmh_get_wm_pid(ewmh, win), pid, NULL) == 1); in get_pid()
358 …return (xcb_ewmh_get_wm_desktop_reply(ewmh, xcb_ewmh_get_wm_desktop(ewmh, win), desktop, NULL) == … in get_desktop()
363 …return (xcb_ewmh_get_current_desktop_reply(ewmh, xcb_ewmh_get_current_desktop(ewmh, default_screen… in get_current_desktop()
368 …xcb_ewmh_request_close_window(ewmh, default_screen, win, XCB_CURRENT_TIME, XCB_EWMH_CLIENT_SOURCE_… in window_close()
457 …xcb_ewmh_request_change_active_window(ewmh, default_screen, win, XCB_EWMH_CLIENT_SOURCE_TYPE_OTHER… in window_activate()
/dports/devel/py-ewmh/ewmh-0.1.6/ewmh.egg-info/
H A DPKG-INFO2 Name: ewmh
22 .. image:: https://badge.fury.io/py/ewmh.svg
23 :target: https://badge.fury.io/py/ewmh
29 pip install ewmh
34 Online documentation is available here: http://ewmh.readthedocs.org/en/latest/.
/dports/devel/py-ewmh/ewmh-0.1.6/
H A DPKG-INFO2 Name: ewmh
22 .. image:: https://badge.fury.io/py/ewmh.svg
23 :target: https://badge.fury.io/py/ewmh
29 pip install ewmh
34 Online documentation is available here: http://ewmh.readthedocs.org/en/latest/.

12345678910>>...15