! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Problem with double screen (without xinerama)
Status:
CLOSED: FIXED

Comments

Description fabien.marty 2004-01-09 18:26:06 CET
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
Comment 1 Olivier Fourdan editbugs 2004-01-09 21:41:20 CET
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.
Comment 2 Olivier Fourdan editbugs 2004-01-10 17:25:25 CET
Oddly enough, this is affecting GTK+ apps only.
KDE, Xaw and Motif apps aren't affected at all.

Olivier.
Comment 3 fabien.marty 2004-01-10 19:49:54 CET
I confirm that point.
Comment 4 Olivier Fourdan editbugs 2004-01-10 21:03:45 CET
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
Comment 5 fabien.marty 2004-01-10 22:59:40 CET
It works for me :-) Thanks :-)
Comment 6 Olivier Fourdan editbugs 2004-01-10 23:12:41 CET
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
Comment 7 fabien.marty 2004-01-13 18:09:40 CET
'seems to run without problems for me !
Comment 8 Olivier Fourdan editbugs 2004-01-13 19:27:30 CET
Ok, I close the call, it's now part of 4.0.3.1
Comment 9 Brian J. Tarricone (not reading bugmail) 2004-04-08 19:55:04 CEST
mass stale bug cleanup - reopen if closed in error

Bug #70

Reported by:
fabien.marty
Reported on: 2004-01-09
Last modified on: 2009-07-14

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information