following suggestions I have been trying to write code to make the dock
not take focus but am having problems.
my method was to modify the setup code in dock.lua to add to the
genframe_activated hook
----------------------------------------------------------------------------------
if dock_type~='none' then
.... code deleted .....
local function move_to_next_frame()
WIonWS.goto_dir(_, 'left')
end
local hk=ioncore.get_hook("ioncore_post_layout_setup_hook")
hk:add(create_dock_if_missing)
local myHook=ioncore.get_hook("genframe_activated")
myHook:add(move_to_next_frame)
end
----------------------------------------------------------------------------------
This looks to me like it should work but I get
Ion startup error log:
>> /home/crypt/.ion3/dock.lua:55: attempt to index local `secondHook' (a
nil value)
>> Stack trace:
0 [C]: in 'load_module'
1 /home/crypt/.ion3/ion.lua:56
[Skipping unnamed C functions.]
when doing a restart
any suggestions.
Joe.
--
Joseph Skinner email: [EMAIL PROTECTED]
There's no such thing as a wizard
who minds his own business
- Berengis the Black Court Mage to the Earls Caeline