\hypertarget{group__Ecore__Wl__Display__Group}{}\section{Wayland Display Functions}
\label{group__Ecore__Wl__Display__Group}\index{Wayland Display Functions@{Wayland Display Functions}}


Functions that set and retrieve various information about the Wayland Display.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} struct wl\+\_\+shm $\ast$ \mbox{\hyperlink{group__Ecore__Wl__Display__Group_ga4f55fcc1b48c8f3d523295f2e49444ee}{ecore\+\_\+wl\+\_\+shm\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the Wayland Shm Interface used for the current Wayland connection. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} struct wl\+\_\+display $\ast$ \mbox{\hyperlink{group__Ecore__Wl__Display__Group_ga43287d8db4c872c0b9fb83622bdbfbbb}{ecore\+\_\+wl\+\_\+display\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the Wayland Display Interface used for the current Wayland connection. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ecore__Wl__Display__Group_ga80ec8ec5a95f1770cf36ec7cf1cff653}{ecore\+\_\+wl\+\_\+screen\+\_\+size\+\_\+get}} (int $\ast$w, int $\ast$h)
\begin{DoxyCompactList}\small\item\em Retrieves the Compositor interface. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ecore__Wl__Display__Group_gab796e30d4875384ace0bbad18df3d51b}{ecore\+\_\+wl\+\_\+pointer\+\_\+xy\+\_\+get}} (int $\ast$x, int $\ast$y)
\begin{DoxyCompactList}\small\item\em Retrieves the position of the current screen. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}} $\ast$ \mbox{\hyperlink{group__Ecore__Wl__Display__Group_gad9db7bdf16c4df4176cc7038b74ddfb7}{ecore\+\_\+wl\+\_\+globals\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the Wayland Globals Interface list used for the current Wayland connection. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} struct wl\+\_\+registry $\ast$ \mbox{\hyperlink{group__Ecore__Wl__Display__Group_gab57306f198bd9a40455ec66ff1f96efd}{ecore\+\_\+wl\+\_\+registry\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the Wayland Registry used for the current Wayland connection. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions that set and retrieve various information about the Wayland Display. 



\subsection{Function Documentation}
\mbox{\Hypertarget{group__Ecore__Wl__Display__Group_ga4f55fcc1b48c8f3d523295f2e49444ee}\label{group__Ecore__Wl__Display__Group_ga4f55fcc1b48c8f3d523295f2e49444ee}} 
\index{Wayland Display Functions@{Wayland Display Functions}!ecore\+\_\+wl\+\_\+shm\+\_\+get@{ecore\+\_\+wl\+\_\+shm\+\_\+get}}
\index{ecore\+\_\+wl\+\_\+shm\+\_\+get@{ecore\+\_\+wl\+\_\+shm\+\_\+get}!Wayland Display Functions@{Wayland Display Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+wl\+\_\+shm\+\_\+get()}{ecore\_wl\_shm\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} struct wl\+\_\+shm$\ast$ ecore\+\_\+wl\+\_\+shm\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Retrieves the Wayland Shm Interface used for the current Wayland connection. 

\begin{DoxyReturn}{Returns}
The current wayland shm interface, or N\+U\+LL on error
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Ecore__Wl__Display__Group_ga43287d8db4c872c0b9fb83622bdbfbbb}\label{group__Ecore__Wl__Display__Group_ga43287d8db4c872c0b9fb83622bdbfbbb}} 
\index{Wayland Display Functions@{Wayland Display Functions}!ecore\+\_\+wl\+\_\+display\+\_\+get@{ecore\+\_\+wl\+\_\+display\+\_\+get}}
\index{ecore\+\_\+wl\+\_\+display\+\_\+get@{ecore\+\_\+wl\+\_\+display\+\_\+get}!Wayland Display Functions@{Wayland Display Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+wl\+\_\+display\+\_\+get()}{ecore\_wl\_display\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} struct wl\+\_\+display$\ast$ ecore\+\_\+wl\+\_\+display\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Retrieves the Wayland Display Interface used for the current Wayland connection. 

\begin{DoxyReturn}{Returns}
The current wayland display interface, or N\+U\+LL on error
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Ecore__Wl__Display__Group_ga80ec8ec5a95f1770cf36ec7cf1cff653}\label{group__Ecore__Wl__Display__Group_ga80ec8ec5a95f1770cf36ec7cf1cff653}} 
\index{Wayland Display Functions@{Wayland Display Functions}!ecore\+\_\+wl\+\_\+screen\+\_\+size\+\_\+get@{ecore\+\_\+wl\+\_\+screen\+\_\+size\+\_\+get}}
\index{ecore\+\_\+wl\+\_\+screen\+\_\+size\+\_\+get@{ecore\+\_\+wl\+\_\+screen\+\_\+size\+\_\+get}!Wayland Display Functions@{Wayland Display Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+wl\+\_\+screen\+\_\+size\+\_\+get()}{ecore\_wl\_screen\_size\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ecore\+\_\+wl\+\_\+screen\+\_\+size\+\_\+get (\begin{DoxyParamCaption}\item[{int $\ast$}]{w,  }\item[{int $\ast$}]{h }\end{DoxyParamCaption})}



Retrieves the Compositor interface. 

This interface is used by clients to request the creation of surfaces and regions.

\begin{DoxyReturn}{Returns}
The current wayland compositor interface, or N\+U\+LL on error 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8
\end{DoxySince}
Retrieves the size of the current screen.


\begin{DoxyParams}{Parameters}
{\em w} & Where to return the width. May be N\+U\+LL. Returns {\ttfamily 0} on error. \\
\hline
{\em h} & Where to return the height. May be N\+U\+LL. Returns {\ttfamily 0} on error.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}


References ecore\+\_\+wl\+\_\+sync(), and E\+I\+N\+A\+\_\+\+I\+N\+L\+I\+S\+T\+\_\+\+F\+O\+R\+E\+A\+C\+H\+\_\+\+S\+A\+FE.

\mbox{\Hypertarget{group__Ecore__Wl__Display__Group_gab796e30d4875384ace0bbad18df3d51b}\label{group__Ecore__Wl__Display__Group_gab796e30d4875384ace0bbad18df3d51b}} 
\index{Wayland Display Functions@{Wayland Display Functions}!ecore\+\_\+wl\+\_\+pointer\+\_\+xy\+\_\+get@{ecore\+\_\+wl\+\_\+pointer\+\_\+xy\+\_\+get}}
\index{ecore\+\_\+wl\+\_\+pointer\+\_\+xy\+\_\+get@{ecore\+\_\+wl\+\_\+pointer\+\_\+xy\+\_\+get}!Wayland Display Functions@{Wayland Display Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+wl\+\_\+pointer\+\_\+xy\+\_\+get()}{ecore\_wl\_pointer\_xy\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ecore\+\_\+wl\+\_\+pointer\+\_\+xy\+\_\+get (\begin{DoxyParamCaption}\item[{int $\ast$}]{x,  }\item[{int $\ast$}]{y }\end{DoxyParamCaption})}



Retrieves the position of the current screen. 


\begin{DoxyParams}{Parameters}
{\em x} & Where to return the horizontal position. May be N\+U\+LL. Returns {\ttfamily 0} on error. \\
\hline
{\em y} & Where to return the vertical position. May be N\+U\+LL. Returns {\ttfamily 0} on error.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\mbox{\Hypertarget{group__Ecore__Wl__Display__Group_gad9db7bdf16c4df4176cc7038b74ddfb7}\label{group__Ecore__Wl__Display__Group_gad9db7bdf16c4df4176cc7038b74ddfb7}} 
\index{Wayland Display Functions@{Wayland Display Functions}!ecore\+\_\+wl\+\_\+globals\+\_\+get@{ecore\+\_\+wl\+\_\+globals\+\_\+get}}
\index{ecore\+\_\+wl\+\_\+globals\+\_\+get@{ecore\+\_\+wl\+\_\+globals\+\_\+get}!Wayland Display Functions@{Wayland Display Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+wl\+\_\+globals\+\_\+get()}{ecore\_wl\_globals\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Inline__List__Group_gad93973c87f867f249482e936797096ad}{Eina\+\_\+\+Inlist}}$\ast$ ecore\+\_\+wl\+\_\+globals\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Retrieves the Wayland Globals Interface list used for the current Wayland connection. 

This call, if done after the E\+C\+O\+R\+E\+\_\+\+W\+L\+\_\+\+E\+V\+E\+N\+T\+\_\+\+I\+N\+T\+E\+R\+F\+A\+C\+E\+S\+\_\+\+B\+O\+U\+ND event was received already, won\textquotesingle{}t block the mainloop or trigger a dispatch. It will return the current globals immediately. However, if done before this event, it will probably block the mainloop waiting for the sync \char`\"{}done\char`\"{} event to be received (by using one or more wl\+\_\+display\+\_\+dispatch call), and then finally return the wl globals list.

There\textquotesingle{}s no need to call dispatch manually, since this call will do it if necessary.

\begin{DoxyReturn}{Returns}
The current wayland globals interface list, or N\+U\+LL on error
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+7.\+6 
\end{DoxySince}
\mbox{\Hypertarget{group__Ecore__Wl__Display__Group_gab57306f198bd9a40455ec66ff1f96efd}\label{group__Ecore__Wl__Display__Group_gab57306f198bd9a40455ec66ff1f96efd}} 
\index{Wayland Display Functions@{Wayland Display Functions}!ecore\+\_\+wl\+\_\+registry\+\_\+get@{ecore\+\_\+wl\+\_\+registry\+\_\+get}}
\index{ecore\+\_\+wl\+\_\+registry\+\_\+get@{ecore\+\_\+wl\+\_\+registry\+\_\+get}!Wayland Display Functions@{Wayland Display Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+wl\+\_\+registry\+\_\+get()}{ecore\_wl\_registry\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} struct wl\+\_\+registry$\ast$ ecore\+\_\+wl\+\_\+registry\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Retrieves the Wayland Registry used for the current Wayland connection. 

\begin{DoxyReturn}{Returns}
The current wayland registry, or N\+U\+LL on error
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+7.\+6 
\end{DoxySince}
