mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Fix property reply errors being coerced to 0
During a refactor this changed from a boolean to an option, guess I missed this.
This commit is contained in:
@@ -609,7 +609,7 @@ std::optional<uint8_t> WineXdndProxy::is_xdnd_aware(
|
||||
xcb_get_property_reply(x11_connection.get(), property_cookie, &error));
|
||||
if (error) {
|
||||
free(error);
|
||||
return false;
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
// Since the spec dates from 2002, we won't even bother checking the
|
||||
|
||||
Reference in New Issue
Block a user