\hypertarget{group__iface__zxdg__positioner__v6}{}\section{The zxdg\+\_\+positioner\+\_\+v6 interface}
\label{group__iface__zxdg__positioner__v6}\index{The zxdg\+\_\+positioner\+\_\+v6 interface@{The zxdg\+\_\+positioner\+\_\+v6 interface}}


The xdg\+\_\+positioner provides a collection of rules for the placement of a child surface relative to a parent surface.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structzxdg__positioner__v6__interface}{zxdg\+\_\+positioner\+\_\+v6\+\_\+interface}}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__iface__zxdg__positioner__v6_ga088607fa290956db50eee885aa162d96}\label{group__iface__zxdg__positioner__v6_ga088607fa290956db50eee885aa162d96}} 
\#define {\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+D\+E\+S\+T\+R\+O\+Y\+\_\+\+S\+I\+N\+C\+E\+\_\+\+V\+E\+R\+S\+I\+ON}~1
\item 
\mbox{\Hypertarget{group__iface__zxdg__positioner__v6_ga7f9db1771dc64158a82da7cf18502c18}\label{group__iface__zxdg__positioner__v6_ga7f9db1771dc64158a82da7cf18502c18}} 
\#define {\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+S\+E\+T\+\_\+\+S\+I\+Z\+E\+\_\+\+S\+I\+N\+C\+E\+\_\+\+V\+E\+R\+S\+I\+ON}~1
\item 
\mbox{\Hypertarget{group__iface__zxdg__positioner__v6_gac4554efe3975b4aab36a0e5f7db70df1}\label{group__iface__zxdg__positioner__v6_gac4554efe3975b4aab36a0e5f7db70df1}} 
\#define {\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+S\+E\+T\+\_\+\+A\+N\+C\+H\+O\+R\+\_\+\+R\+E\+C\+T\+\_\+\+S\+I\+N\+C\+E\+\_\+\+V\+E\+R\+S\+I\+ON}~1
\item 
\mbox{\Hypertarget{group__iface__zxdg__positioner__v6_ga4037269d7a85fc69d7f5ed14a49f1a73}\label{group__iface__zxdg__positioner__v6_ga4037269d7a85fc69d7f5ed14a49f1a73}} 
\#define {\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+S\+E\+T\+\_\+\+A\+N\+C\+H\+O\+R\+\_\+\+S\+I\+N\+C\+E\+\_\+\+V\+E\+R\+S\+I\+ON}~1
\item 
\mbox{\Hypertarget{group__iface__zxdg__positioner__v6_gae7e46ec6b7e7a9cfaba398ffc89691a9}\label{group__iface__zxdg__positioner__v6_gae7e46ec6b7e7a9cfaba398ffc89691a9}} 
\#define {\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+S\+E\+T\+\_\+\+G\+R\+A\+V\+I\+T\+Y\+\_\+\+S\+I\+N\+C\+E\+\_\+\+V\+E\+R\+S\+I\+ON}~1
\item 
\mbox{\Hypertarget{group__iface__zxdg__positioner__v6_ga45612e1a81051d146b79b8b60a40a92a}\label{group__iface__zxdg__positioner__v6_ga45612e1a81051d146b79b8b60a40a92a}} 
\#define {\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+S\+E\+T\+\_\+\+C\+O\+N\+S\+T\+R\+A\+I\+N\+T\+\_\+\+A\+D\+J\+U\+S\+T\+M\+E\+N\+T\+\_\+\+S\+I\+N\+C\+E\+\_\+\+V\+E\+R\+S\+I\+ON}~1
\item 
\mbox{\Hypertarget{group__iface__zxdg__positioner__v6_ga3b4e8c33a0ba017e5faab45c73975534}\label{group__iface__zxdg__positioner__v6_ga3b4e8c33a0ba017e5faab45c73975534}} 
\#define {\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+S\+E\+T\+\_\+\+O\+F\+F\+S\+E\+T\+\_\+\+S\+I\+N\+C\+E\+\_\+\+V\+E\+R\+S\+I\+ON}~1
\item 
\mbox{\Hypertarget{group__iface__zxdg__positioner__v6_ga088607fa290956db50eee885aa162d96}\label{group__iface__zxdg__positioner__v6_ga088607fa290956db50eee885aa162d96}} 
\#define {\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+D\+E\+S\+T\+R\+O\+Y\+\_\+\+S\+I\+N\+C\+E\+\_\+\+V\+E\+R\+S\+I\+ON}~1
\item 
\mbox{\Hypertarget{group__iface__zxdg__positioner__v6_ga7f9db1771dc64158a82da7cf18502c18}\label{group__iface__zxdg__positioner__v6_ga7f9db1771dc64158a82da7cf18502c18}} 
\#define {\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+S\+E\+T\+\_\+\+S\+I\+Z\+E\+\_\+\+S\+I\+N\+C\+E\+\_\+\+V\+E\+R\+S\+I\+ON}~1
\item 
\mbox{\Hypertarget{group__iface__zxdg__positioner__v6_gac4554efe3975b4aab36a0e5f7db70df1}\label{group__iface__zxdg__positioner__v6_gac4554efe3975b4aab36a0e5f7db70df1}} 
\#define {\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+S\+E\+T\+\_\+\+A\+N\+C\+H\+O\+R\+\_\+\+R\+E\+C\+T\+\_\+\+S\+I\+N\+C\+E\+\_\+\+V\+E\+R\+S\+I\+ON}~1
\item 
\mbox{\Hypertarget{group__iface__zxdg__positioner__v6_ga4037269d7a85fc69d7f5ed14a49f1a73}\label{group__iface__zxdg__positioner__v6_ga4037269d7a85fc69d7f5ed14a49f1a73}} 
\#define {\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+S\+E\+T\+\_\+\+A\+N\+C\+H\+O\+R\+\_\+\+S\+I\+N\+C\+E\+\_\+\+V\+E\+R\+S\+I\+ON}~1
\item 
\mbox{\Hypertarget{group__iface__zxdg__positioner__v6_gae7e46ec6b7e7a9cfaba398ffc89691a9}\label{group__iface__zxdg__positioner__v6_gae7e46ec6b7e7a9cfaba398ffc89691a9}} 
\#define {\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+S\+E\+T\+\_\+\+G\+R\+A\+V\+I\+T\+Y\+\_\+\+S\+I\+N\+C\+E\+\_\+\+V\+E\+R\+S\+I\+ON}~1
\item 
\mbox{\Hypertarget{group__iface__zxdg__positioner__v6_ga45612e1a81051d146b79b8b60a40a92a}\label{group__iface__zxdg__positioner__v6_ga45612e1a81051d146b79b8b60a40a92a}} 
\#define {\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+S\+E\+T\+\_\+\+C\+O\+N\+S\+T\+R\+A\+I\+N\+T\+\_\+\+A\+D\+J\+U\+S\+T\+M\+E\+N\+T\+\_\+\+S\+I\+N\+C\+E\+\_\+\+V\+E\+R\+S\+I\+ON}~1
\item 
\mbox{\Hypertarget{group__iface__zxdg__positioner__v6_ga3b4e8c33a0ba017e5faab45c73975534}\label{group__iface__zxdg__positioner__v6_ga3b4e8c33a0ba017e5faab45c73975534}} 
\#define {\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+S\+E\+T\+\_\+\+O\+F\+F\+S\+E\+T\+\_\+\+S\+I\+N\+C\+E\+\_\+\+V\+E\+R\+S\+I\+ON}~1
\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{group__iface__zxdg__positioner__v6_gacae42f94e09dedcba8edd771dd2f3921}{zxdg\+\_\+positioner\+\_\+v6\+\_\+constraint\+\_\+adjustment}} \{ \newline
{\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+C\+O\+N\+S\+T\+R\+A\+I\+N\+T\+\_\+\+A\+D\+J\+U\+S\+T\+M\+E\+N\+T\+\_\+\+N\+O\+NE} = 0, 
\newline
{\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+C\+O\+N\+S\+T\+R\+A\+I\+N\+T\+\_\+\+A\+D\+J\+U\+S\+T\+M\+E\+N\+T\+\_\+\+S\+L\+I\+D\+E\+\_\+X} = 1, 
\newline
{\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+C\+O\+N\+S\+T\+R\+A\+I\+N\+T\+\_\+\+A\+D\+J\+U\+S\+T\+M\+E\+N\+T\+\_\+\+S\+L\+I\+D\+E\+\_\+Y} = 2, 
\newline
{\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+C\+O\+N\+S\+T\+R\+A\+I\+N\+T\+\_\+\+A\+D\+J\+U\+S\+T\+M\+E\+N\+T\+\_\+\+F\+L\+I\+P\+\_\+X} = 4, 
\newline
{\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+C\+O\+N\+S\+T\+R\+A\+I\+N\+T\+\_\+\+A\+D\+J\+U\+S\+T\+M\+E\+N\+T\+\_\+\+F\+L\+I\+P\+\_\+Y} = 8, 
\newline
{\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+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N\+E\+R\+\_\+\+V6\+\_\+\+C\+O\+N\+S\+T\+R\+A\+I\+N\+T\+\_\+\+A\+D\+J\+U\+S\+T\+M\+E\+N\+T\+\_\+\+F\+L\+I\+P\+\_\+Y} = 8, 
\newline
{\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+C\+O\+N\+S\+T\+R\+A\+I\+N\+T\+\_\+\+A\+D\+J\+U\+S\+T\+M\+E\+N\+T\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+X} = 16, 
\newline
{\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+C\+O\+N\+S\+T\+R\+A\+I\+N\+T\+\_\+\+A\+D\+J\+U\+S\+T\+M\+E\+N\+T\+\_\+\+R\+E\+S\+I\+Z\+E\+\_\+Y} = 32
 \}
