Hacker News new | ask | show | jobs
by avinassh 1217 days ago
This is very cool! How does this work internally?
1 comments

On Linux it takes a handle to the RootWindow and starts drawing on it, but if You are using a compositor it creates a new window with parameters similar to RootWindow. On Windows it works similar to the second case