-
-
Notifications
You must be signed in to change notification settings - Fork 21.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DisplayServer: Some fixes to X11, build system and Window class #37029
Conversation
f52f524
to
ca7e709
Compare
ca7e709
to
6d6dd8e
Compare
I make a new commit to make easier to review Done, please before merge, let me know, because I want to squash the commits to have a clean git history |
fdc57d3
to
7b5e978
Compare
Ready to merge as you requested on IRC @reduz Know bug:
Please take care from this: If you delete a window and an event was pending, MainWindow will receive it instead of the deleted window. Anyway I think this can be Ok because is Thread Safe, so I just remark to have a knowledge |
d55f5e8
to
4393360
Compare
@@ -63,68 +63,5 @@ def make_app_icon(target, source, env): | |||
g.write("};\n") | |||
g.write("#endif") | |||
|
|||
|
|||
def make_default_controller_mappings(target, source, env): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the reference if anyone wonders about this removal: this code was moved to core/input/
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to merge if @reduz approves.
Travis: Change x11 to linuxbsd scons: Change x11 plataform to linuxbsd scons: Delete make_default_controller_mappings from main_builder Plugins: Remove ; to avoid fallthrough warning DisplayServer: Fix some Window class issues and x11 resize to rect_changed DisplayServerX11: Implement set_icon DisplayServerX11: Fix X11 bug when a window was erased from windows map, all the changes from that erased windows are sending to the main window DisplayServerX11: Reorder create_window commands, and add flags parameter DisplayServerX11: Change every Size2 to Size2i and Rect2 to Rect2i where it belongs DisplayServerX11: Implement screen_get_usable_rect
4393360
to
a09f0e5
Compare
Updated from @reduz last changes Popups are working fine
|
Includes and Fix #37002
CI repaired (Mac is failing, I'm not going to fix that)
X11 now is compiling, working
(but with love), and no crashing your entire desktop guiKnown bugs:
Main Window size changed when you close a subwindowPopups are broken (reduz is working on this)When you open a dropdown menu it crash (with bad parameter at XCreateWindow)@reduz There are simple changes, if you want to merge, and continue working from this is welcome
There still have a work to do, just making this PR to sync our work