From 13f495456767ccf03ded156238abca1d95576f01 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sat, 16 Feb 2019 16:16:45 +0100 Subject: [PATCH] Deprecate selection() Signed-off-by: Uli Schlachter --- selection.c | 1 + 1 file changed, 1 insertion(+) diff --git a/selection.c b/selection.c index 2b83a063..ba164c13 100644 --- a/selection.c +++ b/selection.c @@ -52,6 +52,7 @@ static xcb_window_t selection_window = XCB_NONE; static int luaA_selection_get(lua_State *L) { + luaA_deprecate(L, "selection.getter(\"PRIMARY\", \"UTF8_STRING\")"); if(selection_window == XCB_NONE) { xcb_screen_t *screen = globalconf.screen;