[Xfce-bugs] [XFCE 0000070]: Problem with double screen (without xinerama)

xfce-bugs at xfce.org xfce-bugs at xfce.org
Sat Jan 10 18:25:25 CET 2004


A BUGNOTE has been added to this bug.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=70
=======================================================================
Reporter:                   fab
Handler:                    olivier
=======================================================================
Project:                    XFCE
Bug ID:                     0000070
Category:                   xfwm
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
=======================================================================
Date Submitted:             2004-01-09 18:26 GMT
Last Modified:              2004-01-10 17:25 GMT
=======================================================================
Summary:                    Problem with double screen (without xinerama)
Description: 
I have two monitors but I don't want to use xinerama.

So I wrote a little shell in ~/Desktop/Autostart :

#!/bin/bash
 
export DISPLAY=:0.1
 
xfce-mcs-manager &
xfwm4 --daemon &
xfce4-iconbox &

It was wonderfull with XFCE 4.0.1 & 4.0.2.

Yesterday, I upgraded to XFCE 4.0.3

And I have now a big problem (for example) :
- I run XChat on the second monitor
- I run a gnome-terminal on the first one

I write a few lines with XChat and I can't write in my gnome-terminal
(impossible to get the focus). The only way is to iconify/deiconify the
terminal windows. If I write a few lines in the terminal window,
impossible to get the focus in XChat (I have to iconify/deiconify the
window).

I have such problems with others apps (it was only an example).

I have this problem only with XFCE 4.0.3
=======================================================================

-----------------------------------------------------------------------
 olivier - 2004-01-09 21:41 GMT 
-----------------------------------------------------------------------
Confirmed.

The problem is from the WM_TAKE_FOCUS event added in 4.0.3.

You can solve temporarily your problem by changing the file
xfwm4-4.0.3/src/client.c, line 4729, so it reads like this:

#if 0
        if (CLIENT_FLAG_TEST(c, CLIENT_FLAG_WM_TAKEFOCUS))
        {
            sendClientMessage (c->window, wm_protocols, wm_takefocus);
        }
#endif

then recompile and reinstall.

I keep investigating on the root cause.

Olivier.

-----------------------------------------------------------------------
 olivier - 2004-01-10 17:25 GMT 
-----------------------------------------------------------------------
Oddly enough, this is affecting GTK+ apps only.
KDE, Xaw and Motif apps aren't affected at all.

Olivier.



More information about the Xfce-bugs mailing list