Sergey
43ff4e07ad
Marking readonly properties for client
2021-10-27 14:52:36 -04:00
Sergey
6a92af1662
Adding readonly tag to the summary
2021-10-27 14:52:25 -04:00
Sergey
486fd3744f
Adding ldoc readonly tag text in the extra_summary list
2021-10-26 18:31:45 -04:00
Sergey
899f9c8879
Adding readonly ldoc tag
2021-10-26 18:07:20 -04:00
Sergey
60dfa3f6bd
Fixing a typo
2021-10-26 18:06:38 -04:00
Emmanuel Lepage Vallee
c63a80de5c
layoutlist: Allow empty constructor.
2021-10-26 13:37:16 -07:00
Emmanuel Lepage Vallee
11e4fe88bb
client.border_color: Fix a bug affecting floating clients.
...
If client client was tiled, the `fallback` could be
`theme.border_color_normal`, but if the client was
tiled, this fallback was never tried.
Now it tests for both "floating" and "active" fallbacks.
This problem actually affects the default theme.
2021-10-26 13:37:16 -07:00
paulhersch
ebc9b99ae2
fixed a typo ( #3481 )
2021-10-23 20:02:34 -07:00
Emmanuel Lepage Vallée
1e6f213bcf
Merge pull request #3477 from Elv13/fix_matcher
...
Fix a gears.matcher bug and add a small feature.
2021-10-23 12:15:29 -07:00
Emmanuel Lepage Vallée
a1716a7edc
Merge pull request #3462 from Aire-One/fix/3458
...
Fix 3458
2021-10-22 23:27:55 -07:00
Emmanuel Lepage Vallee
ffb95eec8d
tests: Improve gears.matcher tests.
2021-10-22 23:13:26 -07:00
Emmanuel Lepage Vallee
9db62b824c
gears.matcher: Add `fallback` rules.
...
Right now, all rules are additive, they are squashed into one big
array of properties. This is normally fine, but sometime you want
explicit rules for some objects, but also default rules if nothing
matches.
While this can be expressed in the current system by overriding
*all* properties, this require more effort than having "special"
and "fallback" rules.
2021-10-22 22:26:12 -07:00
Emmanuel Lepage Vallee
005c2d61a0
gears.matcher: Fix `rule_every`.
...
It really didn't do the right thing and didn't work anyway.
2021-10-22 22:26:12 -07:00
Emmanuel Lepage Vallée
8541637a85
Merge pull request #3475 from Elv13/fix_626
...
Another doc upgrade.
2021-10-21 15:07:54 -07:00
Emmanuel Lepage Vallee
b2603f6a86
doc: Add images for awful.client.* functions.
2021-10-18 14:38:37 -07:00
Emmanuel Lepage Vallee
cbec148540
doc: Make sure all client.focus functions are in the same section.
...
Some were in the @staticfct and some in the @function sections.
2021-10-18 14:38:37 -07:00
Emmanuel Lepage Vallee
ae71158093
doc: Add documentation for the client "window factor" related functions
...
It might be a good idea to deprecate them and move them to the tag
class. However, these APIs are not exactly well designed, so
moving them wont solve that. Some day the dynamic client layout will
hopefully be merged and send these functions to the heap of smelly
bad ideas trash.
2021-10-18 14:38:37 -07:00
Emmanuel Lepage Vallee
62685c661d
doc: Modernize the tag documentation... again...
...
The last time this page had a refresh was in parallel with another
massive whole-doc project. Thus, this page still had older
conventions which everything else had already removed.
2021-10-18 14:38:37 -07:00
Emmanuel Lepage Vallee
a8d2fa0297
doc: Add a large number of `client` examples.
...
Backfill some under-documented APIs with yet more shiny images.
2021-10-18 14:38:37 -07:00
Emmanuel Lepage Vallee
93283a9885
doc: Undocument internal client `urgent` and `shape` methods.
...
There is already some permissions to change the behavior. I don't
think there is valid user-facing use cases for these "methods".
2021-10-18 14:38:37 -07:00
Emmanuel Lepage Vallee
c7df6757ec
titlebar: Add `urgent` colors.
...
Just the bg/fg/bgimage, not all buttons. the reason is for consistency
with the tasklist or border_color.
2021-10-18 14:38:37 -07:00
Emmanuel Lepage Vallee
73625168f2
doc: Improve the `awful` template.
...
* Support client shape
* Support titlebar colors
* Only render clients part of the selected tag(s).
2021-10-18 14:38:37 -07:00
Emmanuel Lepage Vallee
fd8401a399
shims: Send the property:: signal for the client class.
2021-10-18 14:38:37 -07:00
Emmanuel Lepage Vallee
56256d0c38
shims: Add client.first_tag.
2021-10-16 17:07:18 -07:00
Emmanuel Lepage Vallee
667a0dfc18
tests: Add tests for swapping a client.
2021-10-15 20:20:24 -07:00
Emmanuel Lepage Vallee
785ca98337
client: Turn client.setslave/setmaster into properties.
...
It also no longer use the master/slave name. In this case, it kinds
of make sense since, for example, of the tag `master_count` is greater
than the number of clients, calling `client.setslave` move the client
to another "master" slot.
Closes #626
2021-10-15 20:00:23 -07:00
Emmanuel Lepage Vallee
e40ad11ec0
shims: Implement client:swap().
2021-10-15 19:50:22 -07:00
Emmanuel Lepage Vallee
028d01590a
doc: Add a client.border_width example.
2021-10-15 19:50:03 -07:00
Emmanuel Lepage Vallee
c1d25cd70d
doc: Improve the `awful` template client widget.
...
It was incorrectly sized.
2021-10-15 19:45:05 -07:00
Emmanuel Lepage Vallee
203d0638be
background: Improve the fallback rendering accuracy.
...
While it has a little aliasing problem, it actually correctly
renders the border using a mask like the normal code path.
2021-10-15 19:42:48 -07:00
Emmanuel Lepage Vallee
206bc7e5de
doc: Fix client.border_color example rendering.
2021-10-15 17:47:03 -07:00
Emmanuel Lepage Vallee
80515c2225
doc: Fix rendering of `client:swap()`.
2021-10-15 14:27:30 -07:00
Aire-One
1f4ce1f4cb
fix: flush instead of finish
...
Co-authored-by: Uli Schlachter <psychon@znc.in>
Co-authored-by: ezz666 <ezz666@yandex.ru>
2021-10-15 18:25:04 +02:00
Emmanuel Lepage Vallée
1d55ae09aa
Merge pull request #3464 from Elv13/fix_3388
...
Fix an assert in the layoutlist code
2021-10-14 20:51:51 -07:00
Emmanuel Lepage Vallée
5f29d6d056
Update lib/naughty/notification.lua
...
Co-authored-by: Aire-One <aireone@aireone.xyz>
2021-10-14 20:51:31 -07:00
Emmanuel Lepage Vallee
2a65d8ade1
tests: Fix the layoutlist popup example.
...
`gears.table.cycle_value` returns 2 values. That accidentally
passed the second one to `awful.layout.set`, which didn't like
it at all.
2021-10-14 14:09:47 -07:00
Emmanuel Lepage Vallee
213bfbc9bd
doc: Fix a syntax issue in the layoutbox doc.
2021-10-14 14:09:47 -07:00
Emmanuel Lepage Vallee
01020a197d
layoutlist: Support scrollwheel by default.
...
It acts like the default `rc.lua` tag/tasklist widgets.
Idea from https://github.com/awesomeWM/awesome/issues/3388
2021-10-14 14:09:47 -07:00
Emmanuel Lepage Vallee
1d5af8e8ad
widget.common: Allow buttons to be replaced later.
...
So far, they could only be set in the constructor.
2021-10-14 14:09:47 -07:00
Emmanuel Lepage Vallee
9c042fcb79
layoutlist: Fix an assert when `buttons` are specified.
...
Fix #3388
2021-10-14 14:09:47 -07:00
Emmanuel Lepage Vallee
cd2e961fcb
layoutlist: Remove the duplicate `buttons` property from doc.
2021-10-14 14:09:47 -07:00
Emmanuel Lepage Vallee
187b766cbe
tests: Test naughty.notification.ignore_suspend
2021-10-14 14:04:40 -07:00
Emmanuel Lepage Vallee
0b075761e3
naughty: Fix the `ignore_suspend` property.
...
By fixing some suspend bugs a few weeks ago, I "regressed" this
a little. By that, I mean there were bugs in the suspend code
which caused `ignore_suspend` to work simply because suspend
globally failed rather than `ignore_suspend` being implemented
correctly.
Fix #3465
2021-10-14 14:03:39 -07:00
Emmanuel Lepage Vallée
5a27eaa973
Merge pull request #3455 from Elv13/token
...
ci: Cleanup the previous test commits.
2021-10-14 12:06:09 -07:00
Aire-One
6d569f9e3b
fixup! fix(root) copy_to_image_surface parameters
2021-10-12 21:48:56 +02:00
Aire-One
cf9d4d382e
fix(screen.content) use capi.root
2021-10-12 21:05:41 +02:00
Aire-One
96710a595e
fix(root) copy_to_image_surface parameters
2021-10-12 21:05:41 +02:00
Yauhen Kirylau
aedcd0c05c
test(screenshots, spawn): require exact major gtk/gdk versions ( #3460 )
2021-10-09 16:36:17 -07:00
Emmanuel Lepage Vallée
d487d1010e
Merge pull request #3443 from Elv13/fix_3396
...
Improve suspending the notifications
2021-10-09 12:58:11 -07:00
Emmanuel Lepage Vallée
1f84dbef18
Merge pull request #3451 from Elv13/screenshot
...
Copy of "Content (Screenshot) API Expansion"
2021-10-07 14:03:57 -07:00