aboutsummaryrefslogtreecommitdiff
path: root/platform/x11 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implement universal translation of touch to mousePedro J. Estébanez2018-04-302-0/+18
| | | | | | | | | | | | | | | | | | | Now generating mouse events from touch is optional (on by default) and it's performed by `InputDefault` instead of having each OS abstraction doing it. (*) The translation algorithm waits for a touch index to be pressed and tracks it translating its events to mouse events until it is raised, while ignoring other pointers. Furthermore, to avoid an stuck "touch mouse", since not all platforms may report touches raised when the window is unfocused, it checks if touches are still down by the time it's focused again and if so it resets the state of the emulated mouse. *: In the case of Windows, since it already provides touch-to-mouse translation by itself, "echo" mouse events are filtered out to have it working like the rest. On X11 a little hack has been needed to avoid a case of a spurious mouse motion event that is generated during touch interaction. Plus: Improve/fix tracking of current mouse position. ** Summary of changes to settings: ** - `display/window/handheld/emulate_touchscreen` becomes `input/pointing_devices/emulate_touch_from_mouse` - New setting: `input/pointing_devices/emulate_mouse_from_touch`
* Fix custom cursor when it's hiddenGuilherme Felipe2018-04-091-1/+1
| | | | | | | | | [Linux] Ensures that the custom cursor will be used when changing to MOUSE_MODE_VISIBLE. Fix #3086 [Windows] Fix cursor flickering when MOUSE_MODE_HIDDEN. [Mac] Fix possible cursor flicker when MOUSE_MODE_HIDDEN.
* Merge pull request #17742 from marcelofg55/audio_device_listJuan Linietsky2018-04-071-2/+2
|\ | | | | Added new audio device functions to set/get the audio device
| * Added new audio device functions to set/get the audio deviceMarcelo Fernandez2018-03-261-2/+2
| |
* | Remove size restriction for mouse cursorGuilherme Felipe2018-04-051-5/+5
|/
* Explicitly set OpenGL profile to core (X11, Windows).bruvzg2018-03-061-0/+1
| | | | Enable GLES2 on Windows.
* Clean and expose get_audio/video_driver_* funcs on OS classMarcelo Fernandez2018-03-042-39/+0
|
* Fix `--help` output, allow renderer override from command line ↵bruvzg2018-03-022-10/+15
| | | | (`--video-driver`).
* add GLES 2 renderer for 2Dkarroffel2018-03-014-21/+71
| | | | | | | | This commit adds a new rendering backend, GLES2, and adds a project setting to enable it. Currently this backend can only be used on the X11 platform, but integrating into other platforms is planned.
* Fix server build on FreeBSDFabio Alessandrelli2018-03-011-1/+2
|
* Fix various valgrind reported uninitialized variable usesHein-Pieter van Braam2018-02-281-4/+7
|
* Fix typos with codespellluz.paz2018-02-211-1/+1
| | | | | | | | | | | | | | Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
* Merge pull request #16675 from ↵Rémi Verschelde2018-02-191-18/+37
|\ | | | | | | | | Iskustvo/improved_error_detectioin_in_move-to-trash_for_Linux [X11] Improving error detection in move_to_trash
| * [X11] Improving error detection in move_to_trashIskustvo2018-02-181-18/+37
| |
* | Merge pull request #16696 from BTaskaya/masterRémi Verschelde2018-02-191-3/+3
|\ \ | | | | | | PEP3101 applied with changing old type string formatting as new ones
| * | PEP3101 applied with changing old type string formatting as new onesBTaskaya2018-02-141-3/+3
| | |
* | | Remove window decorations for fullscreen on X11Pedro J. Estébanez2018-02-161-0/+10
| |/ |/|
* | X11: Link libgcc statically with use_static_cpp optionRémi Verschelde2018-02-161-3/+3
|/ | | | | | | | | We were already linking libstdc++ statically for official binaries, protecting us against most portability issues. But apparently since we started using GCC 7 for official builds, we also need to link libgcc statically for at least 32-bit builds to be portable. Fixes #16409.
* Merge pull request #15564 from RandomShaper/adpod-topmostRémi Verschelde2018-02-142-3/+57
|\ | | | | Add new window setting: always on top
| * Add new window setting: always on topPedro J. Estébanez2018-01-052-3/+57
| | | | | | | | Implemented for Windows and Linux.
* | Merge pull request #15864 from GodotExplorer/pr-get_unique_id-desktop-implRémi Verschelde2018-02-142-0/+17
|\ \ | | | | | | Implement more methods for OS on Desktop platforms
| * | X11: implement OS.get_unique_idgeequlim2018-01-312-0/+17
| | |
* | | Allow building with system wide mbedtls on X11Fabio Alessandrelli2018-02-141-0/+4
| | | | | | | | | | | | | | | Using builtin_mbedtls=yes is still the default as many distributions do not ship with mbedtls included.
* | | Deleting OpenSSL module and libraryFabio Alessandrelli2018-02-141-4/+0
| | |
* | | Added OS::center_window to center the window precisely on desktop platformsMarcelo Fernandez2018-02-122-0/+21
| | |
* | | Fix inconsistencies and typos in argument namesPaolo Perkovic2018-02-011-1/+1
|/ /
* | Fix Copy/Paste problems on X11Hein-Pieter van Braam2018-01-291-11/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The target of the TARGETS type should be XA_ATOM and not XA_TARGETS when requested. Since we are sending a number of ATOMS the size should be set to the integer size and not the char size. The size field of the atoms is also the number of atoms and not the size of the array. This caused some clients to wrongly interpret the data and read garbage in the X11 packet. I also add the more modern representation for UTF-8 and clarify the error message if a client attempts to request a type we don't know about. This fixes #10431
* | Make separate debug symbols opt-inHein-Pieter van Braam2018-01-262-1/+2
| | | | | | | | | | | | | | This adds a separate_debug_symbols option to the x11, windows, and osx targets. This will default to adding normal debugging symbols to the artifacts and only splits them when separate_debug_symbols=yes on the Scons command line.
* | Bullet: allow unbundling only if > 2.87Rémi Verschelde2018-01-261-3/+3
| | | | | | | | | | Looks like we are using cutting edge methods which are not even if the current stable 2.87.
* | Silence verbose stderr info message on X11Rémi Verschelde2018-01-241-1/+1
| |
* | SCons: Allow unbundling bullet on Linux (only 2.87+)Rémi Verschelde2018-01-131-0/+10
|/
* SCons: Fix usage of LD when we meant LINKRémi Verschelde2018-01-051-1/+1
| | | | | | | Also made LINK and CXXFLAGS configurable as command line options. Note that LINK currently expects the *compiler* that will be used for linking and will call its configured linker behind the scenes (so g++, clang++, etc., not ld.gold). See #15364 for details.
* X11: Add missing return in OS_X11::initialize().Andreas Haas2018-01-051-0/+2
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-0512-0/+12
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Change OS::initialize signature to return Error (fix segfault on x11)Emmanuel Leblond2018-01-042-13/+16
|
* Merge pull request #15092 from ↵Rémi Verschelde2018-01-032-2/+50
|\ | | | | | | | | guilhermefelipecgs/fix_infinite_loop_on_splash_screen Fix infinite loop on splash screen on tiling windows managers
| * Fix infinite loop introduced by 6f3486c4 on tiling windows managersGuilherme Silva2017-12-272-2/+50
| |
* | Merge pull request #12814 from guilhermefelipecgs/add_hardware_custom_cursorRémi Verschelde2018-01-032-0/+43
|\ \ | | | | | | Custom hardware-accelerated mouse cursor
| * | Add implementation for custom hardware cursorGuilherme Silva2017-12-172-0/+43
| | |
* | | Update copyright statements to 2018Rémi Verschelde2018-01-0116-32/+32
| |/ |/| | | | | Happy new year to the wonderful Godot community!
* | -Removed OpenMP support, replaced by a custom class.Juan Linietsky2017-12-241-4/+0
| | | | | | | | -Disabled Opus, implementation is wrong.
* | x11: Fix maximized splash-boot screen bug.Enzo Nocera2017-12-241-0/+4
| | | | | | | | Fixes #14336
* | Do not require OpenMP for non-tools builds (export templates)Rémi Verschelde2017-12-221-1/+1
|/
* Add epic hack so vsync can be toggled in run-time from script. Fixes #14458.Juan Linietsky2017-12-162-5/+5
| | | | Call needs to be routed via visual server to reach the proper thread.
* Rename the debug symbol files to .debugsymbolsHein-Pieter van Braam2017-12-161-2/+2
| | | | Some users were confused by the '.debug' suffix for the symbols.
* Merge pull request #14597 from NathanWarden/linux_extensionsRémi Verschelde2017-12-161-1/+2
|\ | | | | Updated Linux template extensions to match architecture.
| * Updated Linux template extensions to match architecture.Nathan Warden2017-12-121-1/+2
| |
* | openmp: Simplify linking on X11, fixing clang buildRémi Verschelde2017-12-141-2/+1
| |
* | Fix type mismatch in OS::set_borderless_windowRémi Verschelde2017-12-142-2/+2
| | | | | | | | Closes #14663.
* | openmp: Don't try to link GCC's implementation on ClangRémi Verschelde2017-12-141-2/+3
| | | | | | | | | | Also disable openmp build on Travis, breaks on Trusty's Clang. Group deps more naturally.