| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When alternate key reporting is enabled (i.e. when we're supposed to
report the shifted key along with the unshifted key), we try to figure
out whether the key really is shifted or not (and thus which xkb
keysym to use for the unshifted and shifted keys in the escape).
This was done by getting the layout's *all* modifier combinations that
produce the shifted keysym, and if any of of them contained a modifier
that isn't supported by the kitty protocol, the shifted and unshifted
keys are derived from the same keysym. This is to ensure we handle
things like AltGr-combos correctly.
The issue is, since there may be more than one modifier combination
generating the shifted keysym, we may end up using the wrong keysym
just because _another_ combination set contains modifiers not
supported by the kitty protocol. What we're interrested in is whether
the *pressed* set of modifiers contains such modifiers.
Closes #1918
|
| |
|
|
|
|
| |
When there's a key collision, we increment the key and check
again. When doing this, we need to ensure the key is withing range,
and wrap around to 0 if the key value is too large.
|
| |\ |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
Require all bug submitters to include their foot configs.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the compositor sends a keyboard enter event before our window has
been mapped, foot crashes; the enter event triggers a cursor
refresh (hollow -> non-hollow block cursor), which crashes since we
haven't yet allocated a grid.
Fix by no-op:ing the refresh if the window hasn't been configured yet.
Closes #1910
|
| | | |
|
| | |
| |
| |
| | |
This reverts commit 56d2c3e990509d18de31e6009e0d0c6254f99b67.
|
| | |
| |
| |
| |
| |
| |
| | |
If we call render_refresh, that will wait for a callback to the main
surface. In the case of a flash, the main surface might not get callbacks
if the compositor implements fancy culling optimizations like wlroots
wlr_scene compositors such as sway version >=1.10.
|
| | |
| |
| |
| |
| | |
This function updates the overlay that foot uses. It will be used to
update the overlay when the flash effect ends.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
It's not widely used (don't know _any_ application that uses it), and
can be used to trick users to run unwanted commands.
|
| | |
| |
| |
| |
| | |
It's not widely used (don't know _any_ application that uses it), and
can be used to trick users to run unwanted commands.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
From the release notes:
system bell - allowing e.g. terminal emulators to hand off system
bell alerts to the compositor for among other things accessibility
purposes
The new protocol is used when the new config option
bell.system=yes (and the compositor implements the protocol,
obviously).
The system bell is rung independent of whether the foot window has
keyboard focus or not (thus relying on compositor configuration to
determine whether anything should be done or not in response to the
bell).
The new option is enabled by default.
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
Require all bug submitters to include their foot configs.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the compositor sends a keyboard enter event before our window has
been mapped, foot crashes; the enter event triggers a cursor
refresh (hollow -> non-hollow block cursor), which crashes since we
haven't yet allocated a grid.
Fix by no-op:ing the refresh if the window hasn't been configured yet.
Closes #1910
|
| | | |
|
| |\ \ |
|
| | | |
| | |
| | |
| | | |
This reverts commit 56d2c3e990509d18de31e6009e0d0c6254f99b67.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
If we call render_refresh, that will wait for a callback to the main
surface. In the case of a flash, the main surface might not get callbacks
if the compositor implements fancy culling optimizations like wlroots
wlr_scene compositors such as sway version >=1.10.
|
| |/ /
| |
| |
| |
| | |
This function updates the overlay that foot uses. It will be used to
update the overlay when the flash effect ends.
|
| |\ \
| | |
| | |
| | | |
Related to #1894
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
It's not widely used (don't know _any_ application that uses it), and
can be used to trick users to run unwanted commands.
|
| |/ /
| |
| |
| |
| | |
It's not widely used (don't know _any_ application that uses it), and
can be used to trick users to run unwanted commands.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |\| |
|
| | | |
|
| | | |
|
| | |\
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| | |
Fixes a crash when trying to print a "Legacy Computing"
symbol (U+1FB00-U+1FB9B).
Closes #1901
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A compositor will not send a frame callback for our main window if it
is fully occluded (for example, by a fully opaque overlay...). This
causes the overlay to stuck.
For regular buffers, it _should_ be enough to *not* hint the
compositor it's opaque. But at least some compositor special cases
single-pixel buffers, and actually look at their pixel value.
Thus, we have two options: implement frame callback handling for the
overlay sub-surface, or ensure we don't use a fully opaque
surface. Since no overlays are fully opaque by default, and the flash
surface is the only one that can be configured to be
opaque (colors.flash-alpha), and since adding frame callback handling
adds a lot of boilerplate code... let's go with the simpler solution
of
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Unsure if the protocol imposes a limit (haven't found any
documentation), or if the issue is in the libwayland implementation,
or wlroots (triggers in at least sway+river).
The issue is that setting a too long app-id causes the
compositor (river at least) to peg the CPU at 100%, and stop sending
e.g. frame callbacks to foot.
Closes #1897
|
| | | |
|
| | | |
|
| |\| |
|
| | | |
|
| |/ |
|
| |
|
|
|
|
|
|
|
|
|
| |
From the specification:
The Enter, Tab and Backspace keys will not have release events
unless Report all keys as escape codes is also set, so that the
user can still type reset at a shell prompt when a program that
sets this mode ends without resetting it.
Closes #1892
|
| |
|
|
| |
Closes #1867
|
| |
|
|
|
|
|
| |
If a cell contains a NUL character, it was incorrectly treated as a
quote, later triggering an assertion.
Patch by Johannes Altmanninger
|
| |
|
|
| |
Closes #1887
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
When building foot with pgo under gentoo's portage, LLVM tried to
generate profile data files directly under system root, triggering
sandbox violation and causing build to fail. Setting this envvar fixes
the issue by explicitly specifying profiling data location.
Reference: https://clang.llvm.org/docs/UsersManual.html#profiling-with-instrumentation
|
| |
|
|
|
|
| |
Sway refuses to run if it detects an nvidia GPU on the system,
causing pgo build to fail. Adding --unsupported-gpu flag disables
this behaviour.
|
| |
|
|
| |
Closes #1874
|
| |
|
|
|
| |
This fixes a crash when doing a partial PGO build (where we don't have
any fonts available).
|
| |
|
|
|
|
|
|
|
|
| |
It appears to be slightly more up-to-date with recent Unicode
versions.
In particular, it handles the new "Symbols for Legacy Computing
Supplement" block, introduced in Unicode 16.
Closes #1865
|
| |
|
|
|
| |
OSC-9 sequences starting with "<number>;" are now ignored, as they are
ConEmu sequences, and not iTerm notifications.
|
| |
|
|
| |
Yup, there's no _actual_ changes 🤷
|
| | |
|
| |
|
|
| |
Closes #1866
|
| |
|
|
| |
These were introduced by #1496 but not fully documented then.
|
| | |
|
| |\ |
|
| | | |
|
| |/ |
|
| |
|
|
|
|
|
| |
Also, ignore invalid query/fragments (i.e. if the fragment comes
before the query).
Closes #1840
|
| |
|
|
| |
This reverts commit 54722369d8ca0c6b90c6d874b0f712e133cd4925.
|
| |
|
|
| |
These options allows you to configure the default sixel color palette.
|
| |
|
|
|
| |
The damage region(s) are translated to wl_surface_damage_buffer()
calls after the entire frame has been rendered.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes flickering when foot is forced to double-buffer (e.g when
running under KDE, or smithay based compositors).
Since the damage region isn't updated, the sixel images aren't
included in the memcpy that is done to transfer the last frame's
updated regions to the next frame.
As a result, every other frame will have the sixels, while the others
don't.
Closes #1851
|
| | |
|
| |
|
|
|
| |
Since the sixels may render some of the cells, we want the check to
happen before the sixels.
|
| |
|
|
| |
Closes #1715
|
| |
|
|
|
|
|
|
|
|
|
|
| |
When scanning the grid for all-dirty rows (that we can remove from the
damage region we're about to memcpy from the old frame), check the
row->dirty bit, and skip scanning the cells of that row altogether.
We're only looking for rows where all cells are dirty - those rows can
be removed from the region we copy from the old frame, since the
entire row will be re-rendered anyway.
If a row is clean, it *must* be copied from the old frame.
|
| | |
|
| | |
|