\begin{DoxyCompactList}\small\item\em vertically resize the surface \end{DoxyCompactList}\item 
enum \mbox{\hyperlink{group__iface__zxdg__positioner__v6_gacae42f94e09dedcba8edd771dd2f3921}{zxdg\+\_\+positioner\+\_\+v6\+\_\+constraint\+\_\+adjustment}} \{ \newline
{\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+C\+O\+N\+S\+T\+R\+A\+I\+N\+T\+\_\+\+A\+D\+J\+U\+S\+T\+M\+E\+N\+T\+\_\+\+N\+O\+NE} = 0, 
\newline
{\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\+V6\+\_\+\+C\+O\+N\+S\+T\+R\+A\+I\+N\+T\+\_\+\+A\+D\+J\+U\+S\+T\+M\+E\+N\+T\+\_\+\+S\+L\+I\+D\+E\+\_\+X} = 1, 
\newline
{\bfseries Z\+X\+D\+G\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+E\+R\+\_\+\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the surface \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__iface__zxdg__positioner__v6_gaff5659e2b5dc66e1bc6852b9f6fc6a5d}\label{group__iface__zxdg__positioner__v6_gaff5659e2b5dc66e1bc6852b9f6fc6a5d}} 
static void {\bfseries zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+user\+\_\+data} (struct zxdg\+\_\+positioner\+\_\+v6 $\ast$zxdg\+\_\+positioner\+\_\+v6, void $\ast$user\+\_\+data)
\item 
\mbox{\Hypertarget{group__iface__zxdg__positioner__v6_ga30a50e7b7c3d8c3a62919732b7102390}\label{group__iface__zxdg__positioner__v6_ga30a50e7b7c3d8c3a62919732b7102390}} 
static void $\ast$ {\bfseries zxdg\+\_\+positioner\+\_\+v6\+\_\+get\+\_\+user\+\_\+data} (struct zxdg\+\_\+positioner\+\_\+v6 $\ast$zxdg\+\_\+positioner\+\_\+v6)
\item 
\mbox{\Hypertarget{group__iface__zxdg__positioner__v6_ga6619e16ce7a145edafa98a4621f035cd}\label{group__iface__zxdg__positioner__v6_ga6619e16ce7a145edafa98a4621f035cd}} 
static void \mbox{\hyperlink{group__iface__zxdg__positioner__v6_ga6619e16ce7a145edafa98a4621f035cd}{zxdg\+\_\+positioner\+\_\+v6\+\_\+destroy}} (struct zxdg\+\_\+positioner\+\_\+v6 $\ast$zxdg\+\_\+positioner\+\_\+v6)
\begin{DoxyCompactList}\small\item\em Notify the compositor that the xdg\+\_\+positioner will no longer be used. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{group__iface__zxdg__positioner__v6_ga681be0ae916f701895df7ef0b05d248a}{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+size}} (struct zxdg\+\_\+positioner\+\_\+v6 $\ast$zxdg\+\_\+positioner\+\_\+v6, int32\+\_\+t width, int32\+\_\+t height)
\begin{DoxyCompactList}\small\item\em Set the size of the surface that is to be positioned with the positioner object. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{group__iface__zxdg__positioner__v6_ga6669101dfac066ff2e2bff96381af7e3}{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+anchor\+\_\+rect}} (struct zxdg\+\_\+positioner\+\_\+v6 $\ast$zxdg\+\_\+positioner\+\_\+v6, int32\+\_\+t x, int32\+\_\+t y, int32\+\_\+t width, int32\+\_\+t height)
\begin{DoxyCompactList}\small\item\em Specify the anchor rectangle within the parent surface that the child surface will be placed relative to. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{group__iface__zxdg__positioner__v6_gaae2e0cbce90f56edc93c12d64c2898e2}{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+anchor}} (struct zxdg\+\_\+positioner\+\_\+v6 $\ast$zxdg\+\_\+positioner\+\_\+v6, uint32\+\_\+t anchor)
\begin{DoxyCompactList}\small\item\em Defines a set of edges for the anchor rectangle. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{group__iface__zxdg__positioner__v6_gadcab86eafd6b50eadc6a099eb7a12a35}{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+gravity}} (struct zxdg\+\_\+positioner\+\_\+v6 $\ast$zxdg\+\_\+positioner\+\_\+v6, uint32\+\_\+t gravity)
\begin{DoxyCompactList}\small\item\em Defines in what direction a surface should be positioned, relative to the anchor point of the parent surface. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{group__iface__zxdg__positioner__v6_ga763d6f33376aee107e4b8c92def38cf0}{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+constraint\+\_\+adjustment}} (struct zxdg\+\_\+positioner\+\_\+v6 $\ast$zxdg\+\_\+positioner\+\_\+v6, uint32\+\_\+t constraint\+\_\+adjustment)
\begin{DoxyCompactList}\small\item\em Specify how the window should be positioned if the originally intended position caused the surface to be constrained, meaning at least partially outside positioning boundaries set by the compositor. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{group__iface__zxdg__positioner__v6_gaccace76b0bd23291cb47eb2d2d146467}{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+offset}} (struct zxdg\+\_\+positioner\+\_\+v6 $\ast$zxdg\+\_\+positioner\+\_\+v6, int32\+\_\+t x, int32\+\_\+t y)
\begin{DoxyCompactList}\small\item\em Specify the surface position offset relative to the position of the anchor on the anchor rectangle and the anchor on the surface. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
The xdg\+\_\+positioner provides a collection of rules for the placement of a child surface relative to a parent surface. 

