Skip to content

DesktopIntegration: new method to close window used by dock#2202

Open
moises2657 wants to merge 6 commits into
elementary:mainfrom
moises2657:mmagos/close-window
Open

DesktopIntegration: new method to close window used by dock#2202
moises2657 wants to merge 6 commits into
elementary:mainfrom
moises2657:mmagos/close-window

Conversation

@moises2657

Copy link
Copy Markdown

Implementation of close_window method on Gala.DesktopIntegration to solve the issue: elementary/dock#278
elementary/dock#344

@leolost2605 leolost2605 left a comment

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.

Hey, thanks for this!
The code looks good only some stylistic nits :)
Most notably you have a lot of empty new lines here which usually only should be used to separate unrelated code, so I think you can remove most of them. Also the linter will probably throw some errors, you can check the workflow for the exact lines and what's wrong there.

Comment thread src/DesktopIntegration.vala Outdated
@moises2657 moises2657 requested a review from leolost2605 January 2, 2025 17:41
@teamcons

teamcons commented Jan 3, 2025

Copy link
Copy Markdown

elementary/dock#278 is about closing an app in background, not just windows, though

Comment thread src/DesktopIntegration.vala

@lenemter lenemter left a comment

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.

Looks good to me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants