Commit a7fa0101 authored by David Edmundson's avatar David Edmundson
Browse files

[logout-greeter] Set window class name

This matches what kwin's effects have always been searching for. It only
used to appear to work as "ksmserver ksmserver" was checked in previous
versions.

BUG: 444898
BUG: 444899
parent 756d5c51
......@@ -79,8 +79,8 @@ KSMShutdownDlg::KSMShutdownDlg(QWindow *parent, KWorkSpace::ShutdownType sdtype)
strlen("logoutdialog"));
XClassHint classHint;
classHint.res_name = const_cast<char *>("ksmserver");
classHint.res_class = const_cast<char *>("ksmserver");
classHint.res_name = const_cast<char *>("ksmserver-logout-greeter");
classHint.res_class = const_cast<char *>("ksmserver-logout-greeter");
XSetClassHint(QX11Info::display(), winId(), &classHint);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment