You are not logged in.
Is it possible to keep media player applications always on top ?
Following is my current configuration.
{ rule = { class = "Vlc" },
properties = { floating = true, ontop = true } }This is working fine whenever I start application. But problem is, if I go to full screen and come back, ontop flag is unset.
Is there anyway to fix this ?
Offline
you could probably do something like
client.connect_signal("property::fullscreen", function(c)
if c.class == "mplayer" then
c.ontop = true
end
end)i haven't tested this, though, so don't be surprised when it fails ![]()
Last edited by shmibs (2013-10-20 19:42:16)
[site] | [dotfiles] | あたしたち、人間じゃないの?
Offline
you could probably do something like
client.connect_signal("property::fullscreen", function(c) if c.class == "mplayer" then c.ontop = true end end)i haven't tested this, though, so don't be surprised when it fails
This is working partially. ie, VLC is keeping ontop propery, but video is not going full screen.
Offline
Connecting to
property::ontopsignal temporarly fix the issue.
But I don't think that is a clean way. because I won't be able to manually unset ontop, if I want.
Offline