Re: fvwm question: can I make transients take focus?

1998-03-20 Thread Austin Donnelly
On Thu, 19 Mar 1998, Brian White wrote:

 Hmmm...  As long as we're talking about features...  Is there a way to
 cycle through visible windows?  I have a virtual desktop (as opposed to
 multiple desktops) and it would be wonderful if I could cycle between the
 visible windows without cycling to windows off screen (I have Fn keys
 to move between screens).

This should make meta-TAB go to the next non-iconic window on the
current page on the current desk:

Key Tab A   M   Next [!Iconic CurrentPage] Focus


If your _really_ mean visible windows, you could say:

Key Tab A   M   Next [!Iconic CurrentPage Visible] Focus

which adds the contraint that the window must also be completely
unobscured by others -- however, I don't think it's so much use (most
of my windows tend to overlap to some extent).

Bear in mind that meta-TAB is a jolly useful key combination in eg:
  bash  - dynamic history completion
  emacs - dabbrev-expand (basically a magic do the right thing expansion)

I have it bound to C-TAB, but don't use it much.

Also, remember that if you want to Focus and Raise, you need to write
the minimal FocusRaise function:

AddToFunc FocusRaise I Focus
+   I Raise


Austin


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


fvwm question: can I make transients take focus?

1998-03-19 Thread Brian White
Is there any way under fvwm2 to make all transient windows automatically get
focus when they appear?  It would be much more convienient than having to
move the mouse to that window.

  Brian
 ( [EMAIL PROTECTED] )

---
 measure with micrometer, mark with chalk, cut with axe, hope like hell



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: fvwm question: can I make transients take focus?

1998-03-19 Thread Alex Romosan
Is there any way under fvwm2 to make all transient windows automatically get
focus when they appear?  It would be much more convienient than having to
move the mouse to that window.

i think i am not answering exactly what are you asking, but did you
try putting

Style * ClickToFocus

in ~/.fvwm2rc (or the system one)?

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: fvwm question: can I make transients take focus?

1998-03-19 Thread Austin Donnelly
On Wed, 18 Mar 1998, Brian White wrote:

 Is there any way under fvwm2 to make all transient windows automatically get
 focus when they appear?  It would be much more convienient than having to
 move the mouse to that window.

I don't think so.

You can give focus to any window easily, but the command has to be run
from a function, and there is no function invoked when a window is
captured by fvwm2.

I'll forward your feature-request to the fvwm mailing list.

Thanks,
Austin
(Debian fvwm maintainer)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: fvwm question: can I make transients take focus?

1998-03-19 Thread Martin Bialasinski
Brian White [EMAIL PROTECTED] writes:

 Is there any way under fvwm2 to make all transient windows automatically get
 focus when they appear?  It would be much more convienient than having to
 move the mouse to that window.

Someone created a patch for fvwm2 to do just these kind of
things. Check http://www.concentric.net/~Isogai/fvwm2/fvwm2.shtml

Ciao,
Martin


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: fvwm question: can I make transients take focus?

1998-03-19 Thread Keith Beattie
Brian White wrote:

 Is there any way under fvwm2 to make all transient windows automatically get
 focus when they appear?  It would be much more convienient than having to
 move the mouse to that window.
 

If you have any windows that pop up automatically, like calander
reminders, error windows, etcetera, this can be a *very* undesirable
feature.  For myself, being stuck with using NT on a daily basis, such
windows (like crashing applications :) pop up and steal the focus
quite often.

The problem is that if this happens *as* I'm typing or clicking a
mouse button, the new window gets the event and just might disappear
before I get a chance to read it!  Hmmm, I hope that wasn't too
important...  Who knows what I just denied or agreed to!  Other
times, applications might be launched and I suddenly find myself in
the middle of another program with no idea how I got there.  At best,
the machine just beeps at me several times.

What I wouldn't give to have genuine sloppy focus in every GUI.  (BTW,
setting the ActiveWindowTracking resource in NT doesn't prevent this
problem - you have to move the mouse to get the focus *back* to the
window you were in once the transient appears.)

My 2 cents,
Keith


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: fvwm question: can I make transients take focus?

1998-03-19 Thread Brian White
  Is there any way under fvwm2 to make all transient windows automatically get
  focus when they appear?  It would be much more convienient than having to
  move the mouse to that window.
 
 I don't think so.
 
 You can give focus to any window easily, but the command has to be run
 from a function, and there is no function invoked when a window is
 captured by fvwm2.
 
 I'll forward your feature-request to the fvwm mailing list.

Hmmm...  As long as we're talking about features...  Is there a way to
cycle through visible windows?  I have a virtual desktop (as opposed to
multiple desktops) and it would be wonderful if I could cycle between the
visible windows without cycling to windows off screen (I have Fn keys
to move between screens).

In case you hadn't guessed, I'm an elly (as in elephant).  I really
hate using the mouse.  grin  As opposed to a minnie, who really likes
mice.

  Brian
 ( [EMAIL PROTECTED] )

---
Debian GNU/Linux!  Search it at  http://insite.verisim.com/search/debian/simple


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: fvwm question: can I make transients take focus?

1998-03-19 Thread Brian White
  Is there any way under fvwm2 to make all transient windows automatically get
  focus when they appear?  It would be much more convienient than having to
  move the mouse to that window.

Perhaps for you, but for me, it's just the opposite.  I hate touching
the mouse.  When I do a search in netscape, for example, a transient
pops up and then I must move the mouse to that window before I can
type anything.  This slows me down immensely.

I don't think this should be something that is always active, but I
would like to be able to enable it.


 The problem is that if this happens *as* I'm typing or clicking a
 mouse button, the new window gets the event and just might disappear
 before I get a chance to read it!  Hmmm, I hope that wasn't too
 important...  Who knows what I just denied or agreed to!  Other
 times, applications might be launched and I suddenly find myself in
 the middle of another program with no idea how I got there.  At best,
 the machine just beeps at me several times.

