# HG changeset patch # User Sam Lantinga # Date 1260843361 0 # Node ID d3a8bb6a37c10bd1b82ec728918768b78614e9fa # Parent 59ab35254459683611c1d57c9df34cd479fda38a Added notes from e-mail on desktop window implementation diff -r 59ab35254459 -r d3a8bb6a37c1 TODO --- a/TODO Tue Dec 15 00:00:30 2009 +0000 +++ b/TODO Tue Dec 15 02:16:01 2009 +0000 @@ -31,6 +31,17 @@ * Create extended set of (negative) error codes and have the API functions document and return them. * Add clipboard support (from scrap demo) * Add support for desktop windows? + With Qt, I can do this by the codes as follows: + + setAttribute(Qt::WA_X11NetWmWindowTypeDesktop); + setWindowFlags(Qt::SplashScreen); + + Qt::WindowFlags flags = 0; + flags |= Qt::FramelessWindowHint; + flags |= Qt::Tool; + flags |= Qt::WindowStaysOnBottomHint; + + setWindowFlags(flags); * Add support for synchronizing 2D updates with vblank (bug #406) * Add support for real-time threads and/or adjusting thread priority? * Add support for querying the number of CPUs and binding threads to them?