aboutsummaryrefslogtreecommitdiff
path: root/platform/x11
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #19718 from thduynguyen/bug_fixesRémi Verschelde2018-06-251-1/+11
|\ | | | | bugfix: correct #ifdef for TOUCH_ENABLED and OPENGL_ENABLED
| * bugfix: correct #ifdef for TOUCH_ENABLED and OPENGL_ENABLEDDuy-Nguyen Ta2018-06-221-1/+11
| |
* | IME context detection.Saracen2018-06-112-1/+26
|/
* Tweak some help texts in the build systemHugo Locurcio2018-06-071-2/+2
| | | | | This also removes `unix_global_settings_path` from SConstruct since it is no longer used.
* SCons: Allow unbundling libwebsockets and miniupnpcRémi Verschelde2018-06-071-12/+18
|
* Change position of validation in set_custom_mouse_cursorGuilherme Felipe2018-05-281-1/+2
|
* Merge pull request #19210 from guilhermefelipecgs/fix_invalid_imageMax Hilbrunner2018-05-281-0/+1
|\ | | | | Add validation in set_custom_mouse_cursor
| * Add validation in set_custom_mouse_cursorGuilherme Felipe2018-05-271-0/+1
| | | | | | | | Check if the image is valid.
* | Fix memory leak in set_custom_mouse_cursorGuilherme Felipe2018-05-261-1/+4
|/
* More fixes to set_borderless_windowGuilherme Felipe2018-05-231-0/+3
| | | | | | [x11] Preserve window size when calling this method. [osx] Make sure it don't make the window resizable if it's not needed. [windows] clean up the code.
* Fix #19033Guilherme Felipe2018-05-201-1/+1
| | | | | | | - Fix a bug when mouse is confined don't update the cursor shape. - Don't let the mouse leave the window when resizing to a smaller resolution when MOUSE_MODE_CONFINED. - Fix set_borderless_window to preserve the actual video_mode.widht/height.
* Reset the cursor with Input.set_custom_mouse_cursor(null)Guilherme Felipe2018-05-101-0/+8
|
* Add support for atlas texture on set_custom_mouse_cursorGuilherme Felipe2018-05-091-6/+36
|
* Merge pull request #14622 from bruvzg/non-rectangular-windowsHein-Pieter van Braam2018-05-085-19/+106
|\ | | | | Experimental support for windows with per-pixel transparency.
| * Experimental support for windows with per-pixel transparency (macOS, X11 and ↵bruvzg2018-04-075-19/+106
| | | | | | | | Windows).
* | 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
|