aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/win32/callback.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-05-24 13:09:22 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-05-24 13:09:22 +0200
commitd089ea867459bfd7e875a2cd44ae46bac705ae18 (patch)
tree300996b7cb0e58aff01f390da77c76d94b3a8c5c /src/api/win32/callback.rs
parent1377f276b7b64a1e75aa43da7efdea9a81155397 (diff)
parent9117bcf3d3f441c86c85b04ce54e135d28fcb2e1 (diff)
downloadglutin-d089ea867459bfd7e875a2cd44ae46bac705ae18.tar.gz
glutin-d089ea867459bfd7e875a2cd44ae46bac705ae18.zip
Merge pull request #453 from tomaka/transparency
Add API for transparency and decorations and add support for win32
Diffstat (limited to 'src/api/win32/callback.rs')
-rw-r--r--src/api/win32/callback.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/win32/callback.rs b/src/api/win32/callback.rs
index 1ea95a5..86d5f1c 100644
--- a/src/api/win32/callback.rs
+++ b/src/api/win32/callback.rs
@@ -44,6 +44,7 @@ fn send_event(input_window: winapi::HWND, event: Event) {
/// This is the callback that is called by `DispatchMessage` in the events loop.
///
/// Returning 0 tells the Win32 API that the message has been processed.
+// FIXME: detect WM_DWMCOMPOSITIONCHANGED and call DwmEnableBlurBehindWindow if necessary
pub unsafe extern "system" fn callback(window: winapi::HWND, msg: winapi::UINT,
wparam: winapi::WPARAM, lparam: winapi::LPARAM)
-> winapi::LRESULT