Rules can be defined to ensure the child surface remains within the visible area\textquotesingle{}s borders, and to specify how the child surface changes its position, such as sliding along an axis, or flipping around a rectangle. These positioner-\/created rules are constrained by the requirement that a child surface must intersect with or be at least partially adjacent to its parent surface.

See the various requests for details about possible rules.

At the time of the request, the compositor makes a copy of the rules specified by the xdg\+\_\+positioner. Thus, after the request is complete the xdg\+\_\+positioner object can be destroyed or reused; further changes to the object will have no effect on previous usages.

For an xdg\+\_\+positioner object to be considered complete, it must have a non-\/zero size set by set\+\_\+size, and a non-\/zero anchor rectangle set by set\+\_\+anchor\+\_\+rect. Passing an incomplete xdg\+\_\+positioner object when positioning a surface raises an error. 

\subsection{Enumeration Type Documentation}
\mbox{\Hypertarget{group__iface__zxdg__positioner__v6_gacae42f94e09dedcba8edd771dd2f3921}\label{group__iface__zxdg__positioner__v6_gacae42f94e09dedcba8edd771dd2f3921}} 
\index{The zxdg\+\_\+positioner\+\_\+v6 interface@{The zxdg\+\_\+positioner\+\_\+v6 interface}!zxdg\+\_\+positioner\+\_\+v6\+\_\+constraint\+\_\+adjustment@{zxdg\+\_\+positioner\+\_\+v6\+\_\+constraint\+\_\+adjustment}}
\index{zxdg\+\_\+positioner\+\_\+v6\+\_\+constraint\+\_\+adjustment@{zxdg\+\_\+positioner\+\_\+v6\+\_\+constraint\+\_\+adjustment}!The zxdg\+\_\+positioner\+\_\+v6 interface@{The zxdg\+\_\+positioner\+\_\+v6 interface}}
\subsubsection{\texorpdfstring{zxdg\+\_\+positioner\+\_\+v6\+\_\+constraint\+\_\+adjustment}{zxdg\_positioner\_v6\_constraint\_adjustment}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group__iface__zxdg__positioner__v6_gacae42f94e09dedcba8edd771dd2f3921}{zxdg\+\_\+positioner\+\_\+v6\+\_\+constraint\+\_\+adjustment}}}



