Commit graph

893 commits

Author SHA1 Message Date
Daniel Eklöf
1cc1aa2b5f
doc: i3::application tag is Sway only 2020-01-24 21:27:07 +01:00
Daniel Eklöf
1d24755f6b
module/i3: log errors when IPC replies/events are missing data 2020-01-24 21:27:07 +01:00
Daniel Eklöf
f4e456a0ad
module/i3: 'pid' is not a standard property of windows event
Don't fail (and terminate the i3 plugin) if we receive a window event
where the 'container' doesn't have a 'pid' property.

This means we won't be able to determine the application the window
belongs to.

Closes #2
2020-01-24 21:27:07 +01:00
Daniel Eklöf
9675b86478
module/i3: window event: use 'app_id' for 'application', if available
We previously used the 'pid' property of the 'container' object in a
window event to lookup the application name under /proc/<pid>/comm.

In many cases, the application name is already available in the window
event itself, in the 'app_id' property.

Use this, if available, and fallback to the old PID method otherwise.

A quick experiment suggests 'app_id' is set for all Wayland native
applications, but not for X11 applications running under XWayland.
2020-01-24 21:23:21 +01:00
Daniel Eklöf
86522d653d
modules: move 'content' and 'anchors' to MODULE_COMMON_ATTRS
All modules implement these. The only one that differs is the i3
module. It still implements them, but 'content' uses an internal
verifier function.
2020-01-24 21:08:39 +01:00
Daniel Eklöf
36e5dc0df8
doc: yambar-modules: add missing table header
The header for 'required' was missing, as well as in half of the table
entries.
2020-01-24 21:06:19 +01:00
Daniel Eklöf
27b8fab461
doc: yambar-modules: yambar *does* font fallback 2020-01-24 21:06:19 +01:00
Daniel Eklöf
496f2f3185
doc: yambar-modules: fix highlighting of reference to yambar-tags 2020-01-24 21:06:19 +01:00
Daniel Eklöf
b49fb08b70
examples: my current laptop configuration 2020-01-23 17:52:31 +01:00
Daniel Eklöf
8294eb5a80
fcft: update to 1.0.0
Allow/disallow subpixel antialiasing in font_glyph_for_wc(), not using
font_enable_subpixel_antialias().
2020-01-19 12:35:29 +01:00
Daniel Eklöf
54a31f8745
meson/PKGBUILD: font kerning requires fcft >= 0.4.2 2020-01-18 09:27:32 +01:00
Daniel Eklöf
b644c75586
particle/string: apply font kerning 2020-01-18 09:27:27 +01:00
Daniel Eklöf
e2ea79bb2f
Merge branch 'releases/1.3' 2020-01-15 14:21:36 +01:00
Daniel Eklöf
7685199038
meson/PKGBUILD: bump version to 1.3.1 2020-01-15 14:19:42 +01:00
Daniel Eklöf
750c2a4472
Merge branch 'releases/1.3' 2020-01-15 14:02:27 +01:00
Daniel Eklöf
b6da4492a9
meson/PKGBUILD: bump version to 1.3.0 2020-01-15 13:57:09 +01:00
Daniel Eklöf
d920c09fc9
ci: install git and close fcft+tllist subprojects 2020-01-15 11:18:01 +01:00
Daniel Eklöf
9d5e57045b
README: specify "yaml" markup for configuration example 2020-01-15 11:09:15 +01:00
Daniel Eklöf
3c9a08bf7f
yml: destroy 'current' yaml event before erroring out 2020-01-15 11:06:54 +01:00
Daniel Eklöf
1a7b00054f
yml: fix crash when referencing a nonn-existent anchor 2020-01-15 11:03:40 +01:00
Daniel Eklöf
74043d0e6d
REAMDE: installation 2020-01-11 19:02:57 +01:00
Daniel Eklöf
42f9165bd7
gitignore: subprojects directory 2020-01-11 14:45:56 +01:00
Daniel Eklöf
a822d89291
fcft/tllist: remove git submodules 2020-01-11 14:43:26 +01:00
Daniel Eklöf
7c13b75218
fcft: bump 2020-01-09 21:08:31 +01:00
Daniel Eklöf
edfe7e70f9
bar/wayland: don't use wl_display_dispatch()
wl_display_dispatch() calls poll(), which is unnecessary since we
already know the FD is readable.

