From d9c34d80be78f21360d4ec432f549e689e3a6148 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 15 Dec 2009 02:16:01 +0000 Subject: [PATCH] Added notes from e-mail on desktop window implementation --- TODO | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/TODO b/TODO index 61d32a5e0..7af22e3a0 100644 --- a/TODO +++ b/TODO @@ -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?