From d3377a1f0f19227b4794d614a7cacb672a57b17c Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Sat, 12 Jun 2021 17:38:00 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=97=20Symlinks=20of=20`col-resize`=20a?= =?UTF-8?q?nd=20`row-resize`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- builder/bxbuild/constants.py | 2 ++ builder/bxbuild/symlinks.py | 19 +++++++++++++------ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/builder/bxbuild/constants.py b/builder/bxbuild/constants.py index c8fc80c..614ee65 100644 --- a/builder/bxbuild/constants.py +++ b/builder/bxbuild/constants.py @@ -26,6 +26,7 @@ X_CURSORS_CFG: Dict[str, Dict[str, int]] = { "bottom_right_corner.png": {"xhot": 100, "yhot": 100}, "bottom_side.png": {"xhot": 100, "yhot": 100}, "center_ptr.png": {"xhot": 100, "yhot": 100}, + "col-resize.png": {"xhot": 100, "yhot": 100}, "context-menu.png": {"xhot": 100, "yhot": 100}, "copy.png": {"xhot": 100, "yhot": 100}, "cross.png": {"xhot": 100, "yhot": 100}, @@ -44,6 +45,7 @@ X_CURSORS_CFG: Dict[str, Dict[str, int]] = { "plus.png": {"xhot": 100, "yhot": 100}, "question_arrow.png": {"xhot": 100, "yhot": 100}, "right_ptr.png": {"xhot": 100, "yhot": 100}, + "row-resize.png": {"xhot": 100, "yhot": 100}, "right_side.png": {"xhot": 100, "yhot": 100}, "sb_down_arrow.png": {"xhot": 100, "yhot": 100}, "sb_h_double_arrow.png": {"xhot": 100, "yhot": 100}, diff --git a/builder/bxbuild/symlinks.py b/builder/bxbuild/symlinks.py index 539a3b6..ddd7c8a 100644 --- a/builder/bxbuild/symlinks.py +++ b/builder/bxbuild/symlinks.py @@ -26,6 +26,12 @@ def add_missing_xcursor(directory) -> None: "se-resize", ], }, + { + "src": "col-resize", + "links": [ + "split_h", + ], + }, { "src": "copy", "links": [ @@ -41,7 +47,6 @@ def add_missing_xcursor(directory) -> None: "cross_reverse", "diamond_cross", "tcross", - "color-picker", "crosshair", ], }, @@ -135,20 +140,24 @@ def add_missing_xcursor(directory) -> None: "dnd-ask", ], }, - {"src": "right_ptr", "links": ["draft_large", "draft_small"]}, # required + {"src": "right_ptr", "links": ["draft_large", "draft_small"]}, + { + "src": "row-resize", + "links": [ + "split_v", + ], + }, {"src": "sb_down_arrow", "links": ["down-arrow"]}, { "src": "sb_h_double_arrow", "links": [ "028006030e0e7ebffc7f7070c0600140", "14fef782d02440884392942c1120523", - "col-resize", "e-resize", "ew-resize", "h_double_arrow", "size-hor", "size_hor", - "split_h", "w-resize", ], }, @@ -163,11 +172,9 @@ def add_missing_xcursor(directory) -> None: "double_arrow", "n-resize", "ns-resize", - "row-resize", "size-ver", "size_ver", "s-resize", - "split_v", "v_double_arrow", ], },