From: Tomi Ollila Date: Tue, 31 Oct 2023 20:12:12 +0000 (+0200) Subject: view.h: changed the type of tiled in struct view to enum view_edge X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=7aa1dc1ca5105d115313fb76653f7e39333fd158;p=proto%2Flabwc.git view.h: changed the type of tiled in struct view to enum view_edge The type enum view_edge used to be defined in a .c file, so a structure member 'tiled' in struct view had to be defined to use another type. Later (2023-08-02, commit 1ee8715) the definition of enum view_edge was moved to view.h, so now 'tiled' can be defined to use that type. --- diff --git a/include/view.h b/include/view.h index b2d8ce31..344907a0 100644 --- a/include/view.h +++ b/include/view.h @@ -141,7 +141,7 @@ struct view { bool minimized; enum view_axis maximized; bool fullscreen; - uint32_t tiled; /* private, enum view_edge in src/view.c */ + enum view_edge tiled; bool inhibits_keybinds; /* Pointer to an output owned struct region, may be NULL */