Adds the tray icons implementation based on org.kde.StatusNotifierItem interface usage. Does allow restarting StatusNotifierWatcher object, but will fallback to XEMBED or internal tray, if wine gets initialized when there is no StatusNotifierWatcher object registered.
--
v11: configure: fix winesni.drv not getting disabled
https://gitlab.winehq.org/wine/wine/-/merge_requests/2808
On Thu May 18 20:36:57 2023 +0000, Giovanni Mascellani wrote:
> No, I don't think the caller gets to decide anything. The optimizing
> pass can either decide to alter the instruction stream (if it thinks
> there is some optimization to be done) or leave it unchanged. In the
> first case it returns `true`, in the second `false`. The caller will
> receive whatever stream the pass decides to leave.
> In this case, however, I don't think there is any question about whether
> to touch or not the instruction stream. We definitely want to fold the
> absolute value operation, since it's pretty clear that for the native
> compiler `abs(INT_MIN) == INT_MIN`. The only care we have to use is to
> never call `abs(INT_MIN)` in C, because that's UB. If you use the
> statement I provided above that should never happen and everything is fine.
Ahh, okay that makes sense - I'll go ahead and make this change now; knowing the native compiler's result cleared this up right away!
--
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/203#note_33148