From 51ddb5639e9c77844c1c5b81c8dcf34f31f5aacf Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Fri, 3 Feb 2017 18:30:09 -0500 Subject: [PATCH] mouse: Handle `maximized` client like `fullscreen` ones. There is already a way to prevent them from moving them, but the next few commits will remove it. There is no reasons to handle this differently from fullscreen clients. --- lib/awful/mouse/init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/awful/mouse/init.lua b/lib/awful/mouse/init.lua index 62d8e3b67..0e6812228 100644 --- a/lib/awful/mouse/init.lua +++ b/lib/awful/mouse/init.lua @@ -82,6 +82,7 @@ function mouse.client.move(c, snap, finished_cb) --luacheck: no unused args if not c or c.fullscreen + or c.maximized or c.type == "desktop" or c.type == "splash" or c.type == "dock" then @@ -189,6 +190,7 @@ function mouse.client.resize(c, corner, args) if not c then return end if c.fullscreen + or c.maximized or c.type == "desktop" or c.type == "splash" or c.type == "dock" then