make pinentry a floating window
Signed-off-by: martin f. krafft <madduck@madduck.net> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
de0a799fb9
commit
81fb5ab50b
|
@ -317,7 +317,10 @@ function hook_manage(c)
|
|||
-- if they're not focusable, so set border anyway.
|
||||
c:border_set({ width = border_width, color = border_normal })
|
||||
c:focus_set()
|
||||
if c:name_get():lower():find("mplayer") then
|
||||
if c:name_get():lower():find("pinentry") then
|
||||
c:floating_set(true)
|
||||
end
|
||||
if c:name_get():find("mplayer") then
|
||||
c:floating_set(true)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue