[ui] streamline DeskHub toolbar layout and buttons

This commit is contained in:
dijunkun
2026-10-14 04:17:17 +08:00
parent b90359b08d
commit 2ac197c2de
5 changed files with 136 additions and 106 deletions
@@ -268,7 +268,7 @@ void X11ActivateGalleryWindow(Display* display) {
0, 256, False, XInternAtom(display, "UTF8_STRING", False),
&name_type, &name_format, &length, &remaining, &name);
const bool matches = name && name_format == 8 &&
std::string_view(reinterpret_cast<char*>(name), length).starts_with("CrossDesk · ");
std::string_view(reinterpret_cast<char*>(name), length).starts_with("CrossDesk ");
if (name) XFree(name);
if (!matches) continue;
XEvent event{};