Multi-screen support in XIM

21 views
Skip to first unread message

Takao Fujiwara

unread,
Mar 23, 2017, 5:18:46 AM3/23/17
to ibus-...@googlegroups.com
Hi,

Recently I got a request to work IBus with XIM in Xorg ZaphodHead environment.
IBus lookup window has already supported multi-monitors but ZaphodHead
uses multi-screens instead. (Probably the hardware environment is
multi-graphics cards.)
DISPLAY environment variable gives the screen number and I think to
use that value in both ibus-gtk* and ibus-x11.
But seems the current Xorg spec does not support to send DISPLAY
variable from a X11 client to a X11 server.

Now I'm proposing a patch for Xorg:
https://lists.x.org/archives/xorg-devel/2017-February/052778.html

But currently no reply about the patch from xorg-devel.

I confirmed using this patch and hacked ibus can launch the lookup
window in the second screen.
https://github.com/fujiwarat/ibus/commits/1.3.y-rhel6

Do you have any practices or comments about muti-screen XIM or other
input metod frameworks?

Now I wish a broadband reviews about the Xorg patch whether I push it.

Thanks.

Takao Fujiwara

unread,
Mar 23, 2017, 5:25:08 AM3/23/17
to ibus-...@googlegroups.com
On Thu, Mar 23, 2017 at 6:18 PM, Takao Fujiwara
<takao.f...@gmail.com> wrote:
> Hi,
>
> Recently I got a request to work IBus with XIM in Xorg ZaphodHead environment.
> IBus lookup window has already supported multi-monitors but ZaphodHead
> uses multi-screens instead. (Probably the hardware environment is
> multi-graphics cards.)
> DISPLAY environment variable gives the screen number and I think to
> use that value in both ibus-gtk* and ibus-x11.
> But seems the current Xorg spec does not support to send DISPLAY
> variable from a X11 client to a X11 server.

Correction:
from a XIM client to a XIM server.

>
> Now I'm proposing a patch for Xorg:
> https://lists.x.org/archives/xorg-devel/2017-February/052778.html

I think this patch keeps the back compatibility.
Reply all
Reply to author
Forward
0 new messages