Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#657 PTT and Dual Head (Separated X screen)

1.2.3
open
nobody
Mumble (544)
5
2012-12-02
2010-09-16
Rafael Correia
No

I have 2 video cards, and 1 monitor on each board, I configured to use dual head with separated x screen (Linux version is Ubuntu 10.04).
The problem is, I like to use the chat programs on the screen that I'm not playing and when I move the mouse to the display that I am playing PTT button stop working. Then when I move the mouse to the display that I openned Mumble it works fine again.

I tried to find something on xorg.conf, but it was in vain.

I can put my xorg.conf here, but first I think it is important to say that some programs, like Mangler (a ventrilo client for linux, that I'm using until my guild decide to change the platform) works fine.

Looking at the Mumble's source, I found where the signal is captured.

Code: Select all
...
if (XQueryPointer(display, root, &root_ret, &child_ret, &root_x, &root_y, &win_x, &win_y, &mask[next]) && XQueryKeymap(display, keys[next])) {
...
}
...

At Mangler that they use the following line of code:

Code: Select all
GdkWindow *rootwin = gdk_get_default_root_window();
...
XQueryKeymap(GDK_WINDOW_XDISPLAY(rootwin), pressed_keys);

I looks like that XQueryKeymap of mumble just get the signal of the display that I oppened the Mumble and not from the active window (which is where the pointer is), and Mangler get it from the display of the current rootwin.

Platform Information
$ uname -a
Linux rafaelj-desktop 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:21:58 UTC 2010 x86_64 GNU/Linux

Discussion

  • Kissaki
    Kissaki
    2012-12-02

    • milestone: Alpha_0.2.2 --> 1.2.3
     
  • Kissaki
    Kissaki
    2012-12-02

    Which version of Mumble? 1.2.3?