| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
Stop color picker tooltip from stealing input events
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Input events go to the tooltip because it's added to `popup_list` in
DisplayServer `popup_open`. I think there's no harm in tooltips being omitted
from the list, so this commit blocks non-popup windows from being added if they
have `FLAG_NO_FOCUS` and `FLAG_MOUSE_PASSTHROUGH`.
I'm not happy with this way of detecting tooltips. It'll also catch other
windows where this behavior may or may not be wanted.
I thought about adding `FLAG_TOOLTIP`, but went with the smaller change for
now.
Fixes #79500.
|
|\ \
| |/
|/|
| | |
Fix creating cursor image from `AtlasTexture`
|
| | |
|
|/ |
|
|\
| |
| |
| | |
Use `OS::delay_usec()` to avoid using deprecated `usleep()` on Linux
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
usleep(3) was declared obsolete in POSIX.1-2001 and removed in POSIX.1-2008.
nanosleep(2) was recommended to be used instead.
`OS::delay_usec()` internally uses `nanosleep()`.
This also uses large number separators for improved readability.
|
|\ \
| | |
| | |
| | | |
[DisplayServer] Add error messages and descriptions to callbacks.
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | | |
[macOS, X11] Fix duplicate close requests.
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | | |
Wayland: Implement `is_window_transparency_available`
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | |
| | | | |
Linux: Enable build config `wayland=yes use_sowrap=no`
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
-wayland-egl.h was missing if opengl3=yes (default)
Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
|
|/ / |
|
| |
| |
| |
| | |
enabled.
|
|\ \
| | |
| | |
| | | |
Properly set window class in Wayland
|
| | | |
|
|/ / |
|
|/ |
|
|
|
|
| |
but return zero screens.
|
|
|
|
|
| |
Alpine 3.17 and later no longer provide execinfo in its repositories,
making compilation impossible unless you pass `execinfo=no`.
|
|
|
|
| |
loop iterations
|
|
|
|
|
|
|
| |
* Replaces `find(...) != -1` with `contains` for `String`
* Replaces `find(...) == -1` with `!contains` for `String`
* Replaces `find(...) != -1` with `has` for containers
* Replaces `find(...) == -1` with `!has` for containers
|
| |
|
|\
| |
| |
| | |
Wayland: Workaround API limitation in screen/UI scale logic
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Mainly, this fixes auto UI scaling with _single-monitor_ fractional
setups (see the comment in `display_server_wayland.cpp` for more info).
This is the result of a bunch of current limitations, mainly the fact
that the UI scale is static (it's probed at startup) and the fact that
Wayland exposes fractional scales only at the window-level, by design.
The `screen_get_scale` special case should help in 99% of cases, while
the auto UI scale part will unfortunately only help with single-screen
situations, as multi-screen fractional scaling requires dynamic UI
scale changing.
|
|/
|
|
|
|
|
|
|
| |
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)
* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
|
|
|
|
|
| |
Everything was already there, we just had to wire it up in the display
server.
|
|
|
|
| |
Convenience for a number of cases operating on single values
|
|\
| |
| |
| | |
Fix unsafe uses of `Callable.is_null()`
|
| |
| |
| |
| |
| | |
`Callable.is_null()` is not equivalent to `!Callable.is_valid()` and
doesn't guarantee the call is valid.
|
|\ \
| | |
| | |
| | | |
SCons: Colorize warnings/errors during generation
|
| |/ |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously we pretty much hardcoded most of the globals we requested,
causing compatibility issues with certain compositors like Weston, which
support only some pretty old versions or miss some more advanced
protocols.
To put fuel on the fire, we also errored out when certain protocols
weren't available, despite us being able to boot a game just fine (but
obviously with a degraded featureset).
The solution is to simply allow all the way from version 1 to the
current latest, adding some compatibility code (such as for older
`wl_output`s or newer `wl_pointer`s).
While we're at it, this commit also fixes a few typos and naming inconsistencies
I found.
|
|
|
|
| |
deferred call.
|
|
|
|
|
| |
- Adapt GL make/release API to the current architecture.
- Fix DisplayServer being locked while dispatching input (prevent deadlocks).
|
|
|
|
| |
other platforms.
|
|
|
|
|
|
| |
The OS module get_unique_id and get_processor_name rely
on linux files which don't exist on a standard FreeBSD install,
make sysctl calls to get the required data.
|
|\
| |
| |
| | |
[Linux/Portal] Fix incorrect DBus connection usage.
|
| | |
|
|\ \
| | |
| | |
| | | |
[DisplayServer] Add separate feature flags for different native dialog types.
|
| |/ |
|
|\ \
| |/
|/|
| | |
[X11] Add more details to large icon size warning
|
| |
| |
| |
| | |
faster find it
|
|\ \
| | |
| | |
| | | |
Core: Implement a XOR operator for BitField
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | | |
[Wayland] Fix typo in input code
|
| | |/
| |/| |
|