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

xfce-bugs at xfce.org xfce-bugs at xfce.org
Sat Apr 3 19:37:08 CEST 2004


A BUGNOTE has been added to this bug.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000166
=======================================================================
Reporter:                   mattam
Handler:                    
=======================================================================
Project:                    XFCE
Bug ID:                     0000166
Category:                   xfwm
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
=======================================================================
Date Submitted:             2004-04-03 14:36 GMT
Last Modified:              2004-04-03 17:37 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