Emmanuel Lepage Vallee
e78ad709e7
doc: Move request:: handler to their own documentation section
2016-04-30 04:27:34 -04:00
Emmanuel Lepage Vallee
47fffb5eee
mouse: Add current_client property
...
It is called wibox instead of drawin because from the user
point of view, it will be a wibox anyway.
2016-04-30 04:27:34 -04:00
Emmanuel Lepage Vallee
fc2d359722
doc: Add a coords example
...
This forced the `coords()` documentation to be moved to Lua.
Keeping it in the C file caused yet another example CMake hack.
2016-04-30 04:27:34 -04:00
Emmanuel Lepage Vallee
800b8c7d4a
doc: Merge awful.mouse and mouse documentation pages
...
Just like client, tag and screen, this is to avoid new users some
confusing implementation details.
2016-04-30 04:27:34 -04:00
Emmanuel Lepage Vallee
0b6cd90dce
mouse: Implement the Lua custom property handler
2016-04-30 04:27:34 -04:00
Emmanuel Lepage Vallee
07e1b975a7
mouse.snap: Use a composed placement function
2016-04-30 04:27:34 -04:00
Emmanuel Lepage Vallee
80ee4e9f5d
awful.mouse.snap: Add a visual cue
2016-04-30 04:27:34 -04:00
Emmanuel Lepage Vallee
91cdc4a899
awful.mouse.snap: Support windows 7 style screen edges snap
2016-04-30 04:27:34 -04:00
Emmanuel Lepage Vallee
baec2efe2d
awful.mouse.move: Fix snapping support
2016-04-30 04:27:34 -04:00
Emmanuel Lepage Vallee
86ca6222e2
awful.mouse.snap: Add a configurable default distance
2016-04-30 04:27:34 -04:00
Emmanuel Lepage Vallee
2624370cc0
awful.mouse: Move snap into a submodule
2016-04-30 04:27:34 -04:00
Emmanuel Lepage Vallee
cdcfb913f1
awful.mouse: Move clients using request::geometry
2016-04-30 04:27:33 -04:00
Emmanuel Lepage Vallee
be455cb140
awful.mouse: Add a request::geometry handler.
2016-04-30 04:27:33 -04:00
Emmanuel Lepage Vallee
f8f57fb6b7
awful.mouse: Add a generic mousegrabber
...
Previously, all layouts had their own mouse grabbing logic. The
new one is based on the client request::geometry feature.
2016-04-30 04:27:33 -04:00
Emmanuel Lepage Vallee
7242b30c01
awful.mouse: Deprecate awful.mouse.client.corner
2016-04-30 04:27:33 -04:00
Emmanuel Lepage Vallee
693a87ef2e
mouse: Avoid an error when the client is killed while moving
...
to reproduce:
1) spawn an xterm
2) enter 'sleep 10 && killall xterm'
3) start moving the terminal
There will be an error
(found by a yet to be commited integration test)
2016-04-27 19:55:39 -04:00
Emmanuel Lepage Vallee
2ccc7c88d6
awful.mouse.snap: Fix invalid fallback
2016-04-23 22:12:28 -04:00
Emmanuel Lepage Vallee
dd52f1ce86
awful.tag: Move functions to awful.client and screen
2016-04-11 23:54:28 -04:00
Emmanuel Lepage Vallee
43f1561f26
awful.client: Convert all remaining functions to methods.
2016-04-11 23:54:28 -04:00
Emmanuel Lepage Vallee
9027cabd8c
awful.client: Move `dockable` to the property system
...
Note that the setter is no longer necessary and is implicitly
generated.
2016-04-11 23:54:27 -04:00
Emmanuel Lepage Vallee
82342f055c
awful.client: Deprecate .floating.get/set
...
Begin to formalize the getter/setter syntax into a coherent one
2016-04-11 23:46:10 -04:00
Uli Schlachter
a0d4d729d3
Remove awful.mouse.finder
...
This module is partly broken since 2009 (the way to use it that is mentioned in
the docs doesn't actually work) because the mousefinder object doesn't have a
find()-method (the line doing "self.find = find" should do "self.finder =
finder.find"). Since no one really noticed, this module is apparently not used
much.
When someone wants to still use this, they are free to copy this to their own
config. It's not much code, but it's enough code that I am annoyed that we ship
something broken to users. Everyone who copies it to their own config will make
sure it works the way they want.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-12 18:27:40 +01:00
Uli Schlachter
c75741c578
Fix luacheck warnings for the rest of awful
...
This fixes *most* luacheck warnings in awful. However, some non-trivial ones
remain for latter.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-11 21:55:32 +01:00
Uli Schlachter
63653bed76
Add the right vim modeline to all lua files
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-12-12 17:42:33 +01:00
ShadowKyogre
742cbd7122
Call :set_bg for the mouse finder's wibox
...
Before this, it was trying to assign it to `.bg`, which isn't how
backgrounds are stored on wiboxes.
Closes https://github.com/awesomeWM/awesome/pull/587 .
2015-12-06 19:33:13 +01:00
Daniel Hahler
4bffa7e47e
doc: fix unintentional rendering as code due to indent
2015-10-14 00:22:26 +02:00
Tim Roes
462055cb36
Add finish callback to awful.mouse.client.move
2015-08-22 14:50:42 +02:00
Julian Wollrath
6cc7be512c
Remove the *.in from all files.
...
Signed-off-b: Julian Wollrath <jwollrath@web.de>
2015-06-19 22:33:32 +02:00
bew78 - lesell_b
4845a73df2
Update finder.lua.in
2015-04-24 22:47:06 +02:00
Julian Wollrath
f8a3209707
Fix ldoc warning.
...
Signed-off-by: Julian Wollrath <jwollrath@web.de>
2015-02-28 23:14:13 +01:00
Julian Wollrath
6de9d1e1d5
Make description of awful.mouse.finder readable.
...
Signed-off-by: Julian Wollrath <jwollrath@web.de>
2015-02-28 23:14:13 +01:00
Julian Wollrath
939dab8ba9
Some more doc fixes all over the place.
...
Signed-off-by: Julian Wollrath <jwollrath@web.de>
2015-02-28 23:14:13 +01:00
Ignas Anikevicius (gns_ank)
7f8a0787b8
Docs: General work on the awful module.
...
This is basically an initial stab for some modules and some
experimenting with the `@classmod` directive.
For most of the docs only basic transforming was done.
At the moment the tooltip module looks the best.
Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
2015-02-28 23:14:12 +01:00
Daniel Hahler
627f8ea20f
Remove 'enc=utf-8' from Vim modelines
...
This is not allowed, and results in:
> E520: Not allowed in a modeline: enc=utf-8
2015-02-10 20:18:46 +01:00
Uli Schlachter
2e286a45d8
awful.mouse.finder: Remove rounded_corners call
...
Let's just quote a mail I received from Rastislav Barlik:
I tried to make use of awful.mouse.finder but I found out that it's not working
as supporting functions rounded_corners were removed with commit
03e0ee53d2
.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-01-10 20:28:26 +01:00
Uli Schlachter
94e61ec94b
timer: Move from C to lua as gears.timer
...
No API-change (besides the obvious no-longer-a-global-object) intended.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-12-06 16:44:04 +01:00
Robert Siska
8d7b0feedd
Layouts can define their own resizing handler (FS#1267)
2014-10-23 01:30:19 +02:00
Uli Schlachter
1090719d67
remove awful.widget.taglist.gettag (FS#1256)
...
It's been broken since ages.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-04-12 12:18:34 +02:00
Campbell Barton
620732a015
Remove raise call from mouse.client.move
...
This makes move consistent with 'resize' which doesn't raise either.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-03-11 09:41:20 +01:00
Uli Schlachter
7a47355c99
awful.mouse: Follow C API changes
...
Whoops. This was broken ages ago. Thanks to Elv13 for making me notice.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2013-03-17 22:52:39 +01:00
Uli Schlachter
487fb3f945
mouse.resize: Allow resize across screens (FS#1059)
...
No clue why this code is here, but it only allowed floating clients to be
resized beyond the edge of their screen. Clients on a floating layout were
forced to stay on their screen. Quite an unintuitive behavior and now this
behavior is gone.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-12-14 19:38:30 +01:00
dodo
1e4c14d306
tag.screen doesn't exist anymore
...
awful.tag.getscreen(tag) returns now the tag's screen index
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-10-26 18:28:52 +02:00
Uli Schlachter
2ada67b730
Added a functions for getting all tags on a screen
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-10-20 22:54:20 +02:00
Uli Schlachter
ce9932f17f
Fix various minor errors after the lua 5.2 conversion
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-06-16 21:12:26 +02:00
Arvydas Sidorenko
dd8ecdce24
Ported awful.mouse to lua 5.2
...
Tested with lua 5.1: all good
Signed-off-by: Arvydas Sidorenko <asido4@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-06-16 17:37:30 +02:00
Anurag Priyam
9793ec0b71
do not set non existent, screen property on wiboxes
...
The `screen` property on wibox (drawin) was removed in the commit - 'drawin:
Remove screen property'.
Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2012-01-15 16:52:12 +01:00
Gregor Best
c2ea920ca0
remove encoding=utf-8 from modelines
...
This option is no longer valid in modelines, so it has been removed from
all modelines using the following shellscript:
#!/bin/ksh
git ls-tree -r HEAD | cut -f2 | while read f; do
egrep -e '^(//|--) vim: .*encoding=' $f >/dev/null || continue
sed -E -e '/^(\/\/|--) vim:/s/:encoding=utf-8//' $f > /tmp/foo
mv /tmp/foo $f
done
Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-09-11 17:34:09 +02:00
Perry Hargrave
45576b6c6f
FS#917: Dont move clients with fixed positions
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-07-03 10:06:29 +02:00
Gregor Best
33e88ea8d4
awful.mouse: fix interclient border snapping
...
Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-03-28 12:27:09 +02:00
Gregor Best
07e63bd564
awful.mouse: fix client snapping
...
Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-03-21 07:38:44 +01:00
Julien Danjou
6d332f07a0
lua{class,object}: rename signals functions
...
I knew this was wrong at the beginning, f*ck.
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-08-25 20:28:20 +02:00
Julien Danjou
8588e2d594
awful.mouse: load finder
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-11 13:43:02 +02:00
Sébastien Gross
4d1ca7bc18
awful: Add a mouse finder capability
...
Signed-off-by: Sébastien Gross <seb•ɱɩɲʋʃ•awesome•ɑƬ•chezwam•ɖɵʈ•org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-11 13:38:38 +02:00
Julien Danjou
1d595fe507
awful.mouse: move into a directory
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-11 13:31:33 +02:00