Emmanuel Lepage Vallee
ce2dbea510
shims: Avoid a race condition when setting the mouse screen.
2019-08-18 02:44:34 -04:00
Emmanuel Lepage Vallee
f7c0f419e9
shims: Fix indentation
2019-08-14 00:55:27 -04:00
Emmanuel Lepage Vallee
1617c894cc
tests: Use rawget to avoid trigerring the tripwire.
...
The next commit will introduce extra checks that would otherwise
break this.
2019-08-14 00:55:27 -04:00
Emmanuel Lepage Vallee
59e2ae6800
shims: Set capi.screen.primary.
...
This is used as a fallback when some objects go out of screen.
2019-04-05 21:06:11 -04:00
Emmanuel Lepage Vallee
0c53d76f25
shims: Emit property::geometry when resizing screens.
...
It allows to wibars to be resized.
2019-04-05 21:06:11 -04:00
Emmanuel Lepage Vallee
6aabb73fa3
shims: Implement signal forwarding.
...
This make the rules, among other things, work.
2019-04-05 21:06:11 -04:00
Emmanuel Lepage Vallee
3adad38c0a
tests: Make the capi.screen shim more robust
...
Also add some private properties to be consumed by the template for a
better rendered documentation example image.
2018-07-29 10:46:27 -04:00
Yauhen Kirylau
94d3918d14
fix(awful: widget: only_on_screen): update for screen API changes from #2293 ( #2304 )
2018-07-22 18:33:59 -04:00
Emmanuel Lepage Vallee
8e87bd7c64
tests: Add some methods to the shims
2017-10-21 17:57:30 +02:00
Uli Schlachter
46c32d9df1
tests/example: Add vim modelines
...
This uses DOC_HIDE magic in the actual test code, except for the
template.lua files which do not have it.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-12-31 13:59:38 +01:00
Daniel Hahler
68de588f21
tests: fix indenting/style ( #1303 )
...
Basically:
> for f in **/*.lua; do vim '+set sw=4' '+norm gg=G' '+wq' "$f"; done
2016-12-27 21:39:08 +01:00
Uli Schlachter
f9775b91de
shims: Add support the new .data property
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-09-30 11:11:55 +02:00
Uli Schlachter
0857f6f1b5
Lua: Remove calls to add_signal()
...
The requirement to call add_signal() was added to catch typos. However, this
requirement became increasingly annoying with property::<name> signals and e.g.
gears.object allowing arbitrary properties to be changed.
All of this ended up in a single commit because tests/examples fails if I first
let add_signal() emit a deprecation warning.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-06-04 18:23:48 +02:00
Uli Schlachter
975aac5c0c
awful.tag: Delete a screen's tag on removal
...
Any clients with these tags end up somewhere random (the first tag on the first
remaining screen). This certainly can be improved in the future, but at least
this is a start.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-05-08 14:52:31 +02: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
00d782f3d3
awful.screen: Deprecate functions, add methods
2016-04-11 23:54:28 -04:00
Emmanuel Lepage Vallee
ea40fbd198
shims: Add property::workarea
2016-03-31 05:04:24 -04:00
Emmanuel Lepage Vallee
c9f8690a60
tests: Add some shims to emulate CAPI without an X server
2016-03-31 04:45:45 -04:00