Re: [dev] [dwm] Avoid requesting MotionNotify events

From: Staven <>
Date: Sat, 16 Jul 2016 15:42:20 +0000

On Sat, Jul 16, 2016 at 02:33:18PM +0300, Alexander Monakov wrote:
> This causes lots of useless communication between the X server and dwm every
> time the mouse pointer is moved, even when nothing could possibly change as
> a result (e.g. if Xinerama is not compiled in, or only one monitor is present).
> On my system, the resulting syscalls-per-second count in dwm is about 490, if
> the mouse if moved continuously.

Why is this a problem?
I mean, I just found out that I wiggle my cursor really hard, dwm CPU usage
goes up to 3%. Is that why?
Received on Sat Jul 16 2016 - 17:42:20 CEST

This archive was generated by hypermail 2.3.0 : Sat Jul 16 2016 - 17:48:11 CEST