/dports/x11-wm/openbox/openbox-3.6/openbox/ |
H A D | frame.c | 182 XMapWindow(obt_display, self->label); in frame_new() 183 XMapWindow(obt_display, self->backback); in frame_new() 184 XMapWindow(obt_display, self->backfront); in frame_new() 203 XResizeWindow(obt_display, self->max, in set_theme_statics() 207 XResizeWindow(obt_display, self->icon, in set_theme_statics() 209 XResizeWindow(obt_display, self->close, in set_theme_statics() 211 XResizeWindow(obt_display, self->desk, in set_theme_statics() 213 XResizeWindow(obt_display, self->shade, in set_theme_statics() 977 XFlush(obt_display); in frame_adjust_focus() 1791 XFlush(obt_display); in frame_animate_iconify() [all …]
|
H A D | framerender.c | 53 XClearWindow(obt_display, self->backback); in framerender_frame() 55 XClearWindow(obt_display, self->innerleft); in framerender_frame() 57 XClearWindow(obt_display, self->innertop); in framerender_frame() 63 XClearWindow(obt_display, self->innerbll); in framerender_frame() 65 XClearWindow(obt_display, self->innerbrr); in framerender_frame() 67 XClearWindow(obt_display, self->innerblb); in framerender_frame() 69 XClearWindow(obt_display, self->innerbrb); in framerender_frame() 80 XClearWindow(obt_display, self->left); in framerender_frame() 82 XClearWindow(obt_display, self->right); in framerender_frame() 87 XClearWindow(obt_display, self->titletop); in framerender_frame() [all …]
|
H A D | grab.c | 88 ret = XGrabKeyboard(obt_display, grab_window(), in grab_keyboard_full() 101 XUngrabKeyboard(obt_display, ungrab_time()); in grab_keyboard_full() 116 ret = XGrabPointer(obt_display, grab_window(), owner_events, in grab_pointer_full() 129 XUngrabPointer(obt_display, ungrab_time()); in grab_pointer_full() 141 XGrabServer(obt_display); in grab_server() 142 XSync(obt_display, FALSE); in grab_server() 146 XUngrabServer(obt_display); in grab_server() 147 XFlush(obt_display); in grab_server() 207 XUngrabButton(obt_display, button, state | mask_list[i], win); in ungrab_button() 226 XUngrabKey(obt_display, AnyKey, AnyModifier, win); in ungrab_all_keys() [all …]
|
H A D | focus_cycle_popup.c | 222 XDestroyWindow(obt_display, t->iconwin); in focus_cycle_popup_shutdown() 223 XDestroyWindow(obt_display, t->textwin); in focus_cycle_popup_shutdown() 235 XDestroyWindow(obt_display, popup.bg); in focus_cycle_popup_shutdown() 248 XDestroyWindow(obt_display, t->iconwin); in popup_target_free() 249 XDestroyWindow(obt_display, t->textwin); in popup_target_free() 704 XFlush(obt_display); in popup_render() 729 XMapWindow(obt_display, popup.bg); in focus_cycle_popup_show() 730 XFlush(obt_display); in focus_cycle_popup_show() 742 XUnmapWindow(obt_display, popup.bg); in focus_cycle_popup_hide() 743 XFlush(obt_display); in focus_cycle_popup_hide() [all …]
|
H A D | focus_cycle_indicator.c | 48 return XCreateWindow(obt_display, parent, 0, 0, 1, 1, 0, in create_window() 68 attr.background_pixel = BlackPixel(obt_display, ob_screen); in focus_cycle_indicator_startup() 130 XDestroyWindow(obt_display, focus_indicator.top.window); in focus_cycle_indicator_shutdown() 131 XDestroyWindow(obt_display, focus_indicator.left.window); in focus_cycle_indicator_shutdown() 132 XDestroyWindow(obt_display, focus_indicator.right.window); in focus_cycle_indicator_shutdown() 133 XDestroyWindow(obt_display, focus_indicator.bottom.window); in focus_cycle_indicator_shutdown() 150 XUnmapWindow(obt_display, focus_indicator.top.window); in focus_cycle_draw_indicator() 151 XUnmapWindow(obt_display, focus_indicator.left.window); in focus_cycle_draw_indicator() 278 XMapWindow(obt_display, focus_indicator.top.window); in focus_cycle_draw_indicator() 279 XMapWindow(obt_display, focus_indicator.left.window); in focus_cycle_draw_indicator() [all …]
|
H A D | dock.c | 65 XSetWindowBorder(obt_display, dock->frame, in dock_startup() 104 XSetWindowBorder(obt_display, dock->frame, in dock_startup() 130 XDestroyWindow(obt_display, dock->frame); in dock_shutdown() 182 XMapWindow(obt_display, app->icon_win); in dock_manage() 187 XMapWindow(obt_display, app->name_win); in dock_manage() 190 XSync(obt_display, False); in dock_manage() 211 XSelectInput(obt_display, app->icon_win, NoEventMask); in dock_unmanage() 214 XSync(obt_display, False); in dock_unmanage() 219 XReparentWindow(obt_display, app->name_win, in dock_unmanage() 543 XMapWindow(obt_display, dock->frame); in dock_configure() [all …]
|
H A D | popup.c | 49 self->text = XCreateWindow(obt_display, self->bg, in popup_new() 54 XSetWindowBorder(obt_display, self->bg, in popup_new() 57 XMapWindow(obt_display, self->text); in popup_new() 69 XDestroyWindow(obt_display, self->bg); in popup_free() 70 XDestroyWindow(obt_display, self->text); in popup_free() 145 XMapWindow(obt_display, self->bg); in popup_show_timeout() 323 XUnmapWindow(obt_display, self->bg); in popup_hide() 356 XMapWindow(obt_display, self->icon); in icon_popup_new() 368 XDestroyWindow(obt_display, self->icon); in icon_popup_free() 529 XDestroyWindow(obt_display, self->wins[i]); in pager_popup_free() [all …]
|
H A D | window.c | 114 if (!XQueryTree(obt_display, RootWindow(obt_display, ob_screen), in window_manage_all() 123 wmhints = XGetWMHints(obt_display, children[i]); in window_manage_all() 140 if (XGetWindowAttributes(obt_display, children[i], &attrib)) { in window_manage_all() 173 else if (!XGetWindowAttributes(obt_display, win, &attrib)) in window_manage() 180 if ((wmhints = XGetWMHints(obt_display, win))) { in window_manage()
|
H A D | menuframe.c | 131 XSetWindowBorder(obt_display, self->window, in menu_frame_new() 195 XMapWindow(obt_display, self->window); in menu_entry_frame_new() 196 XMapWindow(obt_display, self->text); in menu_entry_frame_new() 406 XResizeWindow(obt_display, self->window, in menu_entry_frame_render() 563 XMapWindow(obt_display, self->icon); in menu_entry_frame_render() 603 XMapWindow(obt_display, self->icon); in menu_entry_frame_render() 628 XFlush(obt_display); in menu_entry_frame_render() 747 XMoveWindow(obt_display, e->window, in menu_frame_render() 848 XFlush(obt_display); in menu_frame_render() 1022 XMapWindow(obt_display, self->window); in menu_frame_show_topmenu() [all …]
|
H A D | prompt.c | 142 XMapWindow(obt_display, self->msg.window); in prompt_new() 169 XMapWindow(obt_display, self->button[i].window); in prompt_new() 173 XSelectInput(obt_display, self->button[i].window, in prompt_new() 204 XDestroyWindow(obt_display, self->msg.window); in prompt_unref() 205 XDestroyWindow(obt_display, self->super.window); in prompt_unref() 282 XMoveResizeWindow(obt_display, self->msg.window, in prompt_layout() 286 XMoveResizeWindow(obt_display, self->button[i].window, in prompt_layout() 308 req.display = obt_display; in prompt_resize() 318 XResizeWindow(obt_display, self->super.window, w, h); in prompt_resize() 445 XSetWMHints(obt_display, self->super.window, &h); in prompt_show() [all …]
|
H A D | screen.c | 98 wm_sn_atom = XInternAtom(obt_display, wm_sn, FALSE); in replace_wm() 114 XSync(obt_display, FALSE); in replace_wm() 179 XMapWindow(obt_display, screen_support_win); in screen_annex() 180 XLowerWindow(obt_display, screen_support_win); in screen_annex() 183 XDestroyWindow(obt_display, screen_support_win); in screen_annex() 194 XDestroyWindow(obt_display, screen_support_win); in screen_annex() 349 e.xclient.display = obt_display; in screen_tell_ksplash() 355 XSendEvent(obt_display, obt_root(ob_screen), in screen_tell_ksplash() 477 XDestroyWindow(obt_display, screen_support_win); in screen_shutdown() 1882 XDefineCursor(obt_display, obt_root(ob_screen), in screen_set_root_cursor() [all …]
|
H A D | openbox.c | 178 ob_screen = DefaultScreen(obt_display); in main() 180 ob_rr_inst = RrInstanceNew(obt_display, ob_screen); in main() 189 XSynchronize(obt_display, xsync); in main() 199 g_setenv("DISPLAY", DisplayString(obt_display), TRUE); in main() 418 XSync(obt_display, FALSE); in main() 724 c = XcursorLibraryLoadCursor(obt_display, name); in load_cursor() 727 c = XCreateFontCursor(obt_display, fontval); in load_cursor()
|
H A D | moveresize.c | 284 XSyncSetCounter(obt_display, moveresize_client->sync_counter, val); in moveresize_start() 300 moveresize_alarm = XSyncCreateAlarm(obt_display, in moveresize_start() 324 XSyncDestroyAlarm(obt_display, moveresize_alarm); in moveresize_end() 430 ce.xclient.display = obt_display; in do_resize() 438 XSendEvent(obt_display, moveresize_client->window, FALSE, in do_resize() 605 XWarpPointer(obt_display, 0, obt_root(ob_screen), 0, 0, 0, 0, x, y); in edge_warp_move_ptr() 721 XWarpPointer(obt_display, None, None, 0, 0, 0, 0, dx, dy); in move_with_keys() 723 XSync(obt_display, FALSE); in move_with_keys() 913 XWarpPointer(obt_display, None, None, 0, 0, 0, 0, pdx, pdy); in resize_with_keys() 915 XSync(obt_display, FALSE); in resize_with_keys()
|
H A D | client.c | 230 XChangeWindowAttributes(obt_display, window, in client_manage() 603 XFlush(obt_display); in client_unmanage() 703 XMapWindow(obt_display, self->window); in client_unmanage() 1028 XResizeWindow(obt_display, self->window, in client_restore_session_state() 3205 XMoveResizeWindow(obt_display, self->window, in client_configure() 3273 event.xconfigure.display = obt_display; in client_configure() 3300 XMoveResizeWindow(obt_display, self->window, in client_configure() 3304 XFlush(obt_display); in client_configure() 3589 XKillClient(obt_display, self->window); in client_close() 3709 XKillClient(obt_display, self->window); in client_kill() [all …]
|
H A D | focus.c | 55 XSetInputFocus(obt_display, PointerRoot, RevertToNone, CurrentTime); in focus_shutdown() 200 XSetInputFocus(obt_display, screen_support_win, RevertToPointerRoot, in focus_nothing()
|
H A D | mouse.c | 204 XAllowEvents(obt_display, ReplayPointer, event_time()); in mouse_replay_pointer() 286 junk1 = XGetGeometry(obt_display, e->xbutton.window, in mouse_event()
|
H A D | stacking.c | 113 XRestackWindows(obt_display, win, i); in do_restack() 140 XRestackWindows(obt_display, win, 2); in stacking_temp_raise() 158 XRestackWindows(obt_display, win, i); in stacking_restore()
|
H A D | translate.c | 148 *keycode = XKeysymToKeycode(obt_display, sym); in translate_key()
|
H A D | event.c | 599 if (XGetInputFocus(obt_display, &win, &i) && in event_process() 600 XGetGeometry(obt_display, win, &root, &i,&i,&u,&u,&u,&u) && in event_process() 687 XConfigureWindow(obt_display, window, in event_process() 2166 return NextRequest(obt_display); in event_start_ignore_all_enters() 2196 event_ignore_enter_range(start, NextRequest(obt_display)-1); in event_end_ignore_all_enters() 2240 XSync(obt_display, FALSE); in event_cancel_all_key_grabs() 2288 XChangeProperty(obt_display, screen_support_win, in next_time()
|
H A D | startupnotify.c | 66 sn_display = sn_display_new(obt_display, NULL, NULL); in sn_startup()
|
/dports/x11-wm/openbox/openbox-3.6/obt/ |
H A D | display.c | 39 Display* obt_display = NULL; variable 64 obt_display = d = XOpenDisplay(n); in obt_display_open() 124 if (obt_display) in obt_display_open() 127 return obt_display != NULL; in obt_display_open() 133 if (obt_display) { in obt_display_close() 135 XCloseDisplay(obt_display); in obt_display_close() 162 XSync(obt_display, FALSE); in obt_display_ignore_errors()
|
H A D | prop.c | 32 XInternAtom((obt_display), (name), FALSE)) 41 g_assert(obt_display); in obt_prop_startup() 223 res = XGetWindowProperty(obt_display, win, prop, 0l, num32, in get_prealloc() 260 res = XGetWindowProperty(obt_display, win, prop, 0l, G_MAXLONG, in get_all() 355 obt_display, tprop, &strlist, &n_strs) == Success); in convert_text_property() 525 XChangeProperty(obt_display, win, prop, type, 32, PropModeReplace, in obt_prop_set32() 532 XChangeProperty(obt_display, win, prop, type, 32, PropModeReplace, in obt_prop_set_array32() 538 XChangeProperty(obt_display, win, prop, OBT_PROP_ATOM(UTF8_STRING), 8, in obt_prop_set_text() 559 XDeleteProperty(obt_display, win, prop); in obt_prop_erase() 578 ce.xclient.display = obt_display; in obt_prop_message_to() [all …]
|
H A D | display.h | 57 extern Display* obt_display; 66 #define obt_root(screen) (RootWindow(obt_display, screen))
|
H A D | xqueue.c | 94 n = XEventsQueued(obt_display, QueuedAfterFlush) > 0; in read_events() 100 if (XNextEvent(obt_display, &e) != Success) in read_events() 347 return XPending(obt_display); in x_source_prepare() 352 return XPending(obt_display); in x_source_check() 374 *pfd = (GPollFD){ ConnectionNumber(obt_display), G_IO_IN, G_IO_IN }; in xqueue_listen()
|
H A D | keyboard.c | 79 modmap = XGetModifierMapping(obt_display); in obt_keyboard_reload() 83 XDisplayKeycodes(obt_display, &min_keycode, &max_keycode); in obt_keyboard_reload() 84 keymap = XGetKeyboardMapping(obt_display, min_keycode, in obt_keyboard_reload() 150 xim = XOpenIM(obt_display, NULL, aname, aclass); in xim_init()
|