mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-21 22:25:58 +01:00
unify types in id
This commit is contained in:
parent
27118ee3d7
commit
a9b76c7f99
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ MainPicker* mainPickerPtr = nullptr;
|
|||
struct SWindowEntry {
|
||||
std::string name;
|
||||
std::string clazz;
|
||||
long unsigned int id = 0;
|
||||
unsigned long long id = 0;
|
||||
};
|
||||
|
||||
std::vector<SWindowEntry> getWindows(const char* env) {
|
||||
|
@ -61,7 +61,7 @@ std::vector<SWindowEntry> getWindows(const char* env) {
|
|||
const auto TITLESTR = rolling.substr(CLASSSEPPOS + 5, TITLESEPPOS - 5 - CLASSSEPPOS);
|
||||
|
||||
try {
|
||||
result.push_back({TITLESTR, CLASSSTR, std::stoll(IDSTR)});
|
||||
result.push_back({TITLESTR, CLASSSTR, std::stoull(IDSTR)});
|
||||
} catch (std::exception& e) {
|
||||
// silent err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue