This website works better with JavaScript.
Home
Explore
Help
Sign In
Linux
/
dwm
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
just ignore the FD_ISSET check in main.c of xfd, just call XPending (which does the same afair)
config
Anselm R. Garbe
18 years ago
parent
204f0a340d
commit
b3b58c08e4
1 changed files
with
5 additions
and
6 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-6
main.c
+ 5
- 6
main.c
View File
@ -325,12 +325,11 @@ main(int argc, char *argv[]) {
}
}
drawstatus
(
)
;
drawstatus
(
)
;
}
}
if
(
FD_ISSET
(
xfd
,
&
rd
)
)
while
(
XPending
(
dpy
)
)
{
XNextEvent
(
dpy
,
&
ev
)
;
if
(
handler
[
ev
.
type
]
)
(
handler
[
ev
.
type
]
)
(
&
ev
)
;
/* call handler */
}
while
(
XPending
(
dpy
)
)
{
XNextEvent
(
dpy
,
&
ev
)
;
if
(
handler
[
ev
.
type
]
)
(
handler
[
ev
.
type
]
)
(
&
ev
)
;
/* call handler */
}
}
}
cleanup
(
)
;
cleanup
(
)
;
XCloseDisplay
(
dpy
)
;
XCloseDisplay
(
dpy
)
;
Write
Preview
Loading…
Cancel
Save