xcbXorg: indentation

This commit is contained in:
2025-01-14 17:01:16 -04:00
parent a80db04dac
commit d31530e0bd
+7 -7
View File
@@ -34,9 +34,8 @@ struct XcbConnection
};
XcbConnection(const XConnectionIdentifier& id)
: connection(nullptr, &xcb_disconnect)
, connectionIdentifier(id)
, refCount(0)
: connection(nullptr, &xcb_disconnect),
connectionIdentifier(id), refCount(0)
{
// Convert to X display string format (e.g., ":0.1")
std::string displayString = ":" + std::to_string(id.display)
@@ -105,11 +104,12 @@ public:
std::string stringify() const
{
std::ostringstream os;
os << "Display: " << xconn.display
<< ", Screen: " << xconn.screen
<< ", Window: " << (useWindowId ?
std::to_string(window.id) :
"\"" + window.name + "\"");
<< ", Screen: " << xconn.screen
<< ", Window: " << (useWindowId
? std::to_string(window.id)
: "\"" + window.name + "\"");
return os.str();
}
};