fix? color on icons
authorDerek Foreman <manmower@gmail.com>
Mon, 9 Jun 2003 22:30:46 +0000 (22:30 +0000)
committerDerek Foreman <manmower@gmail.com>
Mon, 9 Jun 2003 22:30:46 +0000 (22:30 +0000)
openbox/client.c

index 82e1f5f6cf3a9b5f08d5902d8a9e3b639f1822bf..c54dbd67171f8227e9a7cc2b6315180c6c646f93 100644 (file)
@@ -1348,7 +1348,7 @@ void client_update_icons(Client *self)
                     x = 0;
                     ++y;
                 }
-                self->icons[j].data[t] = data[i];
+                self->icons[j].data[t] = (data[i] << 8) & (data[i] >> 24);
             }
            g_assert(i <= num);
        }