aboutsummaryrefslogtreecommitdiff
path: root/platform/x11/os_x11.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Input: Remove usage of platform dependent event IDs.Andreas Haas2017-03-261-6/+1
| | | | | The ID property for InputEvents is set by `SceneTree` when sending the event down the tree. So there's no need for the platform specific code to set this value when it will later be overriden anyway...
* Fix typos in source code using codespellRémi Verschelde2017-03-241-3/+3
| | | | From https://github.com/lucasdemarchi/codespell
* X11: Don't reset mouse cursor theme.Andreas Haas2017-03-181-2/+1
| | | | | | On KDE (and possibly others) the "default" cursor theme is actually some system default, not the one you've set in the desktop setting. This was especially annoying when using a white cursor, as Godot would then reset back to a dark one. In my case it was also keeping the cursor from changing its shape.
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-692/+648
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Add API to access battery power stateJulian Murgia2017-03-041-0/+12
| | | | | | | | | | | | | | Done: - X11, server (tested) - Windows (developed, would be nice to retest) - OSX (not tested) Prepared (not developed): - Android (code is here, but may not compile) - iphone - winrt - bb10 - haiku - javascript
* Fix some compilation warnings.Shlomi Fish2017-02-211-1/+1
| | | | | | Redone the commit based on the input in https://github.com/godotengine/godot/pull/7851 . Not all warnings were fixed but it's a start.
* X11: Move audio driver finalize to the start of cleanupHein-Pieter van Braam2017-02-171-4/+4
| | | | | | | The audio driver cleanup needs to happen at the start of finish otherwise a race still seems to exist with the destruction of the audioserver. I think that destroying the X resoures before has something to do with it.
* X11: Finalize audiodrivers on exitHein-Pieter van Braam2017-02-171-1/+4
| | | | | | | The audiodrivers loaded by OS_X11 are not destroyed before the audioserver is. This causes a segfault on exit. The code is taken from os_windows.cpp which did have the cleanup code.
* Fix issues with set_window_resizable on x11marcelofg552017-01-301-9/+27
|
* Added focus tracking in X11 and Windows classes, added new confined mouse ↵Ilija Boshkov2017-01-251-19/+40
| | | | mode (#7162)
* WIP new AudioServer, with buses, effects, etc.Juan Linietsky2017-01-211-0/+1
|
* Style: Various fixes to play nice with clang-formatRémi Verschelde2017-01-161-9/+8
|
* Oops! Audio engine has vanished :DJuan Linietsky2017-01-151-31/+15
|
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-6/+8
| | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* rename Input.get_mouse_speed() to Input.get_last_mouse_speed()Juan Linietsky2017-01-131-2/+2
|
* Rename "joypad_linux" class to "JoypadLinux"Andreas Haas2017-01-081-1/+1
| | | | Named this class in GodotCase, so it fits with the rest of the codebase.
* renamed joystick to joypad everywhere around source code!Juan Linietsky2017-01-081-3/+3
|
* Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-071-1/+1
| | | | renamed to PoolVector
* Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-021-9/+12
|\ | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * Migrated from GLES to GLAD, fixes many issues.Juan Linietsky2016-11-221-1/+1
| |
| * Begining of GLES3 renderer:Juan Linietsky2016-10-031-8/+11
| | | | | | | | | | | | | | | | -Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
* | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| | | | | | | | | | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* | fix for crash when no ALSA or Pulse installed on linuxGustav Lund2016-12-121-0/+5
| |
* | Revert "X11: Fix maximized boot splash"Rémi Verschelde2016-11-231-21/+0
| | | | | | | | | | | | This reverts commit 8d3efe2b7de494c0971d4b7f7af6ed0dc2f4613c. It introduced crashes for some users when trying to capture the XConfigureNotify event.
* | X11: Fix maximized boot splashAndreas Haas2016-11-161-0/+21
| | | | | | | | | | | | | | | | | | When instructing the window manager to (un)maximize a window, the resulting resolution is recieved via an XEvent of type "ConfigureNotify". The problem here was that these events were only handled in the `OS_X11::process_xevents()` method, which is initially called on the first iteration of the main loop. Because of this, the VideoMode still hadn't been updated yet when doing the boot splash setup.
* | vsnc --> vsyncISylvox2016-11-081-1/+1
|/
* x11: Fix event.is_action() for release of modifier keysAndreas Haas2016-09-221-0/+13
| | | | | | | The bug was that the release events for these also had the modifier state set, so the event comparison failed. Fixes #5901
* x11: Use proper sonames for loading libXrandr.Andreas Haas2016-08-111-3/+3
|
* Merge pull request #5845 from hurikhan/x11_cleanupRémi Verschelde2016-07-221-149/+34
|\ | | | | Code cleanup in platform/x11
| * Code cleanup in platform/x11Mario Schlack2016-07-211-149/+34
| |
* | Implement OS.request_attention() for X11Mario Schlack2016-07-211-0/+20
|/
* line/col label was changing size with each cursor move, forcing the GUI to ↵Juan Linietsky2016-07-091-1/+0
| | | | | | | resize upwards and costing considerably CPU usage. It has been changed so it won't resize the UI when modified. This will make the code editor feel a lot smoother.
* Avoid crash if setting modifiers fails, closes #5158Juan Linietsky2016-07-081-1/+3
|
* Changes X11 res_name to "Godot_Engine"paper-pauper2016-06-251-1/+1
| | | Add additional/alternative WM_CLASS; only affects the game window, avoids redundancy and allows finer control in WMs (#5265)
* fix memset callsDennis Brakhane2016-06-191-3/+3
| | | | Order is "mem, val, count", not "mem, count, val"
* x11: fix XRandr GetMonitorsAndreas Haas2016-06-121-8/+25
|
* x11: Implemented dpi detectionAndreas Haas2016-06-091-0/+58
| | | | | | depends on XRandR. Had to dynamically load `XRRGetMonitors` as Ubuntu 12.04 doesn't have it. Also removed libudev from travis install list.
* vsync supportJuan Linietsky2016-06-051-0/+14
| | | | | | -works on windows -may not work on X11, if so please fix -OSX does not seem to support disabling vsync
* xdnd: can handle more than 3 different target typesAndreas Haas2016-05-291-22/+61
| | | | Now dropping also works with Nemo and PCManFM(gtk)
* x11: Add support for filesystem drag & drop using xdndAndreas Haas2016-05-281-0/+126
|
* x11: Flush the X output buffer after changing mouse modeIgnacio Etcheverry2016-04-121-0/+2
|
* remove trailing whitespaceHubert Jarosz2016-03-091-129/+129
|
* Merge pull request #3575 from Hinsbart/_net_wm_nameRémi Verschelde2016-02-041-0/+4
|\ | | | | x11: set _net_wm_name property
| * x11: set _net_wm_name propertyhondres2016-02-041-0/+4
| |
* | Merge pull request #3493 from Hinsbart/wm_classRémi Verschelde2016-02-031-0/+16
|\ \ | |/ |/| x11: use different strings for WM_CLASS depending on context
| * x11: use different strings for WM_CLASS depending on contexthondres2016-01-271-0/+16
| |
* | remove pc_joystick_map.hhondres2016-02-011-1/+0
|/
* Change default window size for desktopGeorge Marques2016-01-241-1/+1
| | | | Fix #3149
* Add some joystick functions to input. Enables manipulation of mappings at ↵hondres2016-01-081-0/+8
| | | | runtime
* fix x11 crash on exithondres2016-01-051-3/+3
|