Skip to content

Instantly share code, notes, and snippets.

@elenril
elenril / xscreensaver.lua
Created November 16, 2021 07:47
MPV script that deactivates XScreensaver when video playback is active
-- this script periodically deactivates xscreensaver
-- when video playback is active
local function heartbeat()
if mp.get_property_native("pause") or
mp.get_property_native("idle") or
not mp.get_property_native("vo-configured") then
return
end
Release Notes
=============
* 10 "Eks"
General notes
-------------
One of the main features of this release is the addition of reference-counted
data buffers to Libav and their use in various structures. Specifically, the
From 55b0f980b53e9407587cb51c72632ae8891e0232 Mon Sep 17 00:00:00 2001
From: Anton Khirnov <anton@khirnov.net>
Date: Fri, 16 Nov 2012 18:01:13 +0100
Subject: [PATCH] FvwmPager: be more careful with window labels.
Do not assume they contain properly encoded strings.
---
modules/FvwmPager/x_pager.c | 5 +++++
1 file changed, 5 insertions(+)