/dports/x11-wm/windowmaker/WindowMaker-0.95.9/src/ |
H A D | client.c | 62 wwin->frame_x -= gx * wwin->screen_ptr->frame_border_width; in wClientRestore() 63 wwin->frame_y -= gy * wwin->screen_ptr->frame_border_width; in wClientRestore() 66 wwin->frame_y += (wwin->frame->top_width + wwin->frame->bottom_width); in wClientRestore() 69 XReparentWindow(dpy, wwin->client_win, wwin->screen_ptr->root_win, wwin->frame_x, wwin->frame_y); in wClientRestore() 236 nheight = wwin->frame->core->height - wwin->frame->top_width - wwin->frame->bottom_width; in wClientConfigure() 316 wIconChangeTitle(wwin->icon, wwin); in wClientCheckProperty() 419 wwin->main_window = wwin->client_leader; in wClientCheckProperty() 430 wwin->group_id = wwin->main_window; in wClientCheckProperty() 444 wwin->group_id = wwin->main_window; in wClientCheckProperty() 458 if (wwin->flags.miniaturized && wwin->icon) in wClientCheckProperty() [all …]
|
H A D | window.c | 116 wwin->client.y = wwin->frame_y - wwin->client.height + wwin->frame->top_width; in appearanceObserver() 1147 wwin->frame->child = wwin; in wManageWindow() 1413 wwin->frame->child = wwin; in wManageInternalWindow() 1428 wWindowConfigure(wwin, wwin->frame_x, wwin->frame_y, wwin->client.width, wwin->client.height); in wManageInternalWindow() 1703 if (!wwin || !wwin->prev) in wWindowFocusPrev() 1721 if (!wwin || !wwin->prev) in wWindowFocusNext() 2335 wWindowConfigure(wwin, wwin->frame_x, newy, wwin->client.width, wwin->client.height); in wWindowConfigureBorders() 2928 wWindowConfigure(wwin, wwin->frame_x, wwin->frame_y, new_width, wwin->client.height); in frameMouseDown() 2933 wWindowConfigure(wwin, wwin->frame_x, wwin->frame_y, new_width, wwin->client.height); in frameMouseDown() 2949 wWindowConfigure(wwin, wwin->frame_x, wwin->frame_y, wwin->client.width, new_height); in frameMouseDown() [all …]
|
H A D | actions.c | 204 wwin->prev->next = wwin->next; in wSetFocusTo() 207 wwin->next->prev = wwin->prev; in wSetFocusTo() 263 wwin->client.y = wwin->frame_y - wwin->client.height + wwin->frame->top_width; in wShadeWindow() 296 wwin->client.y = wwin->frame_y + wwin->frame->top_width; in wUnshadeWindow() 1335 PlaceIcon(wwin->screen_ptr, &wwin->icon_x, &wwin->icon_y, wGetHeadForWindow(wwin)); in wIconifyWindow() 1653 wwin = wwin->prev; in wHideAll() 1707 wwin = wwin->prev; in wHideOtherApplications() 1935 wwin = wwin->prev; in wShowAllWindows() 2071 while (wwin && wwin->prev) in wArrangeIcons() 2072 wwin = wwin->prev; in wArrangeIcons() [all …]
|
H A D | wmspec.c | 865 wwin = wwin->prev; in updateClientList() 893 if (wwin && (wwin != wwin_excl)) in updateClientListStacking() 1000 if ((wwin->flags.hidden || wwin->flags.miniaturized) && !wwin->flags.net_show_desktop) { in updateStateHint() 1248 if (wwin->flags.miniaturized && wwin->icon->mapped) { in removeIcon() 1477 updateStrut(wwin->screen_ptr, wwin->client_win, False); in wNETWMCheckClientHints() 1478 updateStrut(wwin->screen_ptr, wwin->client_win, True); in wNETWMCheckClientHints() 1644 if (!wwin) in wNETWMProcessClientMessage() 1689 wMaximizeWindow(wwin, wwin->flags.maximized, in wNETWMProcessClientMessage() 1724 updateStrut(wwin->screen_ptr, wwin->client_win, True); in wNETWMCheckClientHintChange() 1737 wIconChangeTitle(wwin->icon, wwin); in wNETWMCheckClientHintChange() [all …]
|
H A D | event.c | 703 wwin = wwin->prev; in handleDestroyNotify() 1449 OpenWindowMenu(wwin, wwin->frame_x, wwin->frame_y + wwin->frame->top_width, True); in handleKeyPress() 1485 if (ISMAPPED(wwin) && ISFOCUSED(wwin) && IS_RESIZABLE(wwin)) { in handleKeyPress() 1492 if (ISMAPPED(wwin) && ISFOCUSED(wwin) && IS_RESIZABLE(wwin)) { in handleKeyPress() 1499 if (ISMAPPED(wwin) && ISFOCUSED(wwin) && IS_RESIZABLE(wwin)) { in handleKeyPress() 1507 if (ISMAPPED(wwin) && ISFOCUSED(wwin) && IS_RESIZABLE(wwin)) { in handleKeyPress() 1515 if (ISMAPPED(wwin) && ISFOCUSED(wwin) && IS_RESIZABLE(wwin)) { in handleKeyPress() 1523 if (ISMAPPED(wwin) && ISFOCUSED(wwin) && IS_RESIZABLE(wwin)) { in handleKeyPress() 1531 if (ISMAPPED(wwin) && ISFOCUSED(wwin) && IS_RESIZABLE(wwin)) { in handleKeyPress() 1636 if (ISMAPPED(wwin) && ISFOCUSED(wwin) && (IS_RESIZABLE(wwin) || IS_MOVABLE(wwin))) { in handleKeyPress() [all …]
|
H A D | motif.c | 78 wwin->client_flags.no_titlebar = 1; in setupMWMHints() 81 wwin->client_flags.no_resizebar = 1; in setupMWMHints() 82 wwin->client_flags.no_border = 1; in setupMWMHints() 85 wwin->client_flags.no_titlebar = 0; in setupMWMHints() 87 wwin->client_flags.no_closable = 0; in setupMWMHints() 92 wwin->client_flags.no_border = 0; in setupMWMHints() 96 wwin->client_flags.no_border = 0; in setupMWMHints() 103 wwin->client_flags.no_titlebar = 0; in setupMWMHints() 105 wwin->client_flags.no_closable = 0; in setupMWMHints() 131 wwin->client_flags.no_closable = 1; in setupMWMHints() [all …]
|
H A D | switchmenu.c | 64 WWindow *wwin; in focusWindow() local 99 WWindow *wwin; in OpenSwitchMenu() local 125 while (wwin) { in OpenSwitchMenu() 128 wwin = wwin->prev; in OpenSwitchMenu() 200 if (wwin->flags.internal_window || WFLAGP(wwin, skip_window_list) || IS_GNUSTEP_MENU(wwin)) { in UpdateSwitchMenu() 318 } else if (wwin->flags.shaded && !wwin->flags.focused) { in UpdateSwitchMenu() 348 WWindow *wwin; in UpdateSwitchMenuWorkspace() local 378 if (!wwin) in observer() 382 UpdateSwitchMenu(wwin->screen_ptr, wwin, ACTION_ADD); in observer() 384 UpdateSwitchMenu(wwin->screen_ptr, wwin, ACTION_REMOVE); in observer() [all …]
|
H A D | winmenu.c | 164 wWindowSetOmnipresent(wwin, !wwin->flags.omnipresent); in execWindowOptionCommand() 251 wretain(wwin); in execMenuCommand() 258 wClientKill(wwin); in execMenuCommand() 260 wrelease(wwin); in execMenuCommand() 286 wUnshadeWindow(wwin); in execMenuCommand() 288 wShadeWindow(wwin); in execMenuCommand() 293 wSelectWindow(wwin, !wwin->flags.selected); in execMenuCommand() 351 wSelectWindow(wwin, !wwin->flags.selected); in makeShortcutCommand() 354 wSelectWindow(wwin, !wwin->flags.selected); in makeShortcutCommand() 795 x = wwin->frame_x + wwin->frame->core->width - menu->frame->core->width; in OpenWindowMenu() [all …]
|
H A D | moveres.c | 423 wWindowMove(wwin, wwin->frame_x + dx, wwin->frame_y + dy); in doWindowMove() 465 if (HAS_TITLEBAR(wwin) && !wwin->flags.shaded) { in drawTransparentFrame() 475 if (HAS_RESIZEBAR(wwin) && !wwin->flags.shaded) { in drawTransparentFrame() 502 drawTransparentFrame(wwin, x, y, wwin->frame->core->width, wwin->frame->core->height); in drawFrames() 1168 doWindowMove(wwin, scr->selected_windows, newX - wwin->frame_x, newY - wwin->frame_y); in updateWindowPosition() 1172 data->realX - wwin->frame_x, data->realY - wwin->frame_y); in updateWindowPosition() 1182 drawFrames(wwin, scr->selected_windows, newX - wwin->frame_x, newY - wwin->frame_y); in updateWindowPosition() 1282 drawFrames(wwin, scr->selected_windows, data->realX - wwin->frame_x, data->realY - wwin->frame_y); in do_snap() 1336 int vert_border = wwin->frame->top_width + wwin->frame->bottom_width; in wKeyboardMoveResizeWindow() 2295 WWindow *wwin; in wUnselectWindows() local [all …]
|
H A D | winspector.c | 587 buf1 = StrConcatDot(wwin->wm_instance, wwin->wm_class); in saveSettings() 678 } else if (wwin->main_window != wwin->client_win) { in saveSettings() 753 if (WFLAGP(wwin, no_titlebar) && wwin->flags.shaded) in applySettings() 1012 wwin->wm_instance ? wwin->wm_instance : "?", in selectSpecification() 1013 wwin->wm_class ? wwin->wm_class : "?"); in selectSpecification() 1124 if (wwin->wm_class && wwin->wm_instance) { in createInspectorForWindow() 1194 if (!wwin->wm_class && !wwin->wm_instance) in createInspectorForWindow() 1226 x = wwin->frame_x + wwin->frame->core->width / 2; in createInspectorForWindow() 1227 y = wwin->frame_y + wwin->frame->top_width * 2; in createInspectorForWindow() 1424 i = wDefaultGetStartWorkspace(wwin->screen_ptr, wwin->wm_instance, wwin->wm_class); in create_tab_icon_workspace() [all …]
|
H A D | window.h | 80 #define WFLAGP(wwin, FLAG) ((wwin)->defined_user_flags.FLAG \ argument 81 ? (wwin)->user_flags.FLAG \ 82 : (wwin)->client_flags.FLAG) 84 #define WSETUFLAG(wwin, FLAG, VAL) (wwin)->user_flags.FLAG = (VAL),\ argument 85 (wwin)->defined_user_flags.FLAG = 1 332 void wWindowDestroy(WWindow *wwin); 336 void wWindowSetShape(WWindow *wwin); 348 void wWindowUnfocus(WWindow *wwin); 368 void wWindowSaveState(WWindow *wwin); 385 void wWindowMap(WWindow *wwin); [all …]
|
H A D | actions.h | 45 int wKeyboardMoveResizeWindow(WWindow *wwin); 49 void wShadeWindow(WWindow *wwin); 50 void wUnshadeWindow(WWindow *wwin); 52 void wIconifyWindow(WWindow *wwin); 53 void wDeiconifyWindow(WWindow *wwin); 61 void wUnmaximizeWindow(WWindow *wwin); 65 void wHideOtherApplications(WWindow *wwin); 76 void wMakeWindowVisible(WWindow *wwin); 78 void wFullscreenWindow(WWindow *wwin); 79 void wUnfullscreenWindow(WWindow *wwin); [all …]
|
H A D | application.c | 45 WWindow *wwin; in makeMainWindow() local 51 wwin = wWindowCreate(); in makeMainWindow() 52 wwin->screen_ptr = scr; in makeMainWindow() 53 wwin->client_win = window; in makeMainWindow() 54 wwin->main_window = window; in makeMainWindow() 57 PropGetWMClass(window, &wwin->wm_class, &wwin->wm_instance); in makeMainWindow() 59 wDefaultFillAttributes(wwin->wm_instance, wwin->wm_class, &wwin->user_flags, in makeMainWindow() 63 return wwin; in makeMainWindow() 133 wAppMenuMap(wapp->menu, wwin); in wApplicationCreate() 150 WWindow *wwin; in wApplicationDestroy() local [all …]
|
/dports/x11-wm/libwraster/WindowMaker-0.95.9/src/ |
H A D | client.c | 62 wwin->frame_x -= gx * wwin->screen_ptr->frame_border_width; in wClientRestore() 63 wwin->frame_y -= gy * wwin->screen_ptr->frame_border_width; in wClientRestore() 66 wwin->frame_y += (wwin->frame->top_width + wwin->frame->bottom_width); in wClientRestore() 69 XReparentWindow(dpy, wwin->client_win, wwin->screen_ptr->root_win, wwin->frame_x, wwin->frame_y); in wClientRestore() 236 nheight = wwin->frame->core->height - wwin->frame->top_width - wwin->frame->bottom_width; in wClientConfigure() 316 wIconChangeTitle(wwin->icon, wwin); in wClientCheckProperty() 419 wwin->main_window = wwin->client_leader; in wClientCheckProperty() 430 wwin->group_id = wwin->main_window; in wClientCheckProperty() 444 wwin->group_id = wwin->main_window; in wClientCheckProperty() 458 if (wwin->flags.miniaturized && wwin->icon) in wClientCheckProperty() [all …]
|
H A D | window.c | 116 wwin->client.y = wwin->frame_y - wwin->client.height + wwin->frame->top_width; in appearanceObserver() 1147 wwin->frame->child = wwin; in wManageWindow() 1413 wwin->frame->child = wwin; in wManageInternalWindow() 1428 wWindowConfigure(wwin, wwin->frame_x, wwin->frame_y, wwin->client.width, wwin->client.height); in wManageInternalWindow() 1703 if (!wwin || !wwin->prev) in wWindowFocusPrev() 1721 if (!wwin || !wwin->prev) in wWindowFocusNext() 2335 wWindowConfigure(wwin, wwin->frame_x, newy, wwin->client.width, wwin->client.height); in wWindowConfigureBorders() 2928 wWindowConfigure(wwin, wwin->frame_x, wwin->frame_y, new_width, wwin->client.height); in frameMouseDown() 2933 wWindowConfigure(wwin, wwin->frame_x, wwin->frame_y, new_width, wwin->client.height); in frameMouseDown() 2949 wWindowConfigure(wwin, wwin->frame_x, wwin->frame_y, wwin->client.width, new_height); in frameMouseDown() [all …]
|
H A D | actions.c | 204 wwin->prev->next = wwin->next; in wSetFocusTo() 207 wwin->next->prev = wwin->prev; in wSetFocusTo() 263 wwin->client.y = wwin->frame_y - wwin->client.height + wwin->frame->top_width; in wShadeWindow() 296 wwin->client.y = wwin->frame_y + wwin->frame->top_width; in wUnshadeWindow() 1335 PlaceIcon(wwin->screen_ptr, &wwin->icon_x, &wwin->icon_y, wGetHeadForWindow(wwin)); in wIconifyWindow() 1653 wwin = wwin->prev; in wHideAll() 1707 wwin = wwin->prev; in wHideOtherApplications() 1935 wwin = wwin->prev; in wShowAllWindows() 2071 while (wwin && wwin->prev) in wArrangeIcons() 2072 wwin = wwin->prev; in wArrangeIcons() [all …]
|
H A D | wmspec.c | 865 wwin = wwin->prev; in updateClientList() 893 if (wwin && (wwin != wwin_excl)) in updateClientListStacking() 1000 if ((wwin->flags.hidden || wwin->flags.miniaturized) && !wwin->flags.net_show_desktop) { in updateStateHint() 1248 if (wwin->flags.miniaturized && wwin->icon->mapped) { in removeIcon() 1477 updateStrut(wwin->screen_ptr, wwin->client_win, False); in wNETWMCheckClientHints() 1478 updateStrut(wwin->screen_ptr, wwin->client_win, True); in wNETWMCheckClientHints() 1644 if (!wwin) in wNETWMProcessClientMessage() 1689 wMaximizeWindow(wwin, wwin->flags.maximized, in wNETWMProcessClientMessage() 1724 updateStrut(wwin->screen_ptr, wwin->client_win, True); in wNETWMCheckClientHintChange() 1737 wIconChangeTitle(wwin->icon, wwin); in wNETWMCheckClientHintChange() [all …]
|
H A D | event.c | 703 wwin = wwin->prev; in handleDestroyNotify() 1449 OpenWindowMenu(wwin, wwin->frame_x, wwin->frame_y + wwin->frame->top_width, True); in handleKeyPress() 1485 if (ISMAPPED(wwin) && ISFOCUSED(wwin) && IS_RESIZABLE(wwin)) { in handleKeyPress() 1492 if (ISMAPPED(wwin) && ISFOCUSED(wwin) && IS_RESIZABLE(wwin)) { in handleKeyPress() 1499 if (ISMAPPED(wwin) && ISFOCUSED(wwin) && IS_RESIZABLE(wwin)) { in handleKeyPress() 1507 if (ISMAPPED(wwin) && ISFOCUSED(wwin) && IS_RESIZABLE(wwin)) { in handleKeyPress() 1515 if (ISMAPPED(wwin) && ISFOCUSED(wwin) && IS_RESIZABLE(wwin)) { in handleKeyPress() 1523 if (ISMAPPED(wwin) && ISFOCUSED(wwin) && IS_RESIZABLE(wwin)) { in handleKeyPress() 1531 if (ISMAPPED(wwin) && ISFOCUSED(wwin) && IS_RESIZABLE(wwin)) { in handleKeyPress() 1636 if (ISMAPPED(wwin) && ISFOCUSED(wwin) && (IS_RESIZABLE(wwin) || IS_MOVABLE(wwin))) { in handleKeyPress() [all …]
|
H A D | motif.c | 78 wwin->client_flags.no_titlebar = 1; in setupMWMHints() 81 wwin->client_flags.no_resizebar = 1; in setupMWMHints() 82 wwin->client_flags.no_border = 1; in setupMWMHints() 85 wwin->client_flags.no_titlebar = 0; in setupMWMHints() 87 wwin->client_flags.no_closable = 0; in setupMWMHints() 92 wwin->client_flags.no_border = 0; in setupMWMHints() 96 wwin->client_flags.no_border = 0; in setupMWMHints() 103 wwin->client_flags.no_titlebar = 0; in setupMWMHints() 105 wwin->client_flags.no_closable = 0; in setupMWMHints() 131 wwin->client_flags.no_closable = 1; in setupMWMHints() [all …]
|
H A D | switchmenu.c | 64 WWindow *wwin; in focusWindow() local 99 WWindow *wwin; in OpenSwitchMenu() local 125 while (wwin) { in OpenSwitchMenu() 128 wwin = wwin->prev; in OpenSwitchMenu() 200 if (wwin->flags.internal_window || WFLAGP(wwin, skip_window_list) || IS_GNUSTEP_MENU(wwin)) { in UpdateSwitchMenu() 318 } else if (wwin->flags.shaded && !wwin->flags.focused) { in UpdateSwitchMenu() 348 WWindow *wwin; in UpdateSwitchMenuWorkspace() local 378 if (!wwin) in observer() 382 UpdateSwitchMenu(wwin->screen_ptr, wwin, ACTION_ADD); in observer() 384 UpdateSwitchMenu(wwin->screen_ptr, wwin, ACTION_REMOVE); in observer() [all …]
|
H A D | winmenu.c | 164 wWindowSetOmnipresent(wwin, !wwin->flags.omnipresent); in execWindowOptionCommand() 251 wretain(wwin); in execMenuCommand() 258 wClientKill(wwin); in execMenuCommand() 260 wrelease(wwin); in execMenuCommand() 286 wUnshadeWindow(wwin); in execMenuCommand() 288 wShadeWindow(wwin); in execMenuCommand() 293 wSelectWindow(wwin, !wwin->flags.selected); in execMenuCommand() 351 wSelectWindow(wwin, !wwin->flags.selected); in makeShortcutCommand() 354 wSelectWindow(wwin, !wwin->flags.selected); in makeShortcutCommand() 795 x = wwin->frame_x + wwin->frame->core->width - menu->frame->core->width; in OpenWindowMenu() [all …]
|
H A D | moveres.c | 423 wWindowMove(wwin, wwin->frame_x + dx, wwin->frame_y + dy); in doWindowMove() 465 if (HAS_TITLEBAR(wwin) && !wwin->flags.shaded) { in drawTransparentFrame() 475 if (HAS_RESIZEBAR(wwin) && !wwin->flags.shaded) { in drawTransparentFrame() 502 drawTransparentFrame(wwin, x, y, wwin->frame->core->width, wwin->frame->core->height); in drawFrames() 1168 doWindowMove(wwin, scr->selected_windows, newX - wwin->frame_x, newY - wwin->frame_y); in updateWindowPosition() 1172 data->realX - wwin->frame_x, data->realY - wwin->frame_y); in updateWindowPosition() 1182 drawFrames(wwin, scr->selected_windows, newX - wwin->frame_x, newY - wwin->frame_y); in updateWindowPosition() 1282 drawFrames(wwin, scr->selected_windows, data->realX - wwin->frame_x, data->realY - wwin->frame_y); in do_snap() 1336 int vert_border = wwin->frame->top_width + wwin->frame->bottom_width; in wKeyboardMoveResizeWindow() 2295 WWindow *wwin; in wUnselectWindows() local [all …]
|
H A D | winspector.c | 587 buf1 = StrConcatDot(wwin->wm_instance, wwin->wm_class); in saveSettings() 678 } else if (wwin->main_window != wwin->client_win) { in saveSettings() 753 if (WFLAGP(wwin, no_titlebar) && wwin->flags.shaded) in applySettings() 1012 wwin->wm_instance ? wwin->wm_instance : "?", in selectSpecification() 1013 wwin->wm_class ? wwin->wm_class : "?"); in selectSpecification() 1124 if (wwin->wm_class && wwin->wm_instance) { in createInspectorForWindow() 1194 if (!wwin->wm_class && !wwin->wm_instance) in createInspectorForWindow() 1226 x = wwin->frame_x + wwin->frame->core->width / 2; in createInspectorForWindow() 1227 y = wwin->frame_y + wwin->frame->top_width * 2; in createInspectorForWindow() 1424 i = wDefaultGetStartWorkspace(wwin->screen_ptr, wwin->wm_instance, wwin->wm_class); in create_tab_icon_workspace() [all …]
|
H A D | window.h | 80 #define WFLAGP(wwin, FLAG) ((wwin)->defined_user_flags.FLAG \ argument 81 ? (wwin)->user_flags.FLAG \ 82 : (wwin)->client_flags.FLAG) 84 #define WSETUFLAG(wwin, FLAG, VAL) (wwin)->user_flags.FLAG = (VAL),\ argument 85 (wwin)->defined_user_flags.FLAG = 1 332 void wWindowDestroy(WWindow *wwin); 336 void wWindowSetShape(WWindow *wwin); 348 void wWindowUnfocus(WWindow *wwin); 368 void wWindowSaveState(WWindow *wwin); 385 void wWindowMap(WWindow *wwin); [all …]
|
H A D | actions.h | 45 int wKeyboardMoveResizeWindow(WWindow *wwin); 49 void wShadeWindow(WWindow *wwin); 50 void wUnshadeWindow(WWindow *wwin); 52 void wIconifyWindow(WWindow *wwin); 53 void wDeiconifyWindow(WWindow *wwin); 61 void wUnmaximizeWindow(WWindow *wwin); 65 void wHideOtherApplications(WWindow *wwin); 76 void wMakeWindowVisible(WWindow *wwin); 78 void wFullscreenWindow(WWindow *wwin); 79 void wUnfullscreenWindow(WWindow *wwin); [all …]
|