Deprecate selection()

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2019-02-16 16:16:45 +01:00
parent ae58192951
commit 13f4954567

View file

@ -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;