xcbXorg: indentation
This commit is contained in:
@@ -34,9 +34,8 @@ struct XcbConnection
|
|||||||
};
|
};
|
||||||
|
|
||||||
XcbConnection(const XConnectionIdentifier& id)
|
XcbConnection(const XConnectionIdentifier& id)
|
||||||
: connection(nullptr, &xcb_disconnect)
|
: connection(nullptr, &xcb_disconnect),
|
||||||
, connectionIdentifier(id)
|
connectionIdentifier(id), refCount(0)
|
||||||
, refCount(0)
|
|
||||||
{
|
{
|
||||||
// Convert to X display string format (e.g., ":0.1")
|
// Convert to X display string format (e.g., ":0.1")
|
||||||
std::string displayString = ":" + std::to_string(id.display)
|
std::string displayString = ":" + std::to_string(id.display)
|
||||||
@@ -105,11 +104,12 @@ public:
|
|||||||
std::string stringify() const
|
std::string stringify() const
|
||||||
{
|
{
|
||||||
std::ostringstream os;
|
std::ostringstream os;
|
||||||
|
|
||||||
os << "Display: " << xconn.display
|
os << "Display: " << xconn.display
|
||||||
<< ", Screen: " << xconn.screen
|
<< ", Screen: " << xconn.screen
|
||||||
<< ", Window: " << (useWindowId ?
|
<< ", Window: " << (useWindowId
|
||||||
std::to_string(window.id) :
|
? std::to_string(window.id)
|
||||||
"\"" + window.name + "\"");
|
: "\"" + window.name + "\"");
|
||||||
return os.str();
|
return os.str();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user