Jan Schürkamp

Results 39 comments of Jan Schürkamp

> What are we loosing by storing them as ints? This was just a small note on how the compositors should handle these cases. Using the proper rounding like above...

There is already a PR open for adding cursor-shape-v1 Wayland protocol support: - https://github.com/glfw/glfw/pull/2679

On Linux the number variant can be done through [Unity's LauncherAPI](https://wiki.ubuntu.com/Unity/LauncherAPI#Low_level_DBus_API:_com.canonical.Unity.LauncherEntry). Note that the LauncherAPI is only used on KDE and Unity Desktop Environments as far as I know.

@ws909 On Linux (X11 & Wayland) this can be done through the Unity LauncherAPI via DBus like it is used in #2286. Actually it even uses the same endpoint in...

> therefore cannot be implemented unless Win32 provides means of creating such icons I searched a bit and couldn't find an icon generator for this in the Win32 API. Another...

@ws909 Will do more research. The only thing I found that did generate this on the fly so far was using WPF and generated the text to an icon through...

I'm on to something, just need to figure the WinAPI out...

Got it working via WinAPI GDI: ![image](https://user-images.githubusercontent.com/16561717/222930733-d1ea75ac-caab-47a3-bf5d-7f0737afced7.png) Relevant commit: https://github.com/GamesTrap/glfw/commit/582f7ff70bb052a5f422c584fed757c9e17bc8a3

I think it should be displayed on the top right because: - On Linux there is no API to move it with Unity LauncherAPI. - On Windows I haven't seen...

Just checked, Microsoft changed the position from bottom-right (Windows 10) to top-right (Windows 11). So it's not possible to reposition the badge through WinAPI apparently. _Throwing consistency out the window_