Thread: [Wsmanager-devel] Switching to desktop with X11 stays inactive
Status: Alpha
Brought to you by:
richwareham
From: Joshua B. <jb1...@oa...> - 2004-07-28 15:16:52
|
Hello, I have been using Desktop Manager for quite some time now, and really appreciate all of the effort that goes into making it work. Recently I switched X11 window managers, though, and since then I've noticed a strange behavior with desktops and X11... I run all of my X11 apps on a single desktop, since X11 and OSX don't have the same behavior (mouse focus being the most notable, for me) - but when I switch from a desktop with an OSX application to the X11 desktop, X11 does not become active. Until I switched from the OSX default window manager, this was not a problem. Looking at the Desktop Manager source code leads me to think that Desktop Manager itself does not control the re-activating of the program on the new desktop (is this true?)... I'm not sure what can be done to fix this issue, other than perhaps adding something like AppleScript bindings to the entry of each desktop (so, for instance, when switching to desktop 2 I could force the activation of X11)... Does anyone else have this problem and know of a solution? Thank you for your time, --jtb --=20 Those who beat their swords into plowshares usually end up plowing for those who didn't. -- Ben Franklin |
From: Ka-Hing C. <ka...@gm...> - 2004-07-29 17:25:43
|
On Wed, 28 Jul 2004 11:16:43 -0400, Joshua Blanton <jb1...@oa...> wrote: > Hello, > > I have been using Desktop Manager for quite some time now, and really > appreciate all of the effort that goes into making it work. Recently > I switched X11 window managers, though, and since then I've noticed a > strange behavior with desktops and X11... I run all of my X11 apps on > a single desktop, since X11 and OSX don't have the same behavior (mouse > focus being the most notable, for me) - but when I switch from a desktop > with an OSX application to the X11 desktop, X11 does not become active. > > Until I switched from the OSX default window manager, this was not a > problem. Looking at the Desktop Manager source code leads me to think > that Desktop Manager itself does not control the re-activating of the > program on the new desktop (is this true?)... I'm not sure what can be > done to fix this issue, other than perhaps adding something like > AppleScript bindings to the entry of each desktop (so, for instance, > when switching to desktop 2 I could force the activation of X11)... I think something like this (probably not so customizble) should belong to desktop manager. For example if I switch to a desktop and all the windows of that desktop belong to the same application, then that application should be activated. I can probably attempt to do this some time before the end of the weekend. I think anything more would be overkill until (if) desktop manager gets scripting support. BTW, you are Ethan Blanton's brother, right? Tell him he rocks. -khc |
From: Joshua B. <jb1...@oa...> - 2004-07-29 19:05:43
|
Ka-Hing Cheung wrote: > I think something like this (probably not so customizble) should > belong to desktop manager. For example if I switch to a desktop and > all the windows of that desktop belong to the same application, then > that application should be activated. I can probably attempt to do > this some time before the end of the weekend. I think anything more > would be overkill until (if) desktop manager gets scripting support. Well, see, it *does* do this for every program that I've used except X11... I think that non-Apple window managers don't register their windows "properly" with the OSX GUI, and so they don't show up as being on the proper desktop (although the warp-to-desktop stuff when I shift- click on the X icon works just fine). I think the general case is working, although I don't use OSX programs much at all - so if it is a problem for others, I'll concede that I don't really use my box as much more than a glorified X terminal. :-) > BTW, you are Ethan Blanton's brother, right? Tell him he rocks. Consider it done. :-) --jtb --=20 Those who beat their swords into plowshares usually end up plowing for those who didn't. -- Ben Franklin |
From: Nathaniel G. <n8...@gm...> - 2004-07-31 02:18:56
|
On Thu, 29 Jul 2004 10:25:36 -0700, Ka-Hing Cheung <ka...@gm...> wrote: > > I think something like this (probably not so customizble) should > belong to desktop manager. For example if I switch to a desktop and > all the windows of that desktop belong to the same application, then > that application should be activated. Shouldn't it just activate whichever app owns the topmost window? Or will that change the stacking order or something. I'm a bit surprised that DM doesn't already do that. BTW, I too would like to see this problem solved. I've considered switching to a different window manager for X but have been stopped by integration problems like this. Cheers, -n8 -- >>>-- Nathaniel Gray -- Caltech Computer Science ------> >>>-- Mojave Project -- http://mojave.cs.caltech.edu --> |