Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Use `Vector*` component-wise `min/max/clamp` functions where applicable | A Thousand Ships | 2024-03-20 | 1 | -6/+3 | |
|/ | ||||||
* | Merge pull request #86101 from GrammAcc/partial-fix-68305 | Rémi Verschelde | 2024-03-11 | 1 | -13/+0 | |
|\ | | | | | | | [X11] Partial fix for Editor and Project Manager stealing focus on some window managers | |||||
| * | [X11] Partial Fix Godot Editor and Project Manager steals focus on a window ↵ | Dalton Lang | 2024-02-05 | 1 | -13/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | manager on Linux This is a workaround for the most critical portion of the WM focus bug described in #68305. On some specific X11 WM configurations, the editor's main window and any popups it creates will fight for focus, which causes a total system lockup due to mouse and keyboard input being stolen as well. Getting out of this infinite loop requires force restarting the system. It can be tested with the following shell script: ```bash !#/bin/sh godot4 & sleep 30 pkill -x godot4 ``` The workaround identified in #68305 is to remove the call to XSetInputFocus in the ConfigureNotify event handler, so I have removed the conditional block that calls this as well as the setup code above it since there is no need to allocate the memory for the variables if they won't be used in that call anymore. This is just a hack and is not a complete fix for #68305. Multiple developers are collaborating on a proper fix in the discussion in that issue, but time is a valuable resource that no one has enough of, so I am committing this workaround as a stop-gap to prevent the most critical problem while we work on a full solution for the underlying cause. | |||||
* | | Move `global_menu_*` methods to a separate `NativeMenu` class. | bruvzg | 2024-03-04 | 1 | -0/+12 | |
| | | ||||||
* | | Improve cursor_set_custom_image() method | kobewi | 2024-02-28 | 1 | -35/+5 | |
| | | ||||||
* | | Add method to get "base" system UI color (macOS/Windows) and system theme ↵ | bruvzg | 2024-02-13 | 1 | -0/+4 | |
| | | | | | | | | change callback. | |||||
* | | Finish splitting functionality of the Vulkan and D3D12 backends into ↵ | Dario | 2024-02-12 | 1 | -29/+44 | |
| | | | | | | | | RenderingDeviceDriver. | |||||
* | | Merge pull request #82800 from Sauermann/fix-screen-mousemotion | Rémi Verschelde | 2024-02-09 | 1 | -0/+3 | |
|\ \ | | | | | | | | | | Add screen-related attributes to mouse input events | |||||
| * | | Add screen-related attributes to mouse input events | Markus Sauermann | 2024-02-05 | 1 | -0/+3 | |
| |/ | ||||||
* | | Merge pull request #86843 from RandomShaper/fix_null_ptr | Rémi Verschelde | 2024-02-07 | 1 | -1/+2 | |
|\ \ | |/ |/| | | | Avoid several null-dereferences of ApiContextRD | |||||
| * | Avoid several null-dereferences of ApiContextRD | Pedro J. Estébanez | 2024-02-06 | 1 | -1/+2 | |
| | | ||||||
* | | Merge pull request #80231 from romlok/input-key-location | Rémi Verschelde | 2024-01-29 | 1 | -0/+8 | |
|\ \ | | | | | | | | | | Support detecting and mapping ctrl/alt/shift/meta by their left/right physical location | |||||
| * | | Add InputEventKey.location to tell left from right | Mel Collins | 2024-01-26 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a new enum `KeyLocation` and associated property `InputEventKey.location`, which indicates the left/right location of key events which may come from one of two physical keys, eg. Shift, Ctrl. It also adds simulation of missing Shift KEYUP events for Windows. When multiple Shifts are held down at the same time, Windows natively only sends a KEYUP for the last one to be released. | |||||
* | | | [Native File Dialog] Add support for adding custom options to the dialogs. | bruvzg | 2024-01-24 | 1 | -1/+12 | |
|/ / | | | | | | | Add support for adding custom options (checkboxes and optionboxes) to the dialogs (both native and built-in). | |||||
* | | [X11] Don't re-set input focus if the given window already has it | David Snopek | 2024-01-18 | 1 | -5/+17 | |
| | | ||||||
* | | Merge pull request #86441 from dsnopek/mequam-x11-focus-grab | Rémi Verschelde | 2024-01-18 | 1 | -4/+20 | |
|\ \ | | | | | | | | | | [X11] Fix Godot stealing focus on alternative window managers | |||||
| * | | [X11] Fix Godot stealing focus on alternative Window Managers | mequam | 2024-01-09 | 1 | -4/+20 | |
| |/ | ||||||
* | | Merge pull request #86446 from reduz/transient-to-focused | Rémi Verschelde | 2024-01-15 | 1 | -0/+5 | |
|\ \ | | | | | | | | | | Implement a `transient_to_focused` Window mode | |||||
| * | | Implement a transient_to_focused mode | Juan Linietsky | 2024-01-14 | 1 | -0/+5 | |
| |/ | | | | | | | | | | | | | This intends to be the correct way to handle non-child windows becoming covered by the current window when becoming focused. Enabling this property on select windows, they will become transient to the currently focused one when becoming visible. This deprecates the "unparent_when_invisible" function introduced by #76025. | |||||
* / | Update deferred calls to use Callables | kobewi | 2024-01-09 | 1 | -1/+1 | |
|/ | ||||||
* | Merge pull request #83452 from RandomShaper/rd_common | Yuri Sizov | 2023-12-20 | 1 | -40/+55 | |
|\ | | | | | Split `RenderingDevice` into API-agnostic and `RenderingDeviceDriver` parts | |||||
| * | Split RenderingDevice into API-agnostic and RenderingDeviceDriver parts | Pedro J. Estébanez | 2023-12-20 | 1 | -40/+55 | |
| | | | | | | | | | | | | Credit and thanks to @bruzvg for multiple build fixes, update of 3rd-party items and MinGW support. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com> | |||||
* | | Merge pull request #75489 from bruvzg/init_pos_usable | Yuri Sizov | 2023-12-19 | 1 | -1/+2 | |
|\ \ | |/ |/| | | | [DisplayServer] Use screen "usable rect" instead of full rect to calculate initial window rect. | |||||
| * | [DisplayServer] Use screen "usable rect" instead of full rect to calculate ↵ | bruvzg | 2023-12-04 | 1 | -1/+2 | |
| | | | | | | | | initial window rect. | |||||
* | | X11: Send IME update notification deferred | HolonProduction | 2023-11-24 | 1 | -1/+1 | |
|/ | ||||||
* | [X11] Add fallback from desktop GL to GLES, suppress PRIME detector error spam. | bruvzg | 2023-11-06 | 1 | -13/+16 | |
| | ||||||
* | Fix freeze when requesting clipboard image from our own window | Setadokalo | 2023-10-25 | 1 | -2/+2 | |
| | ||||||
* | Improved X11 screen_get_refresh_rate performance | Brayden Harlon | 2023-10-24 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #81439 from Setadokalo/clipboard_image | Rémi Verschelde | 2023-10-20 | 1 | -2/+223 | |
|\ | | | | | | | Implement `clipboard_get`/`has_image` for X11 | |||||
| * | Implement clipboard_get/has_image for X11 | Setadokalo | 2023-10-20 | 1 | -2/+223 | |
| | | ||||||
* | | Fix unused variables warning when `touch` is disabled | Kacper Gibas | 2023-10-13 | 1 | -3/+7 | |
| | | ||||||
* | | Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable | A Thousand Ships | 2023-10-08 | 1 | -1/+1 | |
| | | ||||||
* | | Add vararg call() method to C++ Callable | kobewi | 2023-10-05 | 1 | -27/+8 | |
| | | ||||||
* | | [X11] Add support for using EGL/GLES instead of GLX. | bruvzg | 2023-10-04 | 1 | -8/+72 | |
| | | ||||||
* | | Merge pull request #80952 from bruvzg/nfdlg_refocus | Rémi Verschelde | 2023-10-03 | 1 | -2/+2 | |
|\ \ | | | | | | | | | | [Native File Dialogs] Refocus last focused window on close. | |||||
| * | | [Native File Dialogs] Refocus last focused window on close. | bruvzg | 2023-08-24 | 1 | -2/+2 | |
| |/ | ||||||
* | | [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add ↵ | bruvzg | 2023-09-21 | 1 | -1/+1 | |
| | | | | | | | | | | | | EGL_ANDROID_blob_cache caching. Co-authored-by: Riteo <riteo@posteo.net> | |||||
* | | [Drivers,Platform] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable | A Thousand Ships | 2023-09-12 | 1 | -8/+8 | |
|/ | ||||||
* | Merge pull request #80104 from bruvzg/freedesktop_native_file_dialog | Rémi Verschelde | 2023-08-17 | 1 | -0/+14 | |
|\ | | | | | | | [Linux/Freedesktop] Implement native file selection dialog support. | |||||
| * | [Linux/Freedesktop] Implement native file selection dialog support. | bruvzg | 2023-08-17 | 1 | -0/+14 | |
| | | ||||||
* | | Merge pull request #80036 from PorkrollPosadist/fix-wayland-window-behavior | Rémi Verschelde | 2023-08-17 | 1 | -12/+14 | |
|\ \ | |/ |/| | | | Use EWMH for `DisplayServerX11::_window_minimize_check()` implementation | |||||
| * | Use EWMH for DisplayServerX11::_window_minimize_check() implementation | PorkrollPosadist | 2023-07-31 | 1 | -12/+14 | |
| | | ||||||
* | | Merge pull request #80279 from Sauermann/fix-x11-mouse-window-event-crash | Rémi Verschelde | 2023-08-10 | 1 | -3/+17 | |
|\ \ | | | | | | | | | | Track hovered `Window` in `DisplayServerX11` | |||||
| * | | Track hovered `Window` in `DisplayServerX11` | Markus Sauermann | 2023-08-09 | 1 | -3/+17 | |
| | | | | | | | | | | | | Send mouse-entered/exited window-events only when necessary | |||||
* | | | Merge pull request #80240 from bruvzg/x11_ext_checks | Rémi Verschelde | 2023-08-07 | 1 | -24/+19 | |
|\ \ \ | | | | | | | | | | | | | [X11] Do not fail DisplayServer init if non-essential extensions are missing. | |||||
| * | | | [X11] Do not fail DisplayServer init if non-essential extensions are missing. | bruvzg | 2023-08-04 | 1 | -24/+19 | |
| |/ / | ||||||
* / / | Fix native popups auto-closing when interacting with non-client area. | bruvzg | 2023-08-07 | 1 | -1/+1 | |
|/ / | ||||||
* / | Fix crash on Windows when closing `Window` | Markus Sauermann | 2023-08-02 | 1 | -0/+6 | |
|/ | | | | | | | Send `WINDOW_EVENT_MOUSE_EXIT` when a window is destroyed. Ensure, that on Windows, the event_callback is still valid during destroying the `Window`. | |||||
* | Extract and reorganize texture resource classes | Hendrik Brucker | 2023-07-14 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #77993 from bruvzg/key_lbl_from_p | Yuri Sizov | 2023-07-12 | 1 | -0/+24 | |
|\ | | | | | | | Implement DisplayServer.keyboard_get_label_from_physical method. |