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

Set window properties on X11 #2586

Merged
merged 1 commit into from
Nov 29, 2018
Merged

Conversation

HebaruSan
Copy link
Member

@HebaruSan HebaruSan commented Nov 24, 2018

Problem

Currently a typical Linux desktop environment doesn't know CKAN's name; here is GNOME Shell labeling it as "Unknown" in the top bar and the dash:

image

image

Cause

X11 windows have properties, including name and class, which define the identity of a window. Mono doesn't set them.

Changes

Now if we're running on Linux, we set the X11 window properties for name and class to "CKAN", which will allow desktop environments to identify it properly:

image

image

Fixes #2567.

@HebaruSan HebaruSan added Enhancement New features or functionality GUI Issues affecting the interactive GUI Pull request Linux Issues specific for Linux Mono Issues specific for Mono labels Nov 24, 2018
@politas politas merged commit f437249 into KSP-CKAN:master Nov 29, 2018
politas added a commit that referenced this pull request Nov 29, 2018
@HebaruSan HebaruSan deleted the feature/WM_CLASS branch November 29, 2018 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New features or functionality GUI Issues affecting the interactive GUI Linux Issues specific for Linux Mono Issues specific for Mono
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants