linux-qubasis

linux oasis port as a qubes template

git clone https://9o.is/git/linux-qubasis.git

commit e0c9e557589e3fbfc092a6ea5a960c8e270e6c8e
parent bc7b25d6bf3d4ce86727abd035526486fcd0f58a
Author: Jul <jul@9o.is>
Date:   Mon, 13 Oct 2025 01:59:18 +0800

fix vis bug hide cursor on window change

Diffstat:
Apkg/vis/patch/0004-bug-fix-hide-vis-cursor-on-prev-next-win.patch | 39+++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+), 0 deletions(-)

diff --git a/pkg/vis/patch/0004-bug-fix-hide-vis-cursor-on-prev-next-win.patch b/pkg/vis/patch/0004-bug-fix-hide-vis-cursor-on-prev-next-win.patch @@ -0,0 +1,39 @@ +From b7084670702ac31c05ed8879211288c14cde3cba Mon Sep 17 00:00:00 2001 +From: Jul <jul@qh.is> +Date: Mon, 13 Oct 2025 01:55:46 +0800 +Subject: [PATCH] bug fix: hide vis cursor on prev/next win + +--- + vis.c | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) + +diff --git a/vis.c b/vis.c +index 16ad8a0..0c59d57 100644 +--- a/vis.c ++++ b/vis.c +@@ -463,16 +463,18 @@ void vis_window_next(Vis *vis) { + if (!sel) + return; + vis_window_focus(sel->next ? sel->next : vis->windows); ++ vis_window_invalidate(sel); + } + + void vis_window_prev(Vis *vis) { + Win *sel = vis->win; + if (!sel) + return; +- sel = sel->prev; +- if (!sel) +- for (sel = vis->windows; sel->next; sel = sel->next); +- vis_window_focus(sel); ++ Win *prev = sel->prev; ++ if (!prev) ++ for (prev = vis->windows; prev->next; prev = prev->next); ++ vis_window_focus(prev); ++ vis_window_invalidate(sel); + } + + void vis_draw(Vis *vis) { +-- +2.51.0 +