Skip to content

[3.x] [X11] Fix initial window hints.#81153

Open
bruvzg wants to merge 1 commit intogodotengine:3.xfrom
bruvzg:x11_hints
Open

[3.x] [X11] Fix initial window hints.#81153
bruvzg wants to merge 1 commit intogodotengine:3.xfrom
bruvzg:x11_hints

Conversation

@bruvzg
Copy link
Copy Markdown
Member

@bruvzg bruvzg commented Aug 30, 2023

Fixes #81141

@bruvzg bruvzg added this to the 3.x milestone Aug 30, 2023
@akien-mga akien-mga changed the title [X11] Fix initial window hints. [3.x] [X11] Fix initial window hints. Aug 30, 2023
@akien-mga akien-mga modified the milestones: 3.x, 3.6 Aug 30, 2023
@bruvzg bruvzg marked this pull request as ready for review August 31, 2023 06:56
@bruvzg bruvzg requested review from a team as code owners August 31, 2023 06:56
Comment on lines +1418 to +1423
#ifdef TOOLS_ENABLED
String game_path;
String script;
String test;
String export_preset;
String positional_arg;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm surprised at this addition, we already had this behavior of figuring out whether running a game, script, or editor based on command line arguments in 3.x. Isn't this duplicating existing logic which was just refactored in 4.x to include the contexts?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is duplicating existing logic, but it's in the setup2 and original logic is in the start (too late to set context).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But it's only used for project manager detection, so can be removed.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So should we merge as is, or do you want to have a go at simplifying?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bruvzg bump as you may have missed akien's comment above.

I'm just looking through PRs for approval and this looks mostly fine, but we were awaiting whether you think this is ok to merge as is?

@lawnjelly lawnjelly modified the milestones: 3.6, 3.7 Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants