darcs patch: _NET_ACTIVE_WINDOW moves windows if necessary

Hi,
a small new patch...
Joachim
Wed Apr 2 16:38:11 CEST 2008 Joachim Breitner

On Wed, Apr 2, 2008 at 10:43 AM, Joachim Breitner
Hi,
a small new patch...
Joachim
Wed Apr 2 16:38:11 CEST 2008 Joachim Breitner
* _NET_ACTIVE_WINDOW moves windows if necessary This makes EWMH behave a bit more like metacity: If _NET_ACTIVE_WINDOW is received and the window is not on the current worspace, it is brought here (instead of the workspace switched to the other one). So for example, if you click on the pidgin icon in the panel and the buddy list is already open some where it is moved here.
Applied.

Joachim Breitner wrote:
Hi,
a small new patch...
Joachim
Wed Apr 2 16:38:11 CEST 2008 Joachim Breitner
* _NET_ACTIVE_WINDOW moves windows if necessary This makes EWMH behave a bit more like metacity: If _NET_ACTIVE_WINDOW is received and the window is not on the current worspace, it is brought here (instead of the workspace switched to the other one). So for example, if you click on the pidgin icon in the panel and the buddy list is already open some where it is moved here.
I much prefer the old behaviour. Is it possible to make it configurable or something? Going to the window of interest makes more sense than it coming to you if it's already placed, since you already put it where you want it... _____ Justin Bogner

Hi, Am Mittwoch, den 02.04.2008, 10:25 -0600 schrieb Justin Bogner:
Joachim Breitner wrote:
Wed Apr 2 16:38:11 CEST 2008 Joachim Breitner
* _NET_ACTIVE_WINDOW moves windows if necessary This makes EWMH behave a bit more like metacity: If _NET_ACTIVE_WINDOW is received and the window is not on the current worspace, it is brought here (instead of the workspace switched to the other one). So for example, if you click on the pidgin icon in the panel and the buddy list is already open some where it is moved here. I much prefer the old behaviour. Is it possible to make it configurable or something? Going to the window of interest makes more sense than it coming to you if it's already placed, since you already put it where you want it...
It might be made configurable, but not without considerable bloat. What is your actual use case, i.e., what window are you activating with what program? I know that the behavior is debateable (and it should be debated), but the old behavior was unintentional and the the default (until we have dicussed something better) should match the behavior of other window managers. Do other xmonad users have an opinion on that? Greetings, Joachim -- Joachim Breitner e-Mail: mail@joachim-breitner.de Homepage: http://www.joachim-breitner.de ICQ#: 74513189 Jabber-ID: nomeata@joachim-breitner.de

On Wed, Apr 02, 2008 at 07:00:44PM +0200, Joachim Breitner wrote:
Hi,
Am Mittwoch, den 02.04.2008, 10:25 -0600 schrieb Justin Bogner:
Joachim Breitner wrote:
Wed Apr 2 16:38:11 CEST 2008 Joachim Breitner
* _NET_ACTIVE_WINDOW moves windows if necessary This makes EWMH behave a bit more like metacity: If _NET_ACTIVE_WINDOW is received and the window is not on the current worspace, it is brought here (instead of the workspace switched to the other one). So for example, if you click on the pidgin icon in the panel and the buddy list is already open some where it is moved here. I much prefer the old behaviour. Is it possible to make it configurable or something? Going to the window of interest makes more sense than it coming to you if it's already placed, since you already put it where you want it...
It might be made configurable, but not without considerable bloat. What is your actual use case, i.e., what window are you activating with what program?
I know that the behavior is debateable (and it should be debated), but the old behavior was unintentional and the the default (until we have dicussed something better) should match the behavior of other window managers.
Do other xmonad users have an opinion on that?
(I accidentally sent this to just Joachim, resending to the list) Personally, I would prefer the old behavior. I always keep a Rhythmbox window fullscreened on it's own workspace, since it takes up a lot of screen space. I often click the RB icon to jump to that workspace. If RB were to jump to my current workspace it would be very unusable, since it does not work very well at low resolution. I don't think that xmonad should strive to emulate other window managers, especially non-tiling window managers, since it is really very different. -- Lee Aylward

