home · contact · privacy
Renamed yx type to more precisely reflect its data structure.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 12 Jun 2013 23:07:56 +0000 (01:07 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 12 Jun 2013 23:07:56 +0000 (01:07 +0200)
windows.c

index f6bc54e3a1c22a6c6119e9fd9994d5d6a477e9a1..2aa8499c229346e157b6df1a1ea091d67b165aec 100644 (file)
--- a/windows.c
+++ b/windows.c
@@ -4,15 +4,15 @@
 #include <string.h>
 #include "windows.h"
 
-struct yx {
+struct yx_uint16 {
   uint16_t y;
   uint16_t x; };
 
 struct Corners {
-  struct yx tl;
-  struct yx tr;
-  struct yx bl;
-  struct yx br; };
+  struct yx_uint16 tl;
+  struct yx_uint16 tr;
+  struct yx_uint16 bl;
+  struct yx_uint16 br; };
 
 static void refit_pad (struct WinMeta *);
 static void place_window (struct WinMeta *, struct Win *);