Introduction
Introduction Statistics Contact Development Disclaimer Help
dwm-autoraise_windows-20240809-d2e6bd5b.diff - sites - public wiki contents of …
git clone git://git.suckless.org/sites
Log
Files
Refs
---
dwm-autoraise_windows-20240809-d2e6bd5b.diff (763B)
---
1 From d2e6bd5b14741ce15d66ad1b23c593b3bba4bf8a Mon Sep 17 00:00:00 2001
2 From: krackout <[email protected]>
3 Date: Fri, 9 Aug 2024 09:29:22 +0300
4 Subject: [PATCH] Autoraise windows when gaining focus with mouse hoverin…
5 floating layout only
6
7 ---
8 dwm.c | 3 +++
9 1 file changed, 3 insertions(+)
10
11 diff --git a/dwm.c b/dwm.c
12 index 67c6b2b..3a9a62c 100644
13 --- a/dwm.c
14 +++ b/dwm.c
15 @@ -803,6 +803,9 @@ focus(Client *c)
16 grabbuttons(c, 1);
17 XSetWindowBorder(dpy, c->win, scheme[SchemeSel][ColBord…
18 setfocus(c);
19 + if (selmon->lt[selmon->sellt]->arrange == NULL) {
20 + XRaiseWindow(dpy, c->win);
21 + }
22 } else {
23 XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentT…
24 XDeleteProperty(dpy, root, netatom[NetActiveWindow]);
25 --
26 2.39.2
27
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.