Skip to content
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

Dock: Display minimized windows. Unminimize if clicked. #345

Open
mszoek opened this issue Aug 26, 2022 · 4 comments
Open

Dock: Display minimized windows. Unminimize if clicked. #345

mszoek opened this issue Aug 26, 2022 · 4 comments
Labels
Dock Something to do with Dock.app GUI WindowServer, SystemUIServer, LoginWindow, etc hacktoberfest
Projects

Comments

@mszoek
Copy link
Collaborator

mszoek commented Aug 26, 2022

No description provided.

@mszoek mszoek created this issue from a note in Dock.app (In progress) Aug 26, 2022
@mszoek mszoek added GUI WindowServer, SystemUIServer, LoginWindow, etc Dock Something to do with Dock.app labels Aug 26, 2022
@ivedantmistry
Copy link

Hello @mszoek can u explain i detail the problem

@mszoek
Copy link
Collaborator Author

mszoek commented Oct 1, 2022

Yes! Sorry, I converted these issues from notes in my project board so they are pretty sparse! This one is a to-do item for implementing a behavior in Dock. When an open window is minimized, Dock should display an icon for it, and un-minimize/restore that window if the icon is clicked.

The code that does the actual display and badging of the minimized window icon is there today. The missing piece is to hook into WindowServer and catch minimize/restore events to drive this. You would call this on a minimize event:

+dockItemWithMinimizedWindow:(unsigned int)window forApp:(DockItem *)appItem {
return [[DockItem alloc] initWithMinimizedWindow:window forApp:appItem];
}

and if a window is restored externally from Dock, it should also catch that event and remove the minmized window icon for it.

Is that enough explanation?

@ivedantmistry
Copy link

out of enthusiasm i commented on your issue, actually i'm totally newbie in this ,i can do so if you give me time and other info to do so
thank you and sorry mate

@mszoek
Copy link
Collaborator Author

mszoek commented Oct 1, 2022

Sure, go wild. I like enthusiasm :) I probably won't get to doing this myself for a while since I'm working on another area right now, so please feel free to try doing it if you want to!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dock Something to do with Dock.app GUI WindowServer, SystemUIServer, LoginWindow, etc hacktoberfest
Projects
No open projects
Dock.app
In progress
Development

No branches or pull requests

2 participants