xcbXorg: indentation
This commit is contained in:
@@ -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();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user