diff options
| author | Xiao Pan <xyz@flylightning.xyz> | 2026-02-14 09:01:54 +0800 |
|---|---|---|
| committer | Xiao Pan <xyz@flylightning.xyz> | 2026-02-14 09:01:54 +0800 |
| commit | 835e199b9d3f152a53745138b6060113c5322fab (patch) | |
| tree | aecc0e3ebc9c24e85bcecb41d8e821a8cc8bb55d | |
| parent | 4891c001fb8c70bb94203503d8418c49aa1dbfd5 (diff) | |
| parent | 397d618f1cfbed398ef05d0c9d1e5dbcdb8144e7 (diff) | |
Merge branch 'master' into flyfly
| -rw-r--r-- | config.mk | 2 | ||||
| -rw-r--r-- | dwm.c | 8 |
2 files changed, 4 insertions, 6 deletions
@@ -1,5 +1,5 @@ # dwm version -VERSION = 6.7 +VERSION = 6.8 # Customize below to fit your system @@ -1471,12 +1471,10 @@ sendevent(Client *c, Atom proto) void setfocus(Client *c) { - if (!c->neverfocus) { + if (!c->neverfocus) XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime); - XChangeProperty(dpy, root, netatom[NetActiveWindow], - XA_WINDOW, 32, PropModeReplace, - (unsigned char *) &(c->win), 1); - } + XChangeProperty(dpy, root, netatom[NetActiveWindow], XA_WINDOW, 32, + PropModeReplace, (unsigned char *)&c->win, 1); sendevent(c, wmatom[WMTakeFocus]); } |