Use the more lower level wl_display_read_events() +
wl_display_dispatch_pending().

These require wl_display_prepare_read() to have been called.
2020-01-03 21:24:26 +01:00
Daniel Eklöf
6bef3b8e2f
fcft: ignore embeddedbitmap for non-scalable fonts 2020-01-02 18:43:27 +01:00
Daniel Eklöf
baee3924e4
bar/wayland: let compositor choose output if user didn't
Instead of us selecting an output randomly (we used to select that
"last" output) when the user hasn't configured one, let the compositor
choose one for us.
2019-12-31 11:39:33 +01:00
Daniel Eklöf
e05d586f17
bar/wayland: WL_OUTPUT_MODE_PREFERRED doesn't meen this *output* is preferred
It means the *mode* (width, height, refresh) is the preferred one for
*this* output.
2019-12-31 11:16:23 +01:00
Daniel Eklöf
d4201723a6
PKGBUILD/meson: require fcft 0.4.x 2019-12-05 19:40:23 +01:00
Daniel Eklöf
4a50dba46b
fcft: update to 0.4.0 2019-12-05 19:39:53 +01:00
Daniel Eklöf
d535132e23
fcft: update to 0.3.5 2019-12-04 22:06:22 +01:00
Daniel Eklöf
7331c72334
fcft: update to 0.3.3 2019-12-04 20:14:48 +01:00
Daniel Eklöf
4a9530881a
fcft: update to 0.3.0 2019-12-03 21:05:32 +01:00
Daniel Eklöf
b3f1694cb9
Merge branch 'fcft-0.2.0' 2019-12-01 19:30:23 +01:00
Daniel Eklöf
fb14c788df
PKGBUILD: require fcft >= 0.2.0 2019-12-01 19:30:03 +01:00
Daniel Eklöf
d6d4ee2fbd
meson: require fcft 0.2.0 2019-12-01 19:29:47 +01:00
Daniel Eklöf
677c43ea60
config: font_from_name() no longer accepts a tllist 2019-12-01 19:29:36 +01:00
Daniel Eklöf
8a4d9137ff
particle/string: remove useless debug log 2019-12-01 19:29:27 +01:00
Daniel Eklöf
6dfe479ddc
fcft: bump to 0.2.0 2019-12-01 19:29:19 +01:00
Daniel Eklöf
05a8528172
PKGBUILD: tllist is only a make dependency 2019-12-01 19:29:09 +01:00
Daniel Eklöf
da46c8c49c
meson: fcft: version must be 0.1.x 2019-12-01 18:46:21 +01:00
Daniel Eklöf
3719bbc593
meson: add 'fcft' dependency to decorations and modules
This should fix build failures when building plugins as shared
modules.
2019-12-01 18:02:23 +01:00
Daniel Eklöf
c7e10c48b7
fcft: bump 2019-12-01 18:00:12 +01:00
Daniel Eklöf
075b095271
PKGBUILD/meson: add version requirements to tllist+fcft 2019-12-01 17:43:12 +01:00
Daniel Eklöf
696bef573b
fcft: bump version to 0.1.0 2019-12-01 17:43:11 +01:00
Daniel Eklöf
57b1ecba9c
PKGBUILD: don't allow subproject fallback 2019-12-01 16:25:22 +01:00
Daniel Eklöf
80f9f5d249
fcft: bump 2019-12-01 16:25:16 +01:00
Daniel Eklöf
4cdaec00a0
wlr-protocols: bump 2019-12-01 16:25:10 +01:00
Daniel Eklöf
331f7d0be2
meson: group tllist/fcft with the other system dependencies 2019-12-01 16:09:49 +01:00
Daniel Eklöf
64844a8937
meson: tllist/fcft: use system dependency first, fallback to subprojects 2019-12-01 16:07:56 +01:00