/dports/x11-wm/afterstep/AfterStep-1.0/modules/Pager/ |
H A D | x_pager.c | 115 n = Scr.VxMax/Scr.MyDisplayWidth; in initialize_pager() 732 x = Scr.MyDisplayWidth; in DrawGrid() 739 x += Scr.MyDisplayWidth; in DrawGrid() 796 x = Scr.MyDisplayWidth; in DrawIconGrid() 803 x += Scr.MyDisplayWidth; in DrawIconGrid() 849 (desk_w*Scr.MyDisplayWidth), in SwitchToDeskAndPage() 868 (icon_w*Scr.MyDisplayWidth), in IconSwitchPage() 1152 sx = (100*(x*(Scr.VxMax+Scr.MyDisplayWidth)/desk_w- Scr.Vx))/Scr.MyDisplayWidth; in Scroll() 1185 sx = (100*(x*(Scr.VxMax+Scr.MyDisplayWidth)/icon_w- Scr.Vx))/Scr.MyDisplayWidth; in IconScroll() 1345 n1 = x2*(Scr.VxMax + Scr.MyDisplayWidth)/(desk_w * Scr.MyDisplayWidth); in MoveWindow() [all …]
|
/dports/x11-wm/fvwm2/fvwm-2.6.9/fvwm/ |
H A D | virtual.c | 721 x < Scr.MyDisplayWidth-edge_thickness && in HandlePaging() 826 *delta_x -= Scr.VxMax +Scr.MyDisplayWidth; in HandlePaging() 1042 Scr.MyDisplayWidth - edge_thickness, 0, in checkPanFrames() 1090 Scr.MyDisplayWidth, edge_thickness); in checkPanFrames() 1579 *page_x += val[0] * Scr.MyDisplayWidth; in get_page_arguments() 1583 *page_x = val[0] * Scr.MyDisplayWidth; in get_page_arguments() 2150 0: val[0]*Scr.MyDisplayWidth-Scr.MyDisplayWidth; in CMD_DesktopSize() 2207 val[1] *= Scr.MyDisplayWidth; in CMD_GotoDeskAndPage() 2347 Scr.MyDisplayWidth; in CMD_Scroll() 2374 Scr.MyDisplayWidth; in CMD_Scroll() [all …]
|
H A D | focus.c | 471 dx = (cx + Scr.Vx) / Scr.MyDisplayWidth * Scr.MyDisplayWidth; in warp_to_fvwm_window() 492 if (x_unit != Scr.MyDisplayWidth && warp_x >= 0) in warp_to_fvwm_window() 496 else if (x_unit != Scr.MyDisplayWidth) in warp_to_fvwm_window() 539 t->g.frame.x >= Scr.MyDisplayWidth || in warp_to_fvwm_window() 687 cx < 0 || cx >= Scr.MyDisplayWidth || in __activate_window_by_command() 693 dx = ((cx + Scr.Vx) / Scr.MyDisplayWidth) * in __activate_window_by_command() 694 Scr.MyDisplayWidth; in __activate_window_by_command() 703 fw->g.frame.x >= Scr.MyDisplayWidth || in __activate_window_by_command() 1263 if (val1_unit != Scr.MyDisplayWidth) in CMD_WarpToWindow()
|
/dports/x11-wm/afterstep/AfterStep-1.0/afterstep/ |
H A D | pager.c | 112 MaxW = Scr.VxMax + Scr.MyDisplayWidth; in DrawPartitionLines() 119 x = Scr.MyDisplayWidth; in DrawPartitionLines() 126 x += Scr.MyDisplayWidth; in DrawPartitionLines() 161 x = x * (Scr.VxMax+Scr.MyDisplayWidth)/width; in SwitchPages() 165 x = (x/Scr.MyDisplayWidth)*Scr.MyDisplayWidth; in SwitchPages() 385 MaxW = Scr.VxMax + Scr.MyDisplayWidth; in PagerMoveWindow() 614 *delta_x += Scr.VxMax + Scr.MyDisplayWidth; in HandlePaging() 627 *delta_x -= Scr.VxMax +Scr.MyDisplayWidth; in HandlePaging() 666 *xl = Scr.MyDisplayWidth - SCROLL_REGION -1; in HandlePaging() 699 x2 = (Scr.MyDisplayWidth) * width/(Scr.VxMax+Scr.MyDisplayWidth)-1; in MoveResizeViewPortIndicator() [all …]
|
H A D | move.c | 170 if(((xl + Width) >= Scr.MyDisplayWidth)&& in moveLoop() 171 ((xl + Width) < Scr.MyDisplayWidth+Scr.MoveResistance)) in moveLoop() 172 xl = Scr.MyDisplayWidth - Width - tmp_win->bw; in moveLoop() 200 HandlePaging(Scr.MyDisplayWidth,Scr.MyDisplayHeight,&xl,&yt, in moveLoop() 207 if(((xl + Width) >= Scr.MyDisplayWidth)&& in moveLoop() 208 ((xl + Width) < Scr.MyDisplayWidth+Scr.MoveResistance)) in moveLoop() 209 xl = Scr.MyDisplayWidth - Width - tmp_win->bw; in moveLoop() 226 MaxW = Scr.VxMax + Scr.MyDisplayWidth; in moveLoop() 451 (Scr.OpaqueSize*Scr.MyDisplayWidth*Scr.MyDisplayHeight)/100) in InteractiveMove()
|
H A D | icons.c | 85 if(final_x + tmp_win->icon_p_width >=Scr.MyDisplayWidth) in CreateIconWindow() 86 final_x = Scr.MyDisplayWidth - tmp_win->icon_p_width-1; in CreateIconWindow() 290 Scr.MyDisplayWidth - Scr.Vx; in AutoPlace() 297 t->icon_x_loc = t->icon_x_loc % Scr.MyDisplayWidth + base_x; in AutoPlace() 300 t->icon_x_loc += Scr.MyDisplayWidth; in AutoPlace() 345 if(test_x + width > (Scr.MyDisplayWidth/*-2*/+base_x)) in AutoPlace() 346 real_x = Scr.MyDisplayWidth - width /*-2*/ + base_x; in AutoPlace() 637 (t->frame_x >= Scr.MyDisplayWidth)|| in DeIconify() 657 if (( new_x < -w2) || (new_x > (Scr.MyDisplayWidth-w2 ))) in DeIconify() 659 new_x = new_x % Scr.MyDisplayWidth; in DeIconify() [all …]
|
H A D | placement.c | 41 while(((test_x + temp_w) < (Scr.MyDisplayWidth))&&(!loc_ok)) in SmartPlacement() 203 if ((Scr.randomx += Scr.TitleHeight) > Scr.MyDisplayWidth / 2) in PlaceWindow() 221 2*tmp_win->boundary_width> Scr.MyDisplayWidth) in PlaceWindow() 223 tmp_win->attr.x = Scr.MyDisplayWidth -tmp_win->attr.width in PlaceWindow()
|
H A D | functions.c | 171 x += Scr.MyDisplayWidth; in ExecuteFunction() 178 x -= Scr.MyDisplayWidth; in ExecuteFunction() 193 if(x >= Scr.MyDisplayWidth -2) in ExecuteFunction() 224 XWarpPointer(dpy, Scr.Root, Scr.Root, 0, 0, Scr.MyDisplayWidth, in ExecuteFunction() 230 XWarpPointer(dpy, Scr.Root, Scr.Root, 0, 0, Scr.MyDisplayWidth, in ExecuteFunction() 408 (unsigned int) Scr.MyDisplayWidth, in ExecuteFunction() 495 x=val1*Scr.MyDisplayWidth; in ExecuteFunction() 1070 dx = cx - Scr.MyDisplayWidth/2 + Scr.Vx; in FocusOn() 1075 dx = (cx + Scr.Vx)/Scr.MyDisplayWidth*Scr.MyDisplayWidth; in FocusOn() 1097 (t->frame_x >Scr.MyDisplayWidth)||(t->frame_y>Scr.MyDisplayHeight)) in FocusOn() [all …]
|
H A D | misc.c | 304 (tmp->frame_x >= Scr.MyDisplayWidth)|| in RestoreWithdrawnLocation() 309 if (( xwc.x < -w2) || (xwc.x > (Scr.MyDisplayWidth-w2 ))) in RestoreWithdrawnLocation() 311 xwc.x = xwc.x % Scr.MyDisplayWidth; in RestoreWithdrawnLocation() 313 xwc.x += Scr.MyDisplayWidth; in RestoreWithdrawnLocation() 584 if ((tx2 > 0) && (tx1 < Scr.MyDisplayWidth) && in UpdateVisibility()
|
/dports/x11-wm/piewm/piewm-1.04/ |
H A D | vdt.c | 494 if (width < Scr->MyDisplayWidth) in MakeVirtualDesktop() 495 width = width * Scr->MyDisplayWidth; in MakeVirtualDesktop() 673 xx = xx - xx % Scr->MyDisplayWidth; in RefreshDesktop() 799 if ((x + Scr->MyDisplayWidth) > Scr->vdtWidth) in MoveDesktop() 800 x = Scr->vdtWidth - Scr->MyDisplayWidth; in MoveDesktop() 861 x = abs(x) * Scr->MyDisplayWidth; in ScrollDesktop() 864 x = Scr->vdtWidth - Scr->MyDisplayWidth - x; in ScrollDesktop() 889 if ((x + Scr->MyDisplayWidth) > Scr->vdtWidth) in ScrollDesktop() 890 x = Scr->vdtWidth - Scr->MyDisplayWidth; in ScrollDesktop() 1012 xr = x + Scr->MyDisplayWidth; in ScrollTo() [all …]
|
H A D | resize.c | 701 if (x >= Scr->MyDisplayWidth) in SetupFrame() 702 x = Scr->MyDisplayWidth - 16; /* one "average" cursor width */ in SetupFrame() 807 xwc.x = Scr->MyDisplayWidth; /* move offscreen */ in SetupFrame() 925 dragWidth = Scr->MyDisplayWidth - frame_bw_times_2; in fullzoom() 931 dragWidth = Scr->MyDisplayWidth - frame_bw_times_2; in fullzoom() 937 dragWidth = Scr->MyDisplayWidth/2 - frame_bw_times_2; in fullzoom() 940 dragx = basex + Scr->MyDisplayWidth/2; in fullzoom() 943 dragWidth = Scr->MyDisplayWidth/2 - frame_bw_times_2; in fullzoom() 949 dragWidth = Scr->MyDisplayWidth - frame_bw_times_2; in fullzoom() 955 dragWidth = Scr->MyDisplayWidth - frame_bw_times_2; in fullzoom()
|
/dports/x11-wm/tvtwm/tvtwm/ |
H A D | vdt.c | 588 if (width < Scr->MyDisplayWidth) 589 width = width * Scr->MyDisplayWidth; 871 xx = xx - xx % Scr->MyDisplayWidth; 954 xx = xx - xx % Scr->MyDisplayWidth; 1000 Scr->MyDisplayWidth, Scr->MyDisplayHeight, 1013 x = Scr->vdtWidth - Scr->MyDisplayWidth; 1081 x = abs(x) * Scr->MyDisplayWidth; 1084 x = Scr->vdtWidth - Scr->MyDisplayWidth - x; 1122 x = Scr->vdtWidth - Scr->MyDisplayWidth; 1250 xr = x + Scr->MyDisplayWidth; [all …]
|
H A D | resize.c | 911 if (x >= Scr->MyDisplayWidth) 912 x = Scr->MyDisplayWidth - 16; /* one "average" cursor width */ 1019 xwc.x = Scr->MyDisplayWidth; /* move offscreen */ 1141 dragWidth = Scr->MyDisplayWidth - frame_bw_times_2; 1147 dragWidth = Scr->MyDisplayWidth - frame_bw_times_2; 1153 dragWidth = Scr->MyDisplayWidth/2 - frame_bw_times_2; 1156 dragx = basex + Scr->MyDisplayWidth/2; 1159 dragWidth = Scr->MyDisplayWidth/2 - frame_bw_times_2; 1165 dragWidth = Scr->MyDisplayWidth - frame_bw_times_2; 1171 dragWidth = Scr->MyDisplayWidth - frame_bw_times_2;
|
/dports/x11-wm/afterstep-stable/afterstep-devel-2.2.12/libAfterStep/ |
H A D | screen.c | 51 return scr->MyDisplayWidth; in get_screen_width() 341 scr->MyDisplayWidth = DisplayWidth (dpy, scr->screen); in ConnectXDisplay() 344 asxml_var_insert ("xroot.width", scr->MyDisplayWidth); in ConnectXDisplay() 352 display_dpcmx = (scr->MyDisplayWidth * 10) / width_mm; in ConnectXDisplay() 375 scr->RootClipArea.width = scr->MyDisplayWidth; in ConnectXDisplay() 573 frame_rects[0].width = scr->MyDisplayWidth; in init_screen_panframes() 576 frame_rects[1].x = scr->MyDisplayWidth - SCROLL_REGION; in init_screen_panframes() 583 frame_rects[2].width = scr->MyDisplayWidth; in init_screen_panframes() 592 frame_rects[1].x = scr->MyDisplayWidth - SCROLL_REGION; in init_screen_panframes() 728 else if (scr->VxMax < 32000 / scr->MyDisplayWidth) in check_desksize_sanity() [all …]
|
/dports/x11-wm/afterstep-stable/afterstep-devel-2.2.12/src/afterstep/ |
H A D | cover.c | 79 XRectangle main_b = { 0, 0, scr->MyDisplayWidth, scr->MyDisplayHeight }; in desk_anim_shape_blocks() 103 XRectangle main_b = { 0, 0, Scr.MyDisplayWidth, Scr.MyDisplayHeight }; in do_anim_shape_blocks() 105 int x_dim = Scr.MyDisplayWidth / BLOCKS_NUM; in do_anim_shape_blocks() 199 int inc = Scr.MyDisplayWidth / data->steps; in do_anim_slide() 228 data->px = scr->MyDisplayWidth; in desk_anim_shrink() 237 int inc = Scr.MyDisplayWidth / data->steps; in do_anim_shrink() 393 Scr.MyDisplayWidth, Scr.MyDisplayHeight, in cover_desktop() 436 XFillRectangle (dpy, w, _as_desktop_cover_gc, 0, 0, Scr.MyDisplayWidth, in cover_desktop() 486 x = Scr.MyDisplayWidth / 20 + _as_progress_cursor; in display_progress()
|
H A D | pager.c | 72 && (*xl < Scr.MyDisplayWidth - SCROLL_REGION) in HandlePaging() 119 *delta_x += Scr.VxMax + Scr.MyDisplayWidth; in HandlePaging() 127 *delta_x -= Scr.VxMax + Scr.MyDisplayWidth; in HandlePaging() 156 if (*xl >= Scr.MyDisplayWidth - SCROLL_REGION) in HandlePaging() 157 *xl = Scr.MyDisplayWidth - SCROLL_REGION - 1; in HandlePaging() 623 && (im->width != Scr.MyDisplayWidth in load_myback_image() 626 x = Scr.MyDisplayWidth - im->width; in load_myback_image() 650 Scr.MyDisplayWidth) ? Scr.MyDisplayWidth : im->width; in load_myback_image() 823 int root_width = Scr.MyDisplayWidth; in make_desktop_image() 971 if (new_im->width < Scr.MyDisplayWidth in start_background_xfer() [all …]
|
H A D | winstatus.c | 62 return (pc->root_x >= Scr.MyDisplayWidth in check_canvas_offscreen() 1520 t->status->x %= Scr.MyDisplayWidth; in init_aswindow_status() 1528 (t->status->x / Scr.MyDisplayWidth) * Scr.MyDisplayWidth; in init_aswindow_status() 1532 t->status->x %= Scr.MyDisplayWidth; in init_aswindow_status() 1537 t->status->y %= Scr.MyDisplayWidth; in init_aswindow_status() 1587 t->status->width = Scr.MyDisplayWidth; in init_aswindow_status() 1629 int margin = Scr.MyDisplayWidth >> 5; in init_aswindow_status() 1637 max_x = Scr.MyDisplayWidth; in init_aswindow_status() 1872 max_x = Scr.MyDisplayWidth; in bring_aswindow_on_vscreen() 1933 int cx = Scr.MyDisplayWidth / 2; in make_aswindow_visible() [all …]
|
H A D | placement.c | 215 area.width = Scr.MyDisplayWidth; in make_desktop_grid() 220 area.width = Scr.VxMax + Scr.MyDisplayWidth; in make_desktop_grid() 1313 if (area.x >= Scr.VxMax + Scr.MyDisplayWidth) in place_aswindow_in_windowbox() 1321 area.width = Scr.VxMax + Scr.MyDisplayWidth - area.x; in place_aswindow_in_windowbox() 1416 && ((asw->status->viewport_x / Scr.MyDisplayWidth in place_aswindow() 1417 != aswbox[i].area.x / Scr.MyDisplayWidth) || in place_aswindow() 1572 aswbox.area.width = Scr.MyDisplayWidth; in do_enforce_avoid_cover() 1620 int left = Scr.Vx, right = Scr.Vx + Scr.MyDisplayWidth; in obey_avoid_cover() 1639 right = Scr.VxMax + Scr.MyDisplayWidth; in obey_avoid_cover() 1648 aswbox.area.width = Scr.MyDisplayWidth; in obey_avoid_cover() [all …]
|
/dports/x11-wm/vtwm/vtwm-5.5.0/ |
H A D | desktop.c | 208 SCALE_D(Scr->MyDisplayWidth) - 2 * border, in CreateDesktopDisplay() 279 Scr->MyDisplayWidth - AP_SIZE, in CreateDesktopDisplay() 287 Scr->MyDisplayWidth, in CreateDesktopDisplay() 293 Scr->MyDisplayWidth, in CreateDesktopDisplay() 501 np = SCALE_D(Scr->VirtualDesktopWidth) - SCALE_D(Scr->MyDisplayWidth); in ResizeDesktopDisplay() 818 if (width > Scr->MyDisplayWidth) in SetVirtualDesktop() 822 else if (width * Scr->VirtualDesktopDScale < Scr->MyDisplayWidth) in SetVirtualDesktop() 825 width *= Scr->MyDisplayWidth; in SetVirtualDesktop() 874 Scr->VirtualDesktopDX = Scr->MyDisplayWidth in SetVirtualDesktop() 989 if (x > (Scr->VirtualDesktopWidth - Scr->MyDisplayWidth)) in SetRealScreenInternal() [all …]
|
/dports/x11-wm/fvwm2/fvwm-2.6.9/modules/FvwmPager/ |
H A D | x_pager.c | 264 page = virt / Scr.MyDisplayWidth; in CalcGeom() 1385 n1 = Scr.Vx / Scr.MyDisplayWidth; in ReConfigure() 1591 n1 = Scr.Vx/Scr.MyDisplayWidth; in MovePage() 1702 x = Scr.MyDisplayWidth; in DrawGrid() 1714 x += Scr.MyDisplayWidth; in DrawGrid() 1870 x = Scr.MyDisplayWidth; in DrawIconGrid() 1879 x += Scr.MyDisplayWidth; in DrawIconGrid() 1893 n1 = Scr.Vx / Scr.MyDisplayWidth; in DrawIconGrid() 2620 if (x > Scr.MyDisplayWidth - 16) in MoveWindow() 2622 x = Scr.MyDisplayWidth - 16; in MoveWindow() [all …]
|
/dports/x11-wm/fvwm3/fvwm3-1.0.4/modules/FvwmBacker/ |
H A D | FvwmBacker.c | 106 int MyDisplayWidth; variable 169 MyDisplayWidth = DisplayWidth(dpy, screen); in main() 343 dpy2, root2, MyDisplayWidth, in SetDeskPageBackground() 358 dpy2, root2, MyDisplayWidth, in SetDeskPageBackground() 481 if (current_x != body[0] / MyDisplayWidth || in ProcessMessage() 484 current_x = body[0] / MyDisplayWidth; in ProcessMessage()
|
/dports/x11-wm/fvwm2/fvwm-2.6.9/modules/FvwmBacker/ |
H A D | FvwmBacker.c | 110 int MyDisplayWidth; variable 172 MyDisplayWidth = DisplayWidth(dpy, screen); in main() 346 dpy2, root2, MyDisplayWidth, in SetDeskPageBackground() 361 dpy2, root2, MyDisplayWidth, in SetDeskPageBackground() 484 if (current_x != body[0] / MyDisplayWidth || in ProcessMessage() 487 current_x = body[0] / MyDisplayWidth; in ProcessMessage()
|
/dports/x11-wm/twm/twm-1.0.11/src/ |
H A D | resize.c | 773 if (x >= Scr->MyDisplayWidth) in SetupFrame() 774 x = Scr->MyDisplayWidth - 16; /* one "average" cursor width */ in SetupFrame() 868 xwc.x = Scr->MyDisplayWidth; /* move offscreen */ in SetupFrame() 955 dragWidth = Scr->MyDisplayWidth - frame_bw_times_2; in fullzoom() 961 dragWidth = Scr->MyDisplayWidth - frame_bw_times_2; in fullzoom() 967 dragWidth = Scr->MyDisplayWidth / 2 - frame_bw_times_2; in fullzoom() 970 dragx = basex + Scr->MyDisplayWidth / 2; in fullzoom() 973 dragWidth = Scr->MyDisplayWidth / 2 - frame_bw_times_2; in fullzoom() 979 dragWidth = Scr->MyDisplayWidth - frame_bw_times_2; in fullzoom() 985 dragWidth = Scr->MyDisplayWidth - frame_bw_times_2; in fullzoom()
|
/dports/x11-wm/afterstep-stable/afterstep-devel-2.2.12/libAfterConf/ |
H A D | Base.c | 566 scr->VxMax = (e->desk_pages_h - 1) * scr->MyDisplayWidth; in ReloadASEnvironment() 569 MAX (e->desk_pages_h, scr->MyDisplayWidth) - scr->MyDisplayWidth; in ReloadASEnvironment() 571 (e->desk_pages_h + scr->MyDisplayWidth - in ReloadASEnvironment() 572 1) / scr->MyDisplayWidth; in ReloadASEnvironment()
|
/dports/x11-wm/afterstep-stable/afterstep-devel-2.2.12/src/Arrange/ |
H A D | Arrange.c | 241 ArrangeState.max_width = Scr.MyDisplayWidth ; in main() 270 ArrangeState.offset_x = atopixel( argv[i], Scr.MyDisplayWidth ); in main() 278 ArrangeState.max_width = atopixel( argv[i], Scr.MyDisplayWidth ); in main() 341 ArrangeState.incx = atopixel (argv[i], Scr.MyDisplayWidth); in main()
|