Yesterday my awesome configuration was able to maximize window (in any layout I use (tiled/floating)) but now the maximize command does exactly nothing.
I've looked config file (rc.lua
) and did not found any incorrect code there.
Here is my client keys:
clientkeys = awful.util.table.join(
awful.key({ modkey, }, "f", function (c) c.fullscreen = not c.fullscreen end),
awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end),
awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ),
awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end),
awful.key({ modkey, }, "o", awful.client.movetoscreen ),
awful.key({ modkey, "Shift" }, "r", function (c) c:redraw() end),
awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end),
awful.key({ modkey }, "F7", function(c) c.maximized_horizontal = not c.maximized_horizontal end),
awful.key({ modkey }, "F8", function(c) c.maximized_vertical = not c.maximized_vertical end),
awful.key({ modkey, }, "n",
function (c)
-- The client currently has the input focus, so it cannot be
-- minimized, since minimized clients can't have the focus.
c.minimized = true
end),
awful.key({ modkey, }, "m",
function (c)
c.maximized_horizontal = not c.maximized_horizontal
c.maximized_vertical = not c.maximized_vertical
end)
)
The most interesting here is that modkey + F7
and modkey + F8
both work and these hotkeys are able to maximize window (but I need both them in one), but modkey + m
does not work.
awesome -k
says everything is okay.
Can someone please help in investigating what is wrong here?
First thing : check if the shortcut is really executed :
awful.key({ modkey, }, "m",
function (c)
naughty.notify({text="ok go"})
c.maximized_horizontal = not c.maximized_horizontal
c.maximized_vertical = not c.maximized_vertical
end)
then you can do more investigations