toggle focus
This commit is contained in:
parent
0515fb8082
commit
9ac8884703
|
@ -612,7 +612,11 @@ local function expand_horizontal(direction)
|
||||||
resize_region_to_index(c.region, true, true)
|
resize_region_to_index(c.region, true, true)
|
||||||
|
|
||||||
gears.timer.weak_start_new(0.1,function ()
|
gears.timer.weak_start_new(0.1,function ()
|
||||||
|
client_under_mouse = mouse.current_client
|
||||||
|
|
||||||
|
if client_under_mouse then
|
||||||
client.focus = mouse.current_client
|
client.focus = mouse.current_client
|
||||||
|
end
|
||||||
end) --|when toggling leave the focus
|
end) --|when toggling leave the focus
|
||||||
--|to the client under the pointer
|
--|to the client under the pointer
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue