Run command and focus its window?


I wonder whether the following is doable in Sawfish:

When mapping a new window, I don't want it to get focus by default.
There is one exception:

	I have a hotkey (Super+t) for running a new terminal. I have
discovered that I use this hotkey solely if I want to do something
in a new shell. So it would be nice if the terminal started by Super+t
could get focus as soon asi its window is mapped. Otherwise I would
defeat the whole purpose of having a hotkey, because in order to focus
the new terminal I would have to reach for a mouse (or use focus by direction,
which depends on the exact place where sawfish decides to place the window).

	How would you do this?



| Jan "Yenya" Kasprzak  <kas at { - work | - private}> |
| GPG: ID 1024/D3498839      Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E |
|    Journal: |
Please don't top post and in particular don't attach entire digests to your
mail or we'll all soon be using bittorrent to read the list.     --Alan Cox

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]