paskalip / boblight

Automatically exported from code.google.com/p/boblight
GNU General Public License v3.0
0 stars 0 forks source link

use XDamage instead of polling #81

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It's wasteful for boblight-X11 to constantly poll the screen if nothing is 
happening. XDamage can be used to make sure we only run when needed.

The attached patch adds this option to boblight-X11.

(you can still use a polling mode with this patch, in case you have a buggy 
driver that doesn't report damage properly)

Original issue reported on code.google.com by pie...@ossman.eu on 24 May 2014 at 9:53

Attachments:

GoogleCodeExporter commented 9 years ago
Nice! Will test soon and commit.

Original comment by bob.loo...@gmail.com on 14 Jan 2015 at 8:06