summaryrefslogtreecommitdiff
path: root/AK
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-05 15:54:56 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-05 15:54:56 +0200
commit47d270b5774493b5ac3bb5a7f41f164cf8782068 (patch)
tree24eefe1a7cb5dbb3e8a697c7f400acd7e08e0757 /AK
parent99b98dc65359bc02d28e8d5d51a55c7a69fe6fff (diff)
downloadserenity-47d270b5774493b5ac3bb5a7f41f164cf8782068.zip
WindowServer: Factor out window frame logic into a WSWindowFrame class.
The window frame is an object that contains a window, its title bar and window border. This way WSWindowManager doesn't have to know about all the different types of window borders, titlebar rects, etc.
Diffstat (limited to 'AK')
-rw-r--r--AK/StdLibExtras.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/AK/StdLibExtras.h b/AK/StdLibExtras.h
index 97e6ad57d1..e953d16d6e 100644
--- a/AK/StdLibExtras.h
+++ b/AK/StdLibExtras.h
@@ -7,6 +7,8 @@
#include <LibC/string.h>
#endif
+#define UNUSED_PARAM(x) (void)x
+
#include <AK/Types.h>
extern "C" void* mmx_memcpy(void* to, const void* from, size_t);