Site Tools


on_switch_windows
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


on_switch_windows [2006/08/29 16:08] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +======Synopsis:======
 +[[on]] [<modes>]switch_windows [<serial#>] [-|^]<match> { <action> }
 +
 +======Description:======
 +This hook is triggered whenever the client changes what it thinks
 +your "current" window is in any given context.
 +
 +======Parameters:======
 +|$0 |the old screen number|
 +|$1 |the old window number|
 +|$2 |the new screen number|
 +|$3 |the new window number|
 +
 +======Other Notes:======
 +Note that the window might change through forces other than the
 +window keybindings.  You can get a pretty good idea when this
 +happens, though, because $0 and $2 will be different.
 +
  
on_switch_windows.txt · Last modified: 2006/08/29 16:08 by 127.0.0.1