summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/x11
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@cb411fa960f0b7fdbd97dcdb4c90f9346360ee0eSpartan3222024-11-1214-1748/+1708
|\
| * Regenerate X11 wrappersHein-Pieter van Braam2024-11-0914-1748/+1708
| | | | | | | | | | | | | | Version 0.6 of https://github.com/hpvb/dynload-wrapper/ now supports all of the features we need to generate the wrappers without editing them. This replaces the hand-patched wrappers with "clean" generated ones.
* | Merge commit godotengine/godot@c6c464cf9ae56e8b68620af65125dd980d0e8122Spartan3222024-11-021-0/+1
|\|
| * [DisplayServer] Add feature flag for native file dialog access to `user/res` ↵Anish Mishra2024-10-301-0/+1
| | | | | | | | and `options`
* | Merge commit godotengine/godot@8004c7524fb9f43425c4d6f614410a76678e0f7cSpartan3222024-10-301-1/+4
|\|
| * Fix fallbacks to OpenGLSummersay4152024-10-281-1/+4
| |
* | Merge pull request #818 from Spartan322/fixup/copyright-headersGeorge L. Albany2024-10-2712-24/+24
|\ \ | | | | | | Fix copyright headers referring to Godot
| * | Fix copyright headers referring to GodotSpartan3222024-10-2712-24/+24
| | |
* | | Merge commit godotengine/godot@61accf060515416da07d913580419fd8c8490f7bSpartan3222024-10-261-0/+12
|\ \ \ | |/ / |/| / | |/
| * Merge pull request #97771 from dsnopek/openxr-linux-eglThaddeus Crews2024-10-251-0/+12
| |\ | | | | | | | | | OpenXR: Add support for Wayland on Linux
| | * OpenXR: Add support for Wayland on LinuxDavid Snopek2024-10-041-0/+12
| | |
* | | Rebrand preambles to RedotDubhghlas McLaughlin2024-10-1112-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* | | Rebrand Godot to RedotRandolph W. Aarseth II2024-10-111-7/+7
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Linux Editor tests workflow matrix Add Windows Editor w/ Mono workflow matrix Add Generate Glue Code job to Windows workflow Add Build GodotSharp job to Windows workflow Add godot compatibility version references Add Godot author info Add Godot version compatibility info Add Godot donor info Add Godot authors and donors to editor_about.cpp Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* / Fix window_set_current_screen for maximized windows.bruvzg2024-10-031-1/+1
|/
* Move Vulkan includes to a central godot_vulkan.h headerGergely Kis2024-09-291-5/+1
| | | | Also fixes Vulkan build problem with recent Clang.
* Merge pull request #93058 from Repiteo/scons/scons_hintsRémi Verschelde2024-09-261-0/+1
|\ | | | | | | SCons: Add unobtrusive type hints in SCons files
| * SCons: Add unobtrusive type hints in SCons filesThaddeus Crews2024-09-251-0/+1
| |
* | Fix renaming nodes on X11David Snopek2024-09-251-7/+3
|/
* Merge pull request #97142 from SheepYhangCN/masterRémi Verschelde2024-09-201-12/+20
|\ | | | | | | Fallback to OpenGL 3 if other rendering drivers are not supported
| * Added fallback_to_opengl3SheepYhangCN2024-09-201-12/+20
| |
* | Style: Apply new `clang-format` changesThaddeus Crews2024-09-201-2/+2
|/
* Fix project manager stealing focus on i3David Snopek2024-09-161-1/+5
|
* Enable Drag and Drop for SubViewports and WindowsMarkus Sauermann2024-09-151-6/+6
| | | | | | | | | | | | | | | Make Drag and Drop an application-wide operation. This allows do drop on Controls in other Viewports/Windows. In order to achieve this, `Viewport::_update_mouse_over` is adjusted to remember the Control, that the mouse is over (possibly within nested viewports). This Control is used as a basis for the Drop-operation, which replaces the previous algorithm, which was only aware of the topmost Viewport. Also now all nodes in the SceneTree are notified about the Drag and Drop operation, with the exception of SubViewports that are not children of SubViewportContainers.
* Merge pull request #91780 from Riteo/falling-with-styleRémi Verschelde2024-09-041-30/+45
|\ | | | | | | Improve UX when falling back between Display Servers
| * X11: Alert only when video drivers fail initializationRiteo2024-08-211-30/+45
| | | | | | | | | | | | | | | | | | Before, they would always complain even if there was no attempt at initializing them (e.g. because there's no X11 display). While we're at it, this patch also adds a specific message for OpenGL ES and rewords "OpenGLES" to "OpenGL ES" in an error, for consistency (AFAIK we either say "GLES" or "OpenGL ES").
* | Update rendering driver name on fallbacks. Fix rendering driver/method in ↵bruvzg2024-09-011-0/+1
| | | | | | | | the editor system info.
* | Add debug utilities for VulkanMatias N. Goldberg2024-08-211-1/+1
|/ | | | | | | | | | | | | | | | | | | | | Features: - Debug-only tracking of objects by type. See get_driver_allocs_by_object_type et al. - Debug-only Breadcrumb info for debugging GPU crashes and device lost - Performance report per frame from get_perf_report - Some VMA calls had to be modified in order to insert the necessary memory callbacks Functionality marked as "debug-only" is only available in debug or dev builds. Misc fixes: - Early break optimization in RenderingDevice::uniform_set_create ============================ The work was performed by collaboration of TheForge and Google. I am merely splitting it up into smaller PRs and cleaning it up.
* [X11] Use motion event button state instead of async state.bruvzg2024-08-011-2/+19
|
* Remove unneeded call in DisplayServerX11 alvinhochun2024-07-251-1/+0
| | | | | X11 does not need setting exclusive flag (it is not implemented). Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
* Pass window exclusive and transient properties for subwindow creationAlvin Wong2024-07-252-2/+8
| | | | | | On Windows this allows to avoid having to change the owner of the window after it has been created, which in rare circumstances may cause the window to bug out.
* Linux/X11: Fix memory leak from created screen imagesRonald Casili2024-07-181-4/+5
| | | | | | | | | Allocated XImages are improperly free'd with XFree. The X11 documentation says that XImage should use XDestroyImage to free both the image structure and the data pointed to by the image structure. Also fix a potential use-after-free bug.
* X11: Fix creating RenderingDevice after #93706Rémi Verschelde2024-06-291-0/+1
| | | | The line was removed by mistake.
* Improve handling of rendering startup errorsPedro J. Estébanez2024-06-281-2/+8
|
* Fix text editor stealing focus from "Find in Files" dialog on X11David Snopek2024-06-271-1/+1
|
* Tweak warning messages related to V-Sync on OpenGLHugo Locurcio2024-06-161-1/+1
| | | | | | - Make warnings print only once per session. - Tweak the message to be less confusing, and mention that the issue most likely stems from a graphics driver limitation.
* [X11] Detect XWayland and disable screen capture support.bruvzg2024-06-122-3/+29
|
* Merge pull request #92843 from anniryynanen/tooltip-in-popupRémi Verschelde2024-06-101-1/+4
|\ | | | | | | Stop color picker tooltip from stealing input events
| * Stop color picker tooltip from stealing input eventsAnni Ryynänen2024-06-061-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #92702 from kleonc/cursor_image_from_atlas_texture_fixRémi Verschelde2024-06-071-9/+3
|\ \ | |/ |/| | | Fix creating cursor image from `AtlasTexture`
| * Fix creating cursor image from AtlasTexturekleonc2024-06-051-9/+3
| |
* | Use current mouse button state instead of saved values.bruvzg2024-05-312-16/+37
|/
* Merge pull request #92208 from Calinou/linuxbsd-use-nanosleepRémi Verschelde2024-05-301-2/+2
|\ | | | | | | Use `OS::delay_usec()` to avoid using deprecated `usleep()` on Linux
| * Use `OS::delay_usec()` to avoid using deprecated `usleep()` on LinuxHugo Locurcio2024-05-211-2/+2
| | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #89033 from bruvzg/doc_end_errRémi Verschelde2024-05-281-1/+8
|\ \ | | | | | | | | | [DisplayServer] Add error messages and descriptions to callbacks.
| * | [DisplayServer] Add error messages and descriptions to callbacks.bruvzg2024-05-281-1/+8
| | |
* | | [macOS, X11] Fix duplicate close requests.bruvzg2024-05-281-1/+4
|/ /
* | Fix build with `vuklan=no` and `d3d12=no` after #91505.bruvzg2024-05-251-1/+2
| |
* | [DisplayServer] Add method to check if window transparency is supported and ↵bruvzg2024-05-232-0/+18
| | | | | | | | enabled.
* | Properly set window class in WaylandPaulo Poiati2024-05-222-5/+6
|/
* [X11] Fallback to root window size, when Xinerama extension is available, ↵bruvzg2024-05-141-27/+40
| | | | but return zero screens.