Age | Commit message (Collapse) | Author |
|
|
|
X11 - Adding borders back to a borderless window was not working.
|
|
Rename user facing methods and variables as well as the corresponding
C++ methods according to the folloming changes:
* pos -> position
* rot -> rotation
* loc -> location
C++ variables are left as is.
|
|
Fix crash when no audio driver is available
|
|
Fix enums bindings
|
|
|
|
Add missed bindings for enums
Move some enums to class to have correct output of api.json
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Added/Fixed null pointer checks
|
|
|
|
|
|
p_screen param from get_screen_* funcs now default to the current screen
|
|
|
|
|
|
Setting the class hint before mapping the window will allow some
window managers to determine if a window should be treated specially.
This is also in accordance with the ICCCM spec which says that
WM_CLASS should only be changed when a window is in a
withdrawn (unmapped) state.
Fixes #10429
|
|
|
|
dereference.
|
|
Fixes #2491.
Fixes #9787.
|
|
-Added system for feature overrides, it's pretty cool :)
|
|
|
|
Abstruct set_ime_position to OS class.
Update ime position for LineEdit and TextEdit.
|
|
|
|
|
|
Request detectable auto-repeat (Require XKB extension) to support
echo events and IME at the same time. Fixes #29, #7106 and #9381.
|
|
|
|
Workaround for supporting input method frameworks like SCIM,
IBus, Fcitx, etc.
The locale is set when the application starts.
Workaround for input when the input context within the specified
input method is not available.
|
|
-Restored resource previews!
|
|
Make the naming consistent with other classes.
|
|
Failing to get the cursor theme should not cause any issues since we're then using the default one anyway.
So I removed the warning and made it a verbose-only print instead, as people tend to mistake it for a real error..
(pretty much like `iCCP: known incorrect sRGB profile` :P)
|
|
this might cause bugs I haven't found yet..
|
|
|
|
Control set_pos -> set_position
Control set_global_pos -> set_global_position
[gs]et_mouse_pos -> [gs]et_mouse_position
[gs]et_global_mouse_pos -> [gs]et_global_mouse_position
fixes #8005
|
|
|
|
|
|
- X11 update input->pos on EnterNotify
- X11 & Win call first-time events processing before main initialization
|
|
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...
|
|
From https://github.com/lucasdemarchi/codespell
|
|
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.
|
|
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
|
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
|
|
mode (#7162)
|