Re: Debugging keyboard overlay+xbindkeys

2016-11-05 Thread wettstae
> Question is, was it there for 22 years cause it's unfixable or because
> nobody uses overlay? :)

I guess Mihail is right, overlays are certainly little used.  I do use
overlays myself, but only as as lock, where the bug is not likely to
occur.

You might want to look at Redirect actions, another XKB feature that
allows to pretend to applications that another key than the physical one
has been pressed.  They are more flexible than overlays, and they work
fine.

Andreas
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Re: Debugging keyboard overlay+xbindkeys

2016-11-04 Thread wettstae
> - press caps
> - press f
> - release caps
> - wait
> - release f

In xserver/xkb/xkbPrKeyEv.c, there is a bug that prevents key
press/release to be tracked properly for keys with overlays, in case
such a key is down while the overlay state changes.  There is even a
comment (from 9/11/94) that mentions the problem.

Andreas
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Re: [PATCH] kbproto: Fix typo in XkbSARedirectSetVMods

2015-03-10 Thread wettstae
 And it uses vmods1 in place of vmods_mask1

Where?

But I think there is still a bug: High and low bytes for virtual
modifiers and masks are swapped, compared to the XKB protocol
specification (the protocol uses big endian, the macros use little
endian).  Is this worth fixing?

Andreas
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

[PATCH] kbproto: Fix typo in XkbSARedirectSetVMods

2015-03-09 Thread wettstae
An apparent copy/paste bug in the macro XkbSARedirectSetVMods, which breaks
using RedirectKey actions with virtual modifiers.

Signed-off-by: Andreas Wettstein wetts...@gmail.com
---
 XKBstr.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/XKBstr.h b/XKBstr.h
index 5a0c596..403c002 100644
--- a/XKBstr.h
+++ b/XKBstr.h
@@ -225,8 +225,8 @@ typedef struct  _XkbRedirectKeyAction {
 
 #defineXkbSARedirectVMods(a)   unsigned 
int)(a)-vmods1)8)|\
((unsigned int)(a)-vmods0))
-#defineXkbSARedirectSetVMods(a,m)  
(((a)-vmods_mask1=(((m)8)0xff)),\
-((a)-vmods_mask0=((m)0xff)))
+#defineXkbSARedirectSetVMods(a,m)  (((a)-vmods1=(((m)8)0xff)),\
+((a)-vmods0=((m)0xff)))
 #defineXkbSARedirectVModsMask(a)   unsigned 
int)(a)-vmods_mask1)8)|\
((unsigned int)(a)-vmods_mask0))
 #defineXkbSARedirectSetVModsMask(a,m)  
(((a)-vmods_mask1=(((m)8)0xff)),\
-- 
2.2.1

___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

xkbcomp: Please merge a reviewed patch

2014-12-07 Thread wettstae
Dear all,

A while ago, I submitted the following patch for xkbcomp, related to
locking and ISOLock:

  http://patchwork.freedesktop.org/patch/20376/

It has been reviewed, but not merged yet.  Can somebody please merge
this patch?

Apart from fixing incorrect behaviour, this patch brings the foundations
do address bug #56491 (for xkeyboard-config).

Thank you,

Andreas


___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

libxkbfile: Please merge three reviewed patches

2014-12-07 Thread wettstae
Dear all,

some time ago I submitted the following three patches for libxkbfile:

http://patchwork.freedesktop.org/patch/20377/
http://patchwork.freedesktop.org/patch/20378/
http://patchwork.freedesktop.org/patch/20379/

They have been reviewed, but not merged.  The first two add missing
output of flags, the last one fixes a typo.  Can someone please merge
those patches?

Thank you,

Andreas


___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

xkb xserver: Please merge reviewed patches

2014-12-07 Thread wettstae
Dear all,

a while ago, I submitted a few patches which have been reviewed, but not
merged.

These two add missing flags to output:

http://patchwork.freedesktop.org/patch/20380/
http://patchwork.freedesktop.org/patch/20381/

This one disables autorepeat for modifier keys (current autorepeat
behaviour is incorrect):

http://patchwork.freedesktop.org/patch/20382/

This one prevents emulated mouse button key presses suppressing other
keys:

http://patchwork.freedesktop.org/patch/20384/

Finally, this one adds NoLock/NoUnlock support for LockControls:

http://patchwork.freedesktop.org/patch/20724/

Can someone please merge these patches?

Thank you,

Andreas

___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Re: Please help with bug fix

2014-12-07 Thread wettstae
 It seems that mailing list x...@listserv.bat.ru doesn't exist anymore.

Right.  It moved to Google Groups:

  https://groups.google.com/a/listserv.bat.ru/group/xkb

Everything that happens in bugzilla for xkeyboard-config is forwarded to
this list, and little else is going on on this list besides that.

Therefore, if you you feel your bug is ignored, just add another comment
to your bug as a reminder.  But please remember, you cannot expect a
reaction in 24h, this is a volunteer's project..

Andreas

___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Re: Odd compose key behaviour

2014-11-19 Thread wettstae
 compose(A)
 
 produces Ă) instead of Ⓐ

With the libX11 compose, I get Ⓐ.  With the GTK compose mechanism, I get
Ă) as you observed.  So my guess is that you accidentially use GTK's or
some other input method, rather than XIM.

Andreas
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel