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

xfce-bugs at xfce.org xfce-bugs at xfce.org
Tue Jan 13 20:27:30 CET 2004


A BUGNOTE has been added to this bug.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000070
=======================================================================
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-13 19:27 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.

-----------------------------------------------------------------------
 fab - 2004-01-10 19:49 GMT 
-----------------------------------------------------------------------
I confirm that point.

-----------------------------------------------------------------------
 olivier - 2004-01-11 20:52 GMT 
-----------------------------------------------------------------------
can you please try this version:

http://xfce.org/archive/test/xfwm4-4.0.3.1.tar.gz

It seems to work for me.

Cheers,
Olivier.

edited on: 01-11 20:52

-----------------------------------------------------------------------
 fab - 2004-01-10 22:59 GMT 
-----------------------------------------------------------------------
It works for me :-) Thanks :-)

-----------------------------------------------------------------------
 olivier - 2004-01-10 23:14 GMT 
-----------------------------------------------------------------------
Great. I'll keep the call opened for some time, just to make sure that the
fix doesn't have any side effect.

Thanks,
Olivier.

edited on: 01-10 23:14

-----------------------------------------------------------------------
 fab - 2004-01-13 18:09 GMT 
-----------------------------------------------------------------------
'seems to run without problems for me !

-----------------------------------------------------------------------
 olivier - 2004-01-13 19:27 GMT 
-----------------------------------------------------------------------
Ok, I close the call, it's now part of 4.0.3.1



More information about the Xfce-bugs mailing list