Introduction
Introduction Statistics Contact Development Disclaimer Help
dwm-focusmonmouse-6.2.diff - sites - public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log
Files
Refs
---
dwm-focusmonmouse-6.2.diff (582B)
---
1 From a56d910262f04c576760e4cdc7010f526cd0f56f Mon Sep 17 00:00:00 2001
2 From: Filip Seman <[email protected]>
3 Date: Sat, 28 Aug 2021 16:15:42 +0200
4 Subject: [PATCH] Move mouse to selected monitor on focusmon
5
6 ---
7 dwm.c | 1 +
8 1 file changed, 1 insertion(+)
9
10 diff --git a/dwm.c b/dwm.c
11 index 4465af1..254c933 100644
12 --- a/dwm.c
13 +++ b/dwm.c
14 @@ -825,6 +825,7 @@ focusmon(const Arg *arg)
15 if ((m = dirtomon(arg->i)) == selmon)
16 return;
17 unfocus(selmon->sel, 0);
18 + XWarpPointer(dpy, None, m->barwin, 0, 0, 0, 0, m->mw / 2, m->mh…
19 selmon = m;
20 focus(NULL);
21 }
22 --
23 2.30.2
24
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.