rlopez1j / xmonad

Automatically exported from code.google.com/p/xmonad
0 stars 0 forks source link

'onScreen'' with 'FocusCurrent' from 'XMonad.Actions.OnScreen' does not working #586

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ("<KP_Enter>", onScreen' (spawn "cmplayer") FocusCurrent 1)
2. Push key
3.

What is the expected output? What do you see instead?

It should spawn command on screen 1, but it spawn always current focused 
workspace(screen).

What version of the product are you using? On what operating system?

Arch Linux
xmonad 0.11-10
xmonad-contrib 0.11.3-2

Are you using an xmonad.hs?  Please attach it and the output of "xmonad
--recompile".

Please provide any additional information below.

Original issue reported on code.google.com by dontdie...@gmail.com on 18 Jan 2015 at 12:37

Attachments:

GoogleCodeExporter commented 9 years ago
It works ok with 'FocusNew' but 'FocusCurrent'.

Original comment by dontdie...@gmail.com on 18 Jan 2015 at 12:42

GoogleCodeExporter commented 9 years ago
At a guess, this is "working as intended". The program is spawned on screen 1 
-- and the window it opens is put on the current screen, just as you asked! 
(There is no canonical, WM-visible connection between processes and windows in 
X11.) But see also the XMonad.Actions.SpawnOn.

Original comment by daniel.w...@gmail.com on 19 Jan 2015 at 4:00

GoogleCodeExporter commented 9 years ago
Thanks, I'll check out.

Original comment by dontdie...@gmail.com on 20 Jan 2015 at 6:23

GoogleCodeExporter commented 9 years ago
        , ("<KP_Enter>", onScreen' (spawnHere "bomi") FocusCurrent 1)

I've found 'spawnHere' function at XMonad.Actions.SpawnOn. It works as intended.

Thanks.

Original comment by dontdie...@gmail.com on 22 Jan 2015 at 2:15