Perhaps it would be best if the transient only automatically got focus
if its parent already had focus?  Perhaps this option could be tri-state:
never, always, if-parent-has-focus.

  Brian
 ( [EMAIL PROTECTED] )

---
 Generated by Signify v1.04.  For this and more, visit http://www.verisim.com/



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: fvwm question: can I make transients take focus?

1998-03-19 Thread Keith Beattie
Brian White wrote:
 
 Perhaps it would be best if the transient only automatically got focus
 if its parent already had focus?  Perhaps this option could be tri-state:
 never, always, if-parent-has-focus.
 ^^^

This is an excellent idea.  It would solve both our problems.  Perhaps
this could be added to the suggestion to the fvwm maintainers?

Happily identifying myself as an elly,
Keith


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: fvwm question: can I make transients take focus?

1998-03-19 Thread Adrian Bridgett
On Thu, Mar 19, 1998 at 12:32:10PM -0500, Brian White wrote:
 Perhaps it would be best if the transient only automatically got focus
 if its parent already had focus?  Perhaps this option could be tri-state:
 never, always, if-parent-has-focus.

Great idea!  If this could be a style option then it could be set according
to the program in the window anyway.  Unfortunately a friend has said that
he thought that there were no more bits left for any more style commands.

Adrian

email: [EMAIL PROTECTED]   | Debian Linux - www.debian.org
http://www.poboxes.com/adrian.bridgett   | Because bloated, unstable 
PGP key available on public key servers  | operating systems are from MS


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: fvwm question: can I make transients take focus?

1998-03-19 Thread Manoj Srivastava
Hi,

In fvwm2, you can set your key bindings to do something like
 that. 
 Key F10   RAPrev [*] Focus
 Key F11   RANext [*] Focus

Manoj
__
  Current [conditions] command
 Performs command on the current window if it satisfies all
 conditions.  Conditions include Iconic, !Iconic,
 Visible, !Visible, Sticky, !Sticky, Maximized,
 !Maximized, Transient, !Transient, Raised, !Raised,
 CurrentDesk, CurrentPage, and CurrentPageAnyDesk.  In
 addition, the condition may include a window name to match
 to.  The window name may include the wildcards * and ?.  The
 window name, icon name, class, and resource will be
 considered when attempting to find a match.  The window name
 can begin with !  which will prevent command if any of the
 window name, icon name, class or resource match.
  Next [conditions] command
 Performs command (typically Focus) on the next window which
 satisfies all conditions.  Conditions are the same as for
 Current with the addition of CirculateHit which overrides
 the CirculateSkip style attribute and CirculateHitIcon which
 overrides the CirculateSkipIcon style attribute for iconified
 windows.
  None [arguments] command
 Performs  command  if no window which satisfies all
 conditions exists.  Conditions are the same as  for
 Next.
  Prev   Performs command (typically Focus) on the  previous
 window  which satisfies all conditions.  Conditions
 are the same as for Next.

   The special symbols $w and $0 through $9 are available in the
   ComplexFunctions or Macros, or whatever you want to call them.
   Within a macro, $w is expanded to the window-id (expressed in hex,
   i.e.  0x10023c) of the window for which the macro was called.  $0
   though $9 are the arguments to the macro, so if you call
Key F10   RAFunction MailFunction xmh -font fixed
   and MailFunction is
AddToFunc MailFunction I Next [$0] Iconify -1
+  I Next [$0] focus
+  I None [$0] Exec $0 $1
   Then the last line of the function becomes
+  I None [xmh] Exec xmh -font fixed
   The expansion is performed as the function is executed, so you can
   use the same function with all sorts of different arguments.  I
   could use
Key F11   RAFunction MailFunction zmail -bg pink
   in the same .fvwm2rc, if I wanted.  An example of using $w is:
AddToFunc PrintFunction I Raise
+   I Exec xdpr -id $w
   Note that $$ is expanded to $.
__


-- 
 I have two very rare photographs: one is a picture of Houdini
 locking his keys in his car; the other is a rare photograph of Norman
 Rockwell beating up a child. Steven Wright
Manoj Srivastava  [EMAIL PROTECTED] http://www.datasync.com/%7Esrivasta/
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: fvwm question: can I make transients take focus?

1998-03-19 Thread Manoj Srivastava
Hi,
Brian == Brian White [EMAIL PROTECTED] writes:

Brian Perhaps it would be best if the transient only automatically
Brian got focus if its parent already had focus?  Perhaps this option
Brian could be tri-state: never, always, if-parent-has-focus.

Couls you see if the Next [*] Focus bound to, say, F12 would
 solve it for you? I would rather not see the default change.

manoj

-- 
 Men are never so likely to settle a question rightly as when they
 discuss it freely.  -- Macaulay
Manoj Srivastava  [EMAIL PROTECTED] http://www.datasync.com/%7Esrivasta/
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: fvwm question: can I make transients take focus?

1998-03-19 Thread Brian White
 Brian Perhaps it would be best if the transient only automatically
 Brian got focus if its parent already had focus?  Perhaps this option
 Brian could be tri-state: never, always, if-parent-has-focus.
 
 Couls you see if the Next [*] Focus bound to, say, F12 would
  solve it for you? I would rather not see the default change.

I wasn't thinking of changing the default.  In the above idea, the
default setting would be never, which is how it behaves now.

  Brian
 ( [EMAIL PROTECTED] )

---
   Touch passion when it comes your way.  It's rare enough as it is;
   don't walk away when it calls you by name.  -- Marcus (Babylon 5)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]