From ed34df119a9d4e56e85f679abef54c3d341a63c3 Mon Sep 17 00:00:00 2001 From: Julian Wollrath Date: Tue, 26 Jul 2016 14:57:05 +0200 Subject: [PATCH] Change move and resize cursors --- lib/awful/mouse/resize.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/awful/mouse/resize.lua b/lib/awful/mouse/resize.lua index f54785ce5..2a4845fda 100644 --- a/lib/awful/mouse/resize.lua +++ b/lib/awful/mouse/resize.lua @@ -21,17 +21,17 @@ local req = "request::geometry" local callbacks = {enter={}, move={}, leave={}} local cursors = { - ["mouse.resize"] = "fleur", - ["mouse.move" ] = "cross" + ["mouse.resize"] = "cross", + ["mouse.move" ] = "fleur" } --- The resize cursor name. -- @beautiful beautiful.cursor_mouse_resize --- @tparam[opt=fleur] string cursor +-- @tparam[opt=cross] string cursor --- The move cursor name. -- @beautiful beautiful.cursor_mouse_move --- @tparam[opt=cross] string cursor +-- @tparam[opt=fleur] string cursor --- Set the resize mode. -- The available modes are: @@ -139,7 +139,7 @@ local function handler(_, client, context, args) --luacheck: no unused_args -- Select the cursor local tcontext = context:gsub('[.]', '_') - local cursor = beautiful["cursor_"..tcontext] or cursors[context] or "cross" + local cursor = beautiful["cursor_"..tcontext] or cursors[context] or "fleur" -- Execute the placement function and use request::geometry capi.mousegrabber.run(function (_mouse)