refactor: Use new hyprutils casts (#11377)
This commit is contained in:
parent
aa6a78f0a4
commit
beee22a95e
116 changed files with 715 additions and 696 deletions
|
|
@ -21,7 +21,7 @@ CXDataSource::CXDataSource(SXSelection& sel_) : m_selection(sel_) {
|
|||
return;
|
||||
}
|
||||
|
||||
auto value = (xcb_atom_t*)xcb_get_property_value(reply);
|
||||
auto value = sc<xcb_atom_t*>(xcb_get_property_value(reply));
|
||||
for (uint32_t i = 0; i < reply->value_len; i++) {
|
||||
if (value[i] == HYPRATOMS["UTF8_STRING"])
|
||||
m_mimeTypes.emplace_back("text/plain;charset=utf-8");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue