Age | Commit message (Collapse) | Author |
|
- X11: set main window position and size hints correctly
- All platforms: update minimum and maximum size of main window at
startup
Fixes #70984
|
|
return focus.
|
|
|
|
Extend special popup window handling to any non-popup child of a popup.
|
|
|
|
|
|
Put KeyMappingX11 stuff inside its own scope
|
|
|
|
|
|
This avoids collisions with other "concurrent" key mappers.
|
|
[X11] Fix incorrect keycodes from non-QWERTY layouts.
|
|
|
|
|
|
[X11] Prevent IME activation from entering infinite loop.
|
|
|
|
Since Wayland uses it too, it only makes sense to have it in the parent
directory of both.
|
|
build dependencies.
|
|
- Unify keycode values (secondary label printed on a key), remove unused hardcoded Latin-1 codes.
- Unify IME behaviour, add inline composition string display on Windows and X11.
- Add key_label (localized label printed on a key) value to the key events, and allow mapping actions to the unshifted Unicode events.
- Add support for physical keyboard (Bluetooth or Sidecar) handling on iOS.
- Add support for media key handling on macOS.
Co-authored-by: Raul Santos <raulsntos@gmail.com>
|
|
And remove leftover duplicated message on Android.
|
|
|
|
`window_set_mouse_passthrough` to `Window`.
|
|
* All core types masks are now correctly marked as bitfields.
* The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks.
* Most bitmask operations replaced by functions in BitField<>
* Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is.
* Documentation and API dump updated to reflect bitfields in core types.
|
|
screen detection.
|
|
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
|
|
and positions.
|
|
Fix colorpicker slider bug with mouse-up outside of popup
|
|
|
|
Rename `window_get_real_size`, add position counterpart.
|
|
`window_get_position_with_decorations`.
|
|
and `WINDOW_MODE_FULLSCREEN` to improve multi-window handling.
|
|
When releasing the mouse button outside of the popup while dragging
a slider, the slider still gets adjusted by mouse-move events.
The reason for this bug is that the mouse-up event is sent to the
focused window (main editor window) instead of the colorpicker
popup window.
This PR adjusts the linuxbsd X11 DisplayServer to send the event to the
correct expected window.
|
|
Currently Input::get_singleton()->parse_input_event(mb); is
called twice for mouse-button-up events when dropping in a different
window on linuxbsd.
|
|
The loaders have been generated through hpvb's dynload-wrapper, although
they had to be heavily handpatched to workaround some already reported
issues with it. I added a note to each generated file to account for
that.
As GLAD uses X11 stuff directly, I had to define the GLAD_GLX_NO_X11
macro to not let do it that, and handle myself the display loading and
screen handling part myself, which wasn't that hard but it's still
something worth saying.
I plan to improve greatly the X11 backend (including this aspect) but,
as the release isn't that far and I'm also working on the Wayland
backend, this will do for now, I hope.
|
|
Fixes #68722.
Co-authored-by: alcomposer <alex.w.mitchell@gmail.com>
|
|
Add vsync to Windows platform
|
|
This is accomplished through the addition of a GLAD GLX loader in the
`thirdparty` directory.
This is another step towards a nice Wayland/X11 interoperation.
|
|
Add a nullptr-check, before accessing gl_manager
|
|
coauthor: @bruvzg
On linuxbsd and macOS the WINDOW_EVENT_MOUSE_ENTER was not sent,
when the mouse became visible again after a mouse_mode-change.
|
|
Fix static object destructors being called on gpu selection with X11
|
|
|
|
|
|
Do not strip spaces at the end of file names of dropped files
|
|
|
|
|
|
This allows implementing `DisplayServer`s like Wayland without making a
mess in the source tree.
|