vertically resize the surface 

Resize the surface vertically so that it is completely unconstrained. \mbox{\Hypertarget{group__iface__zxdg__positioner__v6_gacae42f94e09dedcba8edd771dd2f3921}\label{group__iface__zxdg__positioner__v6_gacae42f94e09dedcba8edd771dd2f3921}} 
\index{The zxdg\+\_\+positioner\+\_\+v6 interface@{The zxdg\+\_\+positioner\+\_\+v6 interface}!zxdg\+\_\+positioner\+\_\+v6\+\_\+constraint\+\_\+adjustment@{zxdg\+\_\+positioner\+\_\+v6\+\_\+constraint\+\_\+adjustment}}
\index{zxdg\+\_\+positioner\+\_\+v6\+\_\+constraint\+\_\+adjustment@{zxdg\+\_\+positioner\+\_\+v6\+\_\+constraint\+\_\+adjustment}!The zxdg\+\_\+positioner\+\_\+v6 interface@{The zxdg\+\_\+positioner\+\_\+v6 interface}}
\subsubsection{\texorpdfstring{zxdg\+\_\+positioner\+\_\+v6\+\_\+constraint\+\_\+adjustment}{zxdg\_positioner\_v6\_constraint\_adjustment}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group__iface__zxdg__positioner__v6_gacae42f94e09dedcba8edd771dd2f3921}{zxdg\+\_\+positioner\+\_\+v6\+\_\+constraint\+\_\+adjustment}}}