I'd like the option to use copy. I leave my IMs on 9 but would like to
have the window copied to my current workspace until i dismiss it.
However, this may be more appropriate as an urgency hook.
On 4/2/08, Joachim Breitner
Hi,
Am Mittwoch, den 02.04.2008, 10:25 -0600 schrieb Justin Bogner:
Joachim Breitner wrote:
Wed Apr 2 16:38:11 CEST 2008 Joachim Breitner
* _NET_ACTIVE_WINDOW moves windows if necessary This makes EWMH behave a bit more like metacity: If _NET_ACTIVE_WINDOW is received and the window is not on the current worspace, it is brought here (instead of the workspace switched to the other one). So for example, if you click on the pidgin icon in the panel and the buddy list is already open some where it is moved here. I much prefer the old behaviour. Is it possible to make it configurable or something? Going to the window of interest makes more sense than it coming to you if it's already placed, since you already put it where you want it...
It might be made configurable, but not without considerable bloat. What is your actual use case, i.e., what window are you activating with what program?
I know that the behavior is debateable (and it should be debated), but the old behavior was unintentional and the the default (until we have dicussed something better) should match the behavior of other window managers.
Do other xmonad users have an opinion on that?
Greetings, Joachim
-- Joachim Breitner e-Mail: mail@joachim-breitner.de Homepage: http://www.joachim-breitner.de ICQ#: 74513189 Jabber-ID: nomeata@joachim-breitner.de
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

Joachim Breitner wrote:
Hi,
Am Mittwoch, den 02.04.2008, 10:25 -0600 schrieb Justin Bogner:
Joachim Breitner wrote:
Wed Apr 2 16:38:11 CEST 2008 Joachim Breitner
* _NET_ACTIVE_WINDOW moves windows if necessary This makes EWMH behave a bit more like metacity: If _NET_ACTIVE_WINDOW is received and the window is not on the current worspace, it is brought here (instead of the workspace switched to the other one). So for example, if you click on the pidgin icon in the panel and the buddy list is already open some where it is moved here. I much prefer the old behaviour. Is it possible to make it configurable or something? Going to the window of interest makes more sense than it coming to you if it's already placed, since you already put it where you want it... It might be made configurable, but not without considerable bloat. What is your actual use case, i.e., what window are you activating with what program?
I know that the behavior is debateable (and it should be debated), but the old behavior was unintentional and the the default (until we have dicussed something better) should match the behavior of other window managers.
Do other xmonad users have an opinion on that?
Greetings, Joachim
My use case is actually the same as the example. I click the pidgin icon in the doc and would like to move to my messaging workspace, where the contact list is already placed where I would like it. Note that, since I have a hook to place pidgin windows on that workspace, if the contact list is minimized, clicking the icon brings me to that workspace, but if it's not minimized, it brings the window to my current workspace. This obviously makes the tray icon unuseable. _____ Justin Bogner

Hi, Am Mittwoch, den 02.04.2008, 15:25 -0600 schrieb Justin Bogner:
My use case is actually the same as the example. I click the pidgin icon in the doc and would like to move to my messaging workspace, where the contact list is already placed where I would like it. Note that, since I have a hook to place pidgin windows on that workspace, if the contact list is minimized, clicking the icon brings me to that workspace, but if it's not minimized, it brings the window to my current workspace. This obviously makes the tray icon unuseable.
Makes sense, and I guess most xmonad-users will also think that way. If no one argues for the new behaviour, I’ll submit a reverse patch with updated documentation soon. Greetings, Joachim -- Joachim Breitner e-Mail: mail@joachim-breitner.de Homepage: http://www.joachim-breitner.de ICQ#: 74513189 Jabber-ID: nomeata@joachim-breitner.de
participants (5)
-
Brent Yorgey
-
Joachim Breitner
-
Justin Bogner
-
Lee Aylward
-
Mathias Stearn