Re: 3.6 Feature: IBus/XKB integration



XI2 does not exactly override XKB, functionally. So there must be some
kind of cooperation.

So, what does happen in xterm when the group number in xinput2 is 5?
How should X server be configured in order to provide 5 layouts from
xkeyboard-config? Obviously, this should be done on the server side,
not on the client side.

On Tue, May 1, 2012 at 2:00 PM, Giovanni Campagna
<scampa giovanni gmail com> wrote:
> 2012/5/1 Matthias Clasen <matthias clasen gmail com>:
>> On Tue, May 1, 2012 at 7:12 AM, Giovanni Campagna
>> <scampa giovanni gmail com> wrote:
>>
>>
>>>
>>> So, assuming this is indeed a limit that we want to fix, why not
>>> fixing at the right level, i.e. Xorg?
>>> I recently looked at the Xkb and XI2 protocols, and I saw no
>>> particular limitations to using more than 4 groups (up to 255, which
>>> is a much more reasonable limit). There is indeed a limitation in the
>>> core protocol, but that's only used by legacy applications.
>>> In any case, I believe this discussion should be moved to xorg-devel,
>>> as the proposed solution (setxkbmap equivalent) not only has
>>> performance regressions, it will also cause problems with keybindings
>>> in non-latin layouts, as applications will no longer have another
>>> latin group to fallback on.
>>
>> The problem is that xkb uses 2 bits in the core event state mask to
>> communicate the group. That limitation very much affects xkb. A while
>> an xkb2 would be nice, it seems a pipe dream at this point. People
>> have been talking about it for years, nothing ever happened.
>
> Yes, I saw that, and that's what I meant when I talked about legacy
> applications. XInput2 uses 8 bit for the effective group, so it's not
> limited to 4, and that's what modern toolkits use.
> _______________________________________________
> desktop-devel-list mailing list
> desktop-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/desktop-devel-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]