\hypertarget{structxdg__wm__base__interface}{}\section{xdg\+\_\+wm\+\_\+base\+\_\+interface Struct Reference}
\label{structxdg__wm__base__interface}\index{xdg\+\_\+wm\+\_\+base\+\_\+interface@{xdg\+\_\+wm\+\_\+base\+\_\+interface}}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
void($\ast$ \mbox{\hyperlink{structxdg__wm__base__interface_a80015da6391751802b526ec85651c8a4}{destroy}} )(struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource)
\begin{DoxyCompactList}\small\item\em destroy xdg\+\_\+wm\+\_\+base \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structxdg__wm__base__interface_a1d7206e1bb2c8b55756a486d8dd91818}{create\+\_\+positioner}} )(struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, uint32\+\_\+t id)
\begin{DoxyCompactList}\small\item\em create a positioner object \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structxdg__wm__base__interface_abfd93ee12cb75729a182da61d1752185}{get\+\_\+xdg\+\_\+surface}} )(struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, uint32\+\_\+t id, struct wl\+\_\+resource $\ast$surface)
\begin{DoxyCompactList}\small\item\em create a shell surface from a surface \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structxdg__wm__base__interface_a9ec31bfb88b2acc6c13febfb187de2a7}{pong}} )(struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, uint32\+\_\+t serial)
\begin{DoxyCompactList}\small\item\em respond to a ping event \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Field Documentation}
\mbox{\Hypertarget{structxdg__wm__base__interface_a80015da6391751802b526ec85651c8a4}\label{structxdg__wm__base__interface_a80015da6391751802b526ec85651c8a4}} 
\index{xdg\+\_\+wm\+\_\+base\+\_\+interface@{xdg\+\_\+wm\+\_\+base\+\_\+interface}!destroy@{destroy}}
\index{destroy@{destroy}!xdg\+\_\+wm\+\_\+base\+\_\+interface@{xdg\+\_\+wm\+\_\+base\+\_\+interface}}
\subsubsection{\texorpdfstring{destroy}{destroy}}
{\footnotesize\ttfamily void($\ast$ xdg\+\_\+wm\+\_\+base\+\_\+interface\+::destroy) (struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource)}



destroy xdg\+\_\+wm\+\_\+base 

Destroy this xdg\+\_\+wm\+\_\+base object.

Destroying a bound xdg\+\_\+wm\+\_\+base object while there are surfaces still alive created by this xdg\+\_\+wm\+\_\+base object instance is illegal and will result in a protocol error. \mbox{\Hypertarget{structxdg__wm__base__interface_a1d7206e1bb2c8b55756a486d8dd91818}\label{structxdg__wm__base__interface_a1d7206e1bb2c8b55756a486d8dd91818}} 
\index{xdg\+\_\+wm\+\_\+base\+\_\+interface@{xdg\+\_\+wm\+\_\+base\+\_\+interface}!create\+\_\+positioner@{create\+\_\+positioner}}
\index{create\+\_\+positioner@{create\+\_\+positioner}!xdg\+\_\+wm\+\_\+base\+\_\+interface@{xdg\+\_\+wm\+\_\+base\+\_\+interface}}
\subsubsection{\texorpdfstring{create\+\_\+positioner}{create\_positioner}}
{\footnotesize\ttfamily void($\ast$ xdg\+\_\+wm\+\_\+base\+\_\+interface\+::create\+\_\+positioner) (struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, uint32\+\_\+t id)}



create a positioner object 

Create a positioner object. A positioner object is used to position surfaces relative to some parent surface. See the interface description and xdg\+\_\+surface.\+get\+\_\+popup for details. \mbox{\Hypertarget{structxdg__wm__base__interface_abfd93ee12cb75729a182da61d1752185}\label{structxdg__wm__base__interface_abfd93ee12cb75729a182da61d1752185}} 
\index{xdg\+\_\+wm\+\_\+base\+\_\+interface@{xdg\+\_\+wm\+\_\+base\+\_\+interface}!get\+\_\+xdg\+\_\+surface@{get\+\_\+xdg\+\_\+surface}}
\index{get\+\_\+xdg\+\_\+surface@{get\+\_\+xdg\+\_\+surface}!xdg\+\_\+wm\+\_\+base\+\_\+interface@{xdg\+\_\+wm\+\_\+base\+\_\+interface}}
\subsubsection{\texorpdfstring{get\+\_\+xdg\+\_\+surface}{get\_xdg\_surface}}
{\footnotesize\ttfamily void($\ast$ xdg\+\_\+wm\+\_\+base\+\_\+interface\+::get\+\_\+xdg\+\_\+surface) (struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, uint32\+\_\+t id, struct wl\+\_\+resource $\ast$surface)}



create a shell surface from a surface 

This creates an xdg\+\_\+surface for the given surface. While xdg\+\_\+surface itself is not a role, the corresponding surface may only be assigned a role extending xdg\+\_\+surface, such as xdg\+\_\+toplevel or xdg\+\_\+popup.

This creates an xdg\+\_\+surface for the given surface. An xdg\+\_\+surface is used as basis to define a role to a given surface, such as xdg\+\_\+toplevel or xdg\+\_\+popup. It also manages functionality shared between xdg\+\_\+surface based surface roles.

See the documentation of xdg\+\_\+surface for more details about what an xdg\+\_\+surface is and how it is used. \mbox{\Hypertarget{structxdg__wm__base__interface_a9ec31bfb88b2acc6c13febfb187de2a7}\label{structxdg__wm__base__interface_a9ec31bfb88b2acc6c13febfb187de2a7}} 
\index{xdg\+\_\+wm\+\_\+base\+\_\+interface@{xdg\+\_\+wm\+\_\+base\+\_\+interface}!pong@{pong}}
\index{pong@{pong}!xdg\+\_\+wm\+\_\+base\+\_\+interface@{xdg\+\_\+wm\+\_\+base\+\_\+interface}}
\subsubsection{\texorpdfstring{pong}{pong}}
{\footnotesize\ttfamily void($\ast$ xdg\+\_\+wm\+\_\+base\+\_\+interface\+::pong) (struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, uint32\+\_\+t serial)}



respond to a ping event 

A client must respond to a ping event with a pong request or the client may be deemed unresponsive. See xdg\+\_\+wm\+\_\+base.\+ping. 
\begin{DoxyParams}{Parameters}
{\em serial} & serial of the ping event \\
\hline
\end{DoxyParams}
