summaryrefslogtreecommitdiff
path: root/platform/x11/os_x11.cpp
AgeCommit message (Collapse)Author
2017-03-24Fix typos in source code using codespellRémi Verschelde
From https://github.com/lucasdemarchi/codespell
2017-03-18X11: Don't reset mouse cursor theme.Andreas Haas
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.
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
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
2017-03-04Add API to access battery power stateJulian Murgia
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
2017-02-21Fix some compilation warnings.Shlomi Fish
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.
2017-02-17X11: Move audio driver finalize to the start of cleanupHein-Pieter van Braam
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.
2017-02-17X11: Finalize audiodrivers on exitHein-Pieter van Braam
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.
2017-01-30Fix issues with set_window_resizable on x11marcelofg55
2017-01-25Added focus tracking in X11 and Windows classes, added new confined mouse ↵Ilija Boshkov
mode (#7162)
2017-01-21WIP new AudioServer, with buses, effects, etc.Juan Linietsky
2017-01-16Style: Various fixes to play nice with clang-formatRémi Verschelde
2017-01-15Oops! Audio engine has vanished :DJuan Linietsky
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
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.
2017-01-13rename Input.get_mouse_speed() to Input.get_last_mouse_speed()Juan Linietsky
2017-01-08Rename "joypad_linux" class to "JoypadLinux"Andreas Haas
Named this class in GodotCase, so it fits with the rest of the codebase.
2017-01-08renamed joystick to joypad everywhere around source code!Juan Linietsky
2017-01-07Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky
renamed to PoolVector
2017-01-02Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde
Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
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!
2016-12-12fix for crash when no ALSA or Pulse installed on linuxGustav Lund
2016-11-23Revert "X11: Fix maximized boot splash"Rémi Verschelde
This reverts commit 8d3efe2b7de494c0971d4b7f7af6ed0dc2f4613c. It introduced crashes for some users when trying to capture the XConfigureNotify event.
2016-11-22Migrated from GLES to GLAD, fixes many issues.Juan Linietsky
2016-11-16X11: Fix maximized boot splashAndreas Haas
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.
2016-11-08vsnc --> vsyncISylvox
2016-10-03Begining of GLES3 renderer:Juan Linietsky
-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
2016-09-22x11: Fix event.is_action() for release of modifier keysAndreas Haas
The bug was that the release events for these also had the modifier state set, so the event comparison failed. Fixes #5901
2016-08-11x11: Use proper sonames for loading libXrandr.Andreas Haas
2016-07-22Merge pull request #5845 from hurikhan/x11_cleanupRémi Verschelde
Code cleanup in platform/x11
2016-07-21Code cleanup in platform/x11Mario Schlack
2016-07-21Implement OS.request_attention() for X11Mario Schlack
2016-07-09line/col label was changing size with each cursor move, forcing the GUI to ↵Juan Linietsky
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.
2016-07-08Avoid crash if setting modifiers fails, closes #5158Juan Linietsky
2016-06-25Changes X11 res_name to "Godot_Engine"paper-pauper
Add additional/alternative WM_CLASS; only affects the game window, avoids redundancy and allows finer control in WMs (#5265)
2016-06-19fix memset callsDennis Brakhane
Order is "mem, val, count", not "mem, count, val"
2016-06-12x11: fix XRandr GetMonitorsAndreas Haas
2016-06-09x11: Implemented dpi detectionAndreas Haas
depends on XRandR. Had to dynamically load `XRRGetMonitors` as Ubuntu 12.04 doesn't have it. Also removed libudev from travis install list.
2016-06-05vsync supportJuan Linietsky
-works on windows -may not work on X11, if so please fix -OSX does not seem to support disabling vsync
2016-05-29xdnd: can handle more than 3 different target typesAndreas Haas
Now dropping also works with Nemo and PCManFM(gtk)
2016-05-28x11: Add support for filesystem drag & drop using xdndAndreas Haas
2016-04-12x11: Flush the X output buffer after changing mouse modeIgnacio Etcheverry
2016-03-09remove trailing whitespaceHubert Jarosz
2016-02-04Merge pull request #3575 from Hinsbart/_net_wm_nameRémi Verschelde
x11: set _net_wm_name property
2016-02-04x11: set _net_wm_name propertyhondres
2016-02-03Merge pull request #3493 from Hinsbart/wm_classRémi Verschelde
x11: use different strings for WM_CLASS depending on context
2016-02-01remove pc_joystick_map.hhondres
2016-01-27x11: use different strings for WM_CLASS depending on contexthondres
2016-01-24Change default window size for desktopGeorge Marques
Fix #3149
2016-01-08Add some joystick functions to input. Enables manipulation of mappings at ↵hondres
runtime
2016-01-05fix x11 crash on exithondres
2016-01-03having active items is pointless in input mapJuan Linietsky