server: Make layered windows transparent for mouse messages.
diff --git a/server/queue.c b/server/queue.c
index 755d3c1..ae11901 100644
--- a/server/queue.c
+++ b/server/queue.c
@@ -1252,7 +1252,7 @@
     {
         if (!input || !(win = input->capture))
         {
-            if (!(win = msg->win) || !is_window_visible( win ))
+            if (!(win = msg->win) || !is_window_visible( win ) || is_window_transparent( win ))
             {
                 if (input) win = window_from_point( input->desktop, data->x, data->y );
             }