Age | Commit message (Collapse) | Author |
|
Fixes #66413.
DisplayServerX11 tracks some internal state about whether the window is
fullscreen, minimized, maximized or none. This commit queries the
display server when the window changes, so that this internal state can
be correctly updated.
|
|
Fix MOUSE_MODE_CAPTURED not working correctly with popups
|
|
|
|
Replace AABB/Rect2/Rect2i has_no_* methods with has_* methods
|
|
|
|
Fixes a crash due to an Xlib error, as well as ensures that Godot
holds the correct size of the window after window modes have been
applied, before exiting the DisplayServerX11 constructor. This ensures
the bootsplash will be displayed with the correct dimensions.
Fixes #65320
|
|
Re-enable per-pixel transparency support on Linux, macOS, and Windows.
|
|
Fix dropped XEvents early in main window lifetime.
|
|
Vulkan and OpenGL rendering drivers).
|
|
- Use `org.freedesktop.appearance color-scheme` to support system dark mode.
|
|
The DisplayServerX11 constructor processes pending events shortly
after constructing the main window. However, it discards pending events
on the event queue that it is not interested in. This results in these
events never making it to the main events thread and as a result are
never processed. We need to save the events we don't handle in
DisplayServerX11 so that they can be resent for later handling by the
events thread.
|
|
Attempts to construct an X11 window in an initial state of
minimized/maximized would fail due to the window being unmapped.
We simply check for failed mode changes during an unmap and reapply
them if necessary.
|
|
Attempts to set a Godot window to fullscreen prior to the window being
mapped would silently fail. This commit uses
_window_fullscreen_check to test if a window had been set to fullscreen
while unmapped, and if so, resets it to fullscreen once the window has
been successfully mapped.
Fixes #54065
|
|
Fixes an issue where XSetInputFocus fails due to the window not
being viewable.
Fixes #62635
Fixes #60690
|
|
|
|
|
|
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind().
Changed all uses of it to Callable.bind()
|
|
|
|
Prevent unnecessary fullscreen toggle animation on macOS, when screen is not changed
Fix window position on Linux/X11
|
|
with Vulkan.
|
|
Add inversion/eraser-end property for tablet pens
|
|
InputEventMouseMotion event
|
|
Fixes #40007.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
|
|
|
|
* Intended to replace RBSet in most cases.
* Optimized for iteration speed
|
|
* Map is unnecessary and inefficient in almost every case.
* Replaced by the new HashMap.
* Renamed Map to RBMap and Set to RBSet for cases that still make sense
(order matters) but use is discouraged.
There were very few cases where replacing by HashMap was undesired because
keeping the key order was intended.
I tried to keep those (as RBMap) as much as possible, but might have missed
some. Review appreciated!
|
|
|
|
These typedefs don't save much typing compared to the full `Ref<Resource>`
and `Ref<RefCounted>`, yet they sometimes introduce confusion among
new contributors.
|
|
Didn't commit all the changes where it wants to initialize a struct
with `{}`. Should be reviewed in a separate PR.
Option `IgnoreArrays` enabled for now to be conservative, can be
disabled to see if it proposes more useful changes.
Also fixed manually a handful of other missing initializations / moved
some from constructors.
|
|
Windows.
Implement TextServer word break method.
|
|
|
|
|
|
|
|
|
|
|
|
deletions of the same list item.
|
|
|
|
|
|
|
|
|
|
Add window FLAG_POPUP and a platform specific routines to control popup auto-hiding and event forwarding.
|
|
Xinerama is not available.
|
|
Remove currently unused implementation of TextureBasisU, could be re-added
later on if needed and ported.
|
|
Using codespell 2.2-dev from current git.
Added `misc/scripts/codespell.sh` to make it easier to run it once in a
while and update the skip and ignore lists.
|
|
|
|
|
|
|
|
|
|
|
|
allow multi-window interface in full-screen.
[Windows] Add WINDOW_MODE_EXCLUSIVE_FULLSCREEN without WS_BORDER flag enabled (no multi-window support).
|