On Mon, Feb 18, 2013 at 11:27:33PM +0100, Marco wrote:
> Hi,
> 
> I might be off-topic with this issue here, but maybe it turns out to
> be awesome-related or someone knows a solution anyway.
> 
> When VLC is in fullscreen I still get desktop notifications sent via
> notify-send. How do I prevent notifications from being sent when VLC
> is in fullscreen?
> [...]

There the are `naughty.suspend()` and `naughty.resume()` functions. Once
notifications are suspended, they are collected to be released once
notifications are resumed (thus no notifications are lost). You might have
to play around a bit with those, but my first suggestion would be to suspend
notifications once a client called VLC or the like is getting managed and
resume once VLC is unmanaged. Maybe you want to put that in a property
signal handler and check for the fullscreen property.  YMMV

-- 
    Gregor Best

-- 
To unsubscribe, send mail to [email protected].

Reply via email to