[Xfce-bugs] [XFCE 0000166]: Switch to other workspace when a window is raised there

xfce-bugs at xfce.org xfce-bugs at xfce.org
Thu Jul 15 20:45:16 CEST 2004


The following bug has been ASSIGNED.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000166
=======================================================================
Reporter:                   mattam
Handler:                    olivier
=======================================================================
Project:                    XFCE
Bug ID:                     0000166
Category:                   xfwm
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
=======================================================================
Date Submitted:             2004-04-03 14:36 GMT
Last Modified:              2004-07-15 18:45 GMT
=======================================================================
Summary:                    Switch to other workspace when a window is raised there
Description: 
Here's a patch against xfwm-4.0.4 that switch workspace as required when a
window is supposed to be shown. I'm not sure this is the best way (first
time hacking xfce sources), but my guess is that it was overlooked. Very
useful with emacsclient :)
=======================================================================

-----------------------------------------------------------------------
 olivier - 2004-04-03 16:16 GMT 
-----------------------------------------------------------------------
sorry, this goes against http://bugs.xfce.org/view_bug_page.php?f_id=115 -
I agree this should be the default behaviour, unfortunately, it seems
other DE took another path.

Olivier.

-----------------------------------------------------------------------
 mattam - 2004-04-03 17:37 GMT 
-----------------------------------------------------------------------
I have first encountered this behaviour using latest kde versions, and i'm
pretty sure they follow freedesktop.org's recommendations.
Quoting the current WM spec draft:
"Activation
In the X world, activating a window means to give it the input focus. This
may not be possible if the window is unmapped, because it is on a different
desktop. Thus, activating a window may involve additional steps like moving
it to the current desktop (or changing to the desktop the window is on),
deiconifying it or raising it."

So the behavior is unspecified, and this is unrelated to actually starting
applications, where i also find that opening them on the current desktop is
the most natural thing to do (only startup applications need to be opened
on specific desktops usually).

If my patch effectively does what's described in
http://bugs.xfce.org/view_bug_page.php?f_id=115, then I'll be happy to
know if it's possible to implement 'activation' without this 'remember
where i live' problem in xfce.



More information about the Xfce-bugs mailing list