This website works better with JavaScript.
Home
Explore
Help
Sign In
Linux
/
st
generated from
gmarx/git-template
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Making st not activate the cursor in case of Mod + k in dwm.
Thanks Jens Nyberg <jens.nyberg@gmail.com>!
master
Christoph Lohmann
11 years ago
parent
8a9475a0dd
commit
eeffbe11ab
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
st.c
+ 5
- 0
st.c
View File
@ -2986,6 +2986,11 @@ xseturgency(int add) {
void
focus
(
XEvent
*
ev
)
{
XFocusChangeEvent
*
e
=
&
ev
-
>
xfocus
;
if
(
e
-
>
mode
=
=
NotifyGrab
)
return
;
if
(
ev
-
>
type
=
=
FocusIn
)
{
XSetICFocus
(
xw
.
xic
)
;
xw
.
state
|
=
WIN_FOCUSED
;
Write
Preview
Loading…
Cancel
Save