Reorganized layouts, moving or resizing a client will make it float

This commit is contained in:
Lucien Cartier-Tilet 2020-04-29 17:53:02 +02:00
parent 87b8f1e050
commit fccd63f4de
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -451,14 +451,14 @@
#+RESULTS[cda51a1db4af80af635cc4205a4077055b7b157f]: list-layouts #+RESULTS[cda51a1db4af80af635cc4205a4077055b7b157f]: list-layouts
#+begin_example #+begin_example
awful.layout.suit.magnifier, awful.layout.suit.magnifier,
awful.layout.suit.fair,
awful.layout.suit.fair.horizontal,
awful.layout.suit.floating,
awful.layout.suit.tile, awful.layout.suit.tile,
awful.layout.suit.tile.left, awful.layout.suit.tile.left,
awful.layout.suit.fair,
awful.layout.suit.fair.horizontal,
awful.layout.suit.tile.bottom, awful.layout.suit.tile.bottom,
awful.layout.suit.tile.top, awful.layout.suit.tile.top,
awful.layout.suit.spiral, awful.layout.suit.spiral,
awful.layout.suit.floating,
awful.layout.suit.max, awful.layout.suit.max,
#+end_example #+end_example
@ -874,10 +874,12 @@
end), end),
awful.button({ modkey }, 1, function (c) awful.button({ modkey }, 1, function (c)
c:emit_signal("request::activate", "mouse_click", {raise = true}) c:emit_signal("request::activate", "mouse_click", {raise = true})
awful.client.floating.toggle(c)
awful.mouse.client.move(c) awful.mouse.client.move(c)
end), end),
awful.button({ modkey }, 3, function (c) awful.button({ modkey }, 3, function (c)
c:emit_signal("request::activate", "mouse_click", {raise = true}) c:emit_signal("request::activate", "mouse_click", {raise = true})
awful.client.floating.toggle(c)
awful.mouse.client.resize(c) awful.mouse.client.resize(c)
end) end)
) )