vertically resize the surface 

Resize the surface vertically so that it is completely unconstrained. 

\subsection{Function Documentation}
\mbox{\Hypertarget{group__iface__zxdg__positioner__v6_ga681be0ae916f701895df7ef0b05d248a}\label{group__iface__zxdg__positioner__v6_ga681be0ae916f701895df7ef0b05d248a}} 
\index{The zxdg\+\_\+positioner\+\_\+v6 interface@{The zxdg\+\_\+positioner\+\_\+v6 interface}!zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+size@{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+size}}
\index{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+size@{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+size}!The zxdg\+\_\+positioner\+\_\+v6 interface@{The zxdg\+\_\+positioner\+\_\+v6 interface}}
\subsubsection{\texorpdfstring{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+size()}{zxdg\_positioner\_v6\_set\_size()}}
{\footnotesize\ttfamily static void zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+size (\begin{DoxyParamCaption}\item[{struct zxdg\+\_\+positioner\+\_\+v6 $\ast$}]{zxdg\+\_\+positioner\+\_\+v6,  }\item[{int32\+\_\+t}]{width,  }\item[{int32\+\_\+t}]{height }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Set the size of the surface that is to be positioned with the positioner object. 

The size is in surface-\/local coordinates and corresponds to the window geometry. See xdg\+\_\+surface.\+set\+\_\+window\+\_\+geometry.

If a zero or negative size is set the invalid\+\_\+input error is raised. \mbox{\Hypertarget{group__iface__zxdg__positioner__v6_ga6669101dfac066ff2e2bff96381af7e3}\label{group__iface__zxdg__positioner__v6_ga6669101dfac066ff2e2bff96381af7e3}} 
\index{The zxdg\+\_\+positioner\+\_\+v6 interface@{The zxdg\+\_\+positioner\+\_\+v6 interface}!zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+anchor\+\_\+rect@{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+anchor\+\_\+rect}}
\index{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+anchor\+\_\+rect@{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+anchor\+\_\+rect}!The zxdg\+\_\+positioner\+\_\+v6 interface@{The zxdg\+\_\+positioner\+\_\+v6 interface}}
\subsubsection{\texorpdfstring{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+anchor\+\_\+rect()}{zxdg\_positioner\_v6\_set\_anchor\_rect()}}
{\footnotesize\ttfamily static void zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+anchor\+\_\+rect (\begin{DoxyParamCaption}\item[{struct zxdg\+\_\+positioner\+\_\+v6 $\ast$}]{zxdg\+\_\+positioner\+\_\+v6,  }\item[{int32\+\_\+t}]{x,  }\item[{int32\+\_\+t}]{y,  }\item[{int32\+\_\+t}]{width,  }\item[{int32\+\_\+t}]{height }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Specify the anchor rectangle within the parent surface that the child surface will be placed relative to. 

The rectangle is relative to the window geometry as defined by xdg\+\_\+surface.\+set\+\_\+window\+\_\+geometry of the parent surface. The rectangle must be at least 1x1 large.

When the xdg\+\_\+positioner object is used to position a child surface, the anchor rectangle may not extend outside the window geometry of the positioned child\textquotesingle{}s parent surface.

If a zero or negative size is set the invalid\+\_\+input error is raised. \mbox{\Hypertarget{group__iface__zxdg__positioner__v6_gaae2e0cbce90f56edc93c12d64c2898e2}\label{group__iface__zxdg__positioner__v6_gaae2e0cbce90f56edc93c12d64c2898e2}} 
\index{The zxdg\+\_\+positioner\+\_\+v6 interface@{The zxdg\+\_\+positioner\+\_\+v6 interface}!zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+anchor@{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+anchor}}
\index{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+anchor@{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+anchor}!The zxdg\+\_\+positioner\+\_\+v6 interface@{The zxdg\+\_\+positioner\+\_\+v6 interface}}
\subsubsection{\texorpdfstring{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+anchor()}{zxdg\_positioner\_v6\_set\_anchor()}}
{\footnotesize\ttfamily static void zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+anchor (\begin{DoxyParamCaption}\item[{struct zxdg\+\_\+positioner\+\_\+v6 $\ast$}]{zxdg\+\_\+positioner\+\_\+v6,  }\item[{uint32\+\_\+t}]{anchor }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Defines a set of edges for the anchor rectangle. 

These are used to derive an anchor point that the child surface will be positioned relative to. If two orthogonal edges are specified (e.\+g. \textquotesingle{}top\textquotesingle{} and \textquotesingle{}left\textquotesingle{}), then the anchor point will be the intersection of the edges (e.\+g. the top left position of the rectangle); otherwise, the derived anchor point will be centered on the specified edge, or in the center of the anchor rectangle if no edge is specified.

If two parallel anchor edges are specified (e.\+g. \textquotesingle{}left\textquotesingle{} and \textquotesingle{}right\textquotesingle{}), the invalid\+\_\+input error is raised. \mbox{\Hypertarget{group__iface__zxdg__positioner__v6_gadcab86eafd6b50eadc6a099eb7a12a35}\label{group__iface__zxdg__positioner__v6_gadcab86eafd6b50eadc6a099eb7a12a35}} 
\index{The zxdg\+\_\+positioner\+\_\+v6 interface@{The zxdg\+\_\+positioner\+\_\+v6 interface}!zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+gravity@{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+gravity}}
\index{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+gravity@{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+gravity}!The zxdg\+\_\+positioner\+\_\+v6 interface@{The zxdg\+\_\+positioner\+\_\+v6 interface}}
\subsubsection{\texorpdfstring{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+gravity()}{zxdg\_positioner\_v6\_set\_gravity()}}
{\footnotesize\ttfamily static void zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+gravity (\begin{DoxyParamCaption}\item[{struct zxdg\+\_\+positioner\+\_\+v6 $\ast$}]{zxdg\+\_\+positioner\+\_\+v6,  }\item[{uint32\+\_\+t}]{gravity }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Defines in what direction a surface should be positioned, relative to the anchor point of the parent surface. 

If two orthogonal gravities are specified (e.\+g. \textquotesingle{}bottom\textquotesingle{} and \textquotesingle{}right\textquotesingle{}), then the child surface will be placed in the specified direction; otherwise, the child surface will be centered over the anchor point on any axis that had no gravity specified.

If two parallel gravities are specified (e.\+g. \textquotesingle{}left\textquotesingle{} and \textquotesingle{}right\textquotesingle{}), the invalid\+\_\+input error is raised. \mbox{\Hypertarget{group__iface__zxdg__positioner__v6_ga763d6f33376aee107e4b8c92def38cf0}\label{group__iface__zxdg__positioner__v6_ga763d6f33376aee107e4b8c92def38cf0}} 
\index{The zxdg\+\_\+positioner\+\_\+v6 interface@{The zxdg\+\_\+positioner\+\_\+v6 interface}!zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+constraint\+\_\+adjustment@{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+constraint\+\_\+adjustment}}
\index{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+constraint\+\_\+adjustment@{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+constraint\+\_\+adjustment}!The zxdg\+\_\+positioner\+\_\+v6 interface@{The zxdg\+\_\+positioner\+\_\+v6 interface}}
\subsubsection{\texorpdfstring{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+constraint\+\_\+adjustment()}{zxdg\_positioner\_v6\_set\_constraint\_adjustment()}}
{\footnotesize\ttfamily static void zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+constraint\+\_\+adjustment (\begin{DoxyParamCaption}\item[{struct zxdg\+\_\+positioner\+\_\+v6 $\ast$}]{zxdg\+\_\+positioner\+\_\+v6,  }\item[{uint32\+\_\+t}]{constraint\+\_\+adjustment }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Specify how the window should be positioned if the originally intended position caused the surface to be constrained, meaning at least partially outside positioning boundaries set by the compositor. 

The adjustment is set by constructing a bitmask describing the adjustment to be made when the surface is constrained on that axis.

If no bit for one axis is set, the compositor will assume that the child surface should not change its position on that axis when constrained.

If more than one bit for one axis is set, the order of how adjustments are applied is specified in the corresponding adjustment descriptions.

The default adjustment is none. \mbox{\Hypertarget{group__iface__zxdg__positioner__v6_gaccace76b0bd23291cb47eb2d2d146467}\label{group__iface__zxdg__positioner__v6_gaccace76b0bd23291cb47eb2d2d146467}} 
\index{The zxdg\+\_\+positioner\+\_\+v6 interface@{The zxdg\+\_\+positioner\+\_\+v6 interface}!zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+offset@{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+offset}}
\index{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+offset@{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+offset}!The zxdg\+\_\+positioner\+\_\+v6 interface@{The zxdg\+\_\+positioner\+\_\+v6 interface}}
\subsubsection{\texorpdfstring{zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+offset()}{zxdg\_positioner\_v6\_set\_offset()}}
{\footnotesize\ttfamily static void zxdg\+\_\+positioner\+\_\+v6\+\_\+set\+\_\+offset (\begin{DoxyParamCaption}\item[{struct zxdg\+\_\+positioner\+\_\+v6 $\ast$}]{zxdg\+\_\+positioner\+\_\+v6,  }\item[{int32\+\_\+t}]{x,  }\item[{int32\+\_\+t}]{y }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Specify the surface position offset relative to the position of the anchor on the anchor rectangle and the anchor on the surface. 

For example if the anchor of the anchor rectangle is at (x, y), the surface has the gravity bottom$\vert$right, and the offset is (ox, oy), the calculated surface position will be (x + ox, y + oy). The offset position of the surface is the one used for constraint testing. See set\+\_\+constraint\+\_\+adjustment.

An example use case is placing a popup menu on top of a user interface element, while aligning the user interface element of the parent surface with some user interface element placed somewhere in the popup surface. 