X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Ffuzzyflakes.c;h=18470bcb56de94eab6b0814df94d28112ad7d2b4;hp=072bce49345e32bc63c55906a1a84d4625d95735;hb=78add6e627ee5f10e1fa6f3852602ea5066eee5a;hpb=39809ded547bdbb08207d3e514950425215b4410 diff --git a/hacks/fuzzyflakes.c b/hacks/fuzzyflakes.c index 072bce49..18470bcb 100644 --- a/hacks/fuzzyflakes.c +++ b/hacks/fuzzyflakes.c @@ -349,6 +349,13 @@ FuzzyFlakesInit(Flake *flake) if (flake->RandomColors == True) flake->RandomColors = get_boolean_resource(flake->dpy, "randomColors", "Boolean"); + if (xgwa.width > 2560) { /* Retina displays */ + flake->Thickness *= 2; + flake->BorderThickness *= 2; + flake->Radius *= 2; + flake->FallingSpeed *= 2; + } + if (flake->Delay < 0) flake->Delay = 0;