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

Show orphan windows in Alt-Tab list #829

Closed
wants to merge 4 commits into from
Closed

Show orphan windows in Alt-Tab list #829

wants to merge 4 commits into from

Conversation

autarkper
Copy link
Contributor

This set of commits partly addresses #761 by making orphan windows show up in the Alt-Tab list. Since orphan windows do not have an "app", I use a standard icon, "application-default-icon".

Screen shot: http://imagebin.org/217767

@AlbertJP
Copy link
Contributor

The icon at "Convert Images" shown in the screenshot, is the one used when a program has no icon. Example: Google Earth

@bimsebasse
Copy link
Contributor

The icon you want is either "application-default-icon" or "gnome-settings-default-applications"

@autarkper
Copy link
Contributor Author

Thanks!
application-default-icon: http://imagebin.org/217767
gnome-settings-default-applications: http://imagebin.org/217768

I think I'll go for application-default-icon.

@autarkper
Copy link
Contributor Author

How do I get a "real" window from a meta window?

I'm looking at how to centralize the window-listing functionality into one function that could be called by Alt-Tab, Expo, Scale, Window List, and such like, but I've run into a snag: display.get_tab_list returns a list of MetaWindow, while Scale expects "real" windows (actors), and I can't find an obvious way to get the real window of a MetaWindow.

There is this function in muffin/src/meta, but it seems I can't call it, and I don't think I want an "xwindow" anyway:
Window meta_window_get_xwindow (MetaWindow *window);

It seems I'm looking for this function:
MetaWindowActor* meta_window_get_window_actor (MetaWindow *window);

Does anybody know?

@AlbertJP
Copy link
Contributor

Can't you use metaWindow.actor ?

@autarkper
Copy link
Contributor Author

That would have been great, but I think it's an encapsulated type that doesn't have attributes. metaWindow.actor is undefined.

@autarkper autarkper mentioned this pull request Jun 27, 2012
@autarkper
Copy link
Contributor Author

Obsoleted by #838.

@autarkper autarkper closed this Jun 27, 2012
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.

None yet

3 participants