From 961f98eb15ddbb6b34f612c3444068d06ac25c4b Mon Sep 17 00:00:00 2001 From: Orestis Floros Date: Wed, 9 Oct 2019 16:08:18 +0300 Subject: [PATCH] Remove outdated comment from Rect This has changed after #3787. The packed attribute was added in 75aac5bc02f07f1b1b1814e488926d22173e3594 for _NET_WORKAREA. However, eec80838ab39377f18e3f68dc8a27923ae19e57e removed _NET_WORKAREA support. I did some quick greping for `memcpy.+Rect` and didn't find any similar code that could theoretically lead to problems. --- include/data.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/data.h b/include/data.h index 82027f75..8cf38790 100644 --- a/include/data.h +++ b/include/data.h @@ -144,8 +144,6 @@ typedef enum { /** * Stores a rectangle, for example the size of a window, the child window etc. - * It needs to be packed so that the compiler will not add any padding bytes. - * (it is used in src/ewmh.c for example) * * Note that x and y can contain signed values in some cases (for example when * used for the coordinates of a window, which can be set outside of the