Re: [Sawfish] [patch] Two focus bugfixes; enter-exit flickering and x-cycle under focus-*. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/sawfish Archives
]
- To: sawfish@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [Sawfish] [patch] Two focus bugfixes; enter-exit flickering and x-cycle under focus-*.
- From: Christopher Roy Bratusek <nano@xxxxxxxxxxx>
- Date: Mon, 23 Mar 2015 18:35:05 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=jpberlin.de; h= content-transfer-encoding:content-type:content-type:in-reply-to :references:subject:subject:mime-version:user-agent:from:from :date:date:message-id:received:received; s=mail20140220; t= 1427132103; bh=rOG/LzWN6ny7xb7vvxMMM+LHE9AzOVSY9JUtB8Jvn/Y=; b=Z JZc2FLnyEiFahBOON+Sxec+p5BqsBJSLtp5yDXvbs7/rut3njbyeeyZmFaUYf4zW v5/dowYn/D+R9mz+Vok0fCmU3mc/LUvE5oLO29GcA5tsdzqMXOyEUlVQIfRynkhC 0WIIQDg9AaghQdFhAiIR0vyQKnKUQqCA8QQYju+1reUB1t12O/504Cchw3PM3PPO ARKlVbyVWCFUhWRT36rKk5KouFSWAuqo/8uHK9ePcEhd3o5cOTTZrXYDVDPHZL9Z m/RDskEkhzQ2Ad+Z/PsELLKJz7M03W4G3nAdBDSup/8p3ak6U4+HIwRnQsWyDKRi 8Z6RDOgN1BRj0g3byrVur18H4a+SmlmLutLK6dp7gihjgoO6CB1sDFNEVNdcnuvo UmAXSe8D/wqhMlg/eEVs9F6n0Udoe1/jxVp8rGN3pmZk1HOYa8yJULmTM6wHX5rf r1ONpq38/dS0oybAACeDPY/j148/FfX66qlLo4zGR8zu0iP56Usim2Xshvue3Sux MkLYnSiyk5uuYHupHG4Kyy9KML2ERyBkjz2KTTaipWCiEjHXwGHB2xXrtE8ATTrT W1CXb1a29EipC0rJMwKkcaQHD8fqXpG5YqmARYl4ddd7376/EC25W1L93zHFQCdU vxFGnBomrBTAiI5NR09g9ZHijO1q8XsN7ONkCPKTPM=
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm gonna test your patches soon.
I assume qtile is an external window-tiler? if so, did you try out the
one bundled with Sawfish as of 1.10?
Regards,
Chris
On 13.03.2015 08:04, Teika Kazura wrote:
> Hi, Sawfish list. Let me send two patches to fix focus bugs.
>
> The first one is for the notorious "enter-exit flickers" issue, and
> the second one for that after invocation of commands in x-cycle.jl
> (like cycle-windows and cycle-windows-backwards, and variants like
> -group and -among-group, etc), focus changes by pointer motion get
> ignored in focus-* modes.
>
> At least both work correctly for me, but my test is far from
> thorough.
>
> 1. "enter-exit flickers" is fixed by ignoring "pointer-out". It may
> seem necessary, but reacting to "pointer-in" and "enter-root" is
> enough. The fixed symptoms are described in the patch commit log.
>
> This patch is formed against HEAD, but it seems to work also for
> pre-9bdc8, which was a change to focus.jl in last November. (I
> don't know the exact symptom described in 9bdc8. It seems similar
> to mine, but it tries to fix both enter-exit and enter-only. Mine
> is related only to enter-exit.)
>
> 2. The fix of x-cycle.jl matters enter-* focus modes, i.e. all but
> "click". It's done by replacing make-timer with a different code.
> Theoretically both should work, but the code with timer doesn't. I
> can't tell why. (Timer seems to be called correctly as far as I
> investigated.) Anyway Librep's timer works in a very esoteric way.
>
> Let me point out one more thing; the news says that
> `focus-when-mapped' can take the value `maybe', but it isn't there.
> Maybe you can add `default', which is self-exeplanatory. Even in
> that case wm/state/transient.jl can be left intact since the case
> of `default' can be ignored there. (Thus it's equivalent to not
> setting focus-when-mapped.) Thanks for implementing it.
>
> Am i back? Sorry, no. (If you don't know me...ehem, ask Chris or
> fuchur.) Thanks for developing sawfish.
>
> Best regards, Teika (Teika kazura)
>
> # BTW qtile-0.9 now supports python3. I think it's worth trying,
> thus installed it, but not yet tried; it's because now I've
> succeeded in fixing the above two issues.
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJVEE7JAAoJELYMBo/GFnDu0AIP/RVP7vUU82RNiAj2MDAng2U3
tu6kuEsLr1tKYlesIYb+4dLslGngZJJkMgnaT2kDWUTb5Sx4J0AYSrNVdAgYrsev
0/QKXt3J9aN6Y0PLAknlWdbBAbsWO02iHg9qjHqeNOLW2KrAeIXR2pKEqRCEDM97
lkEYWBLBn87gLOiI0Og1k0sn+k7JmrvGOWX1+ZYgEOBTkx8wjY0uEcJnUzlh/oM4
pgFQfNfxfojHUxCVnY6CdPHqgC9E+kgIgY94oq2W5SQ8Zd5j91JNm3iEgd/vyahc
HrDwb8kgejwAIuAobS2MduSx+L+/kuOWm5L2WkLLpLvqTFN7mrnOkdc566yk+v4p
QRkOWpR0Zrdu8tzPcNYKzMMwSR/TbdzC5oyUatK2iG4FbOvgRx+EHiVDfaEEGrtF
eAcsRnmiXLrvjCM3YyJ0Izo5DN3kZD3RAe6G5BkRgOOG9VoOd56r3yt0fK45AdHs
c77gGZ7bhn2wGupgy0xooXbnO50yFRxu1wN86u+QmE5IKdD8hnee5XLN9cydKEpt
YTI6K4z8qg0u0qLTpjdIaIFrdyxb8LNJ3saWk7tFnP929F3Cu6feI6cEwx6T+aT2
lmIvmMcyMT0QM60DsRF72QEDeb6U/aF6VOghyQmrk/8DeipV0sU25/HXi9OBQjnA
OAJqCE+WU/pmNTQZ9XPi
=ZZoJ
-----END PGP SIGNATURE-----
--
Sawfish ML