\hypertarget{structzxdg__toplevel__v6__interface}{}\section{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface Struct Reference}
\label{structzxdg__toplevel__v6__interface}\index{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
void($\ast$ \mbox{\hyperlink{structzxdg__toplevel__v6__interface_ae5e48d2e3138b4f082892f399bbd0001}{destroy}} )(struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource)
\begin{DoxyCompactList}\small\item\em destroy the xdg\+\_\+toplevel \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzxdg__toplevel__v6__interface_a253c3a3b9e280330c225e073d63ff13b}{set\+\_\+parent}} )(struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, struct wl\+\_\+resource $\ast$parent)
\begin{DoxyCompactList}\small\item\em set the parent of this surface \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzxdg__toplevel__v6__interface_a1977d0d7c58f3c341c674e97f30ad0ee}{set\+\_\+title}} )(struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, const char $\ast$title)
\begin{DoxyCompactList}\small\item\em set surface title \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzxdg__toplevel__v6__interface_a89e98ad0f942f098daac14db62bbe708}{set\+\_\+app\+\_\+id}} )(struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, const char $\ast$app\+\_\+id)
\begin{DoxyCompactList}\small\item\em set application ID \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzxdg__toplevel__v6__interface_ade932a1d8b28717380da82ae7b59ead4}{show\+\_\+window\+\_\+menu}} )(struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, struct wl\+\_\+resource $\ast$seat, uint32\+\_\+t serial, int32\+\_\+t x, int32\+\_\+t y)
\begin{DoxyCompactList}\small\item\em show the window menu \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzxdg__toplevel__v6__interface_ae9cba9fd1ccf4bb4f543baeaf72929f0}{move}} )(struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, struct wl\+\_\+resource $\ast$seat, uint32\+\_\+t serial)
\begin{DoxyCompactList}\small\item\em start an interactive move \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzxdg__toplevel__v6__interface_aae337f13dd39f4a37b41604b3c879adc}{resize}} )(struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, struct wl\+\_\+resource $\ast$seat, uint32\+\_\+t serial, uint32\+\_\+t edges)
\begin{DoxyCompactList}\small\item\em start an interactive resize \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzxdg__toplevel__v6__interface_a5ee9974efefee2c0ed41cbd62e0027e5}{set\+\_\+max\+\_\+size}} )(struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, int32\+\_\+t width, int32\+\_\+t height)
\begin{DoxyCompactList}\small\item\em set the maximum size \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzxdg__toplevel__v6__interface_acaad44b2131aa94f67cc30c508088512}{set\+\_\+min\+\_\+size}} )(struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, int32\+\_\+t width, int32\+\_\+t height)
\begin{DoxyCompactList}\small\item\em set the minimum size \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzxdg__toplevel__v6__interface_a7b3aaa379542d93ebb9840acc1624959}{set\+\_\+maximized}} )(struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource)
\begin{DoxyCompactList}\small\item\em maximize the window \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzxdg__toplevel__v6__interface_a0dc1814c8ba9dce8e3aac67c04581bab}{unset\+\_\+maximized}} )(struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource)
\begin{DoxyCompactList}\small\item\em unmaximize the window \end{DoxyCompactList}\item 
void($\ast$ \mbox{\hyperlink{structzxdg__toplevel__v6__interface_ac77b60c95bb7c89350bd54f71bd26620}{set\+\_\+fullscreen}} )(struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, struct wl\+\_\+resource $\ast$output)
\begin{DoxyCompactList}\small\item\em set the window as fullscreen on a monitor \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structzxdg__toplevel__v6__interface_ad5e8fde75776f9f396cfa2b0931184ea}\label{structzxdg__toplevel__v6__interface_ad5e8fde75776f9f396cfa2b0931184ea}} 
void($\ast$ {\bfseries unset\+\_\+fullscreen} )(struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource)
\item 
void($\ast$ \mbox{\hyperlink{structzxdg__toplevel__v6__interface_a3f477e3dcc4d7be2ce4d04d77597d162}{set\+\_\+minimized}} )(struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource)
\begin{DoxyCompactList}\small\item\em set the window as minimized \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Field Documentation}
\mbox{\Hypertarget{structzxdg__toplevel__v6__interface_ae5e48d2e3138b4f082892f399bbd0001}\label{structzxdg__toplevel__v6__interface_ae5e48d2e3138b4f082892f399bbd0001}} 
\index{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}!destroy@{destroy}}
\index{destroy@{destroy}!zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}}
\subsubsection{\texorpdfstring{destroy}{destroy}}
{\footnotesize\ttfamily void($\ast$ zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface\+::destroy) (struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource)}



destroy the xdg\+\_\+toplevel 

Unmap and destroy the window. The window will be effectively hidden from the user\textquotesingle{}s point of view, and all state like maximization, fullscreen, and so on, will be lost. \mbox{\Hypertarget{structzxdg__toplevel__v6__interface_a253c3a3b9e280330c225e073d63ff13b}\label{structzxdg__toplevel__v6__interface_a253c3a3b9e280330c225e073d63ff13b}} 
\index{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}!set\+\_\+parent@{set\+\_\+parent}}
\index{set\+\_\+parent@{set\+\_\+parent}!zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}}
\subsubsection{\texorpdfstring{set\+\_\+parent}{set\_parent}}
{\footnotesize\ttfamily void($\ast$ zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface\+::set\+\_\+parent) (struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, struct wl\+\_\+resource $\ast$parent)}



set the parent of this surface 

Set the \char`\"{}parent\char`\"{} of this surface. This window should be stacked above a parent. The parent surface must be mapped as long as this surface is mapped.

Parent windows should be set on dialogs, toolboxes, or other \char`\"{}auxiliary\char`\"{} surfaces, so that the parent is raised when the dialog is raised. \mbox{\Hypertarget{structzxdg__toplevel__v6__interface_a1977d0d7c58f3c341c674e97f30ad0ee}\label{structzxdg__toplevel__v6__interface_a1977d0d7c58f3c341c674e97f30ad0ee}} 
\index{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}!set\+\_\+title@{set\+\_\+title}}
\index{set\+\_\+title@{set\+\_\+title}!zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}}
\subsubsection{\texorpdfstring{set\+\_\+title}{set\_title}}
{\footnotesize\ttfamily void($\ast$ zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface\+::set\+\_\+title) (struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, const char $\ast$title)}



set surface title 

Set a short title for the surface.

This string may be used to identify the surface in a task bar, window list, or other user interface elements provided by the compositor.

The string must be encoded in U\+T\+F-\/8. \mbox{\Hypertarget{structzxdg__toplevel__v6__interface_a89e98ad0f942f098daac14db62bbe708}\label{structzxdg__toplevel__v6__interface_a89e98ad0f942f098daac14db62bbe708}} 
\index{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}!set\+\_\+app\+\_\+id@{set\+\_\+app\+\_\+id}}
\index{set\+\_\+app\+\_\+id@{set\+\_\+app\+\_\+id}!zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}}
\subsubsection{\texorpdfstring{set\+\_\+app\+\_\+id}{set\_app\_id}}
{\footnotesize\ttfamily void($\ast$ zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface\+::set\+\_\+app\+\_\+id) (struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, const char $\ast$app\+\_\+id)}



set application ID 

Set an application identifier for the surface.

The app ID identifies the general class of applications to which the surface belongs. The compositor can use this to group multiple surfaces together, or to determine how to launch a new application.

For D-\/\+Bus activatable applications, the app ID is used as the D-\/\+Bus service name.

The compositor shell will try to group application surfaces together by their app ID. As a best practice, it is suggested to select app ID\textquotesingle{}s that match the basename of the application\textquotesingle{}s .desktop file. For example, \char`\"{}org.\+freedesktop.\+Foo\+Viewer\char`\"{} where the .desktop file is \char`\"{}org.\+freedesktop.\+Foo\+Viewer.\+desktop\char`\"{}.

See the desktop-\/entry specification \mbox{[}0\mbox{]} for more details on application identifiers and how they relate to well-\/known D-\/\+Bus names and .desktop files.

\mbox{[}0\mbox{]} \href{http://standards.freedesktop.org/desktop-entry-spec/}{\tt http\+://standards.\+freedesktop.\+org/desktop-\/entry-\/spec/} \mbox{\Hypertarget{structzxdg__toplevel__v6__interface_ade932a1d8b28717380da82ae7b59ead4}\label{structzxdg__toplevel__v6__interface_ade932a1d8b28717380da82ae7b59ead4}} 
\index{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}!show\+\_\+window\+\_\+menu@{show\+\_\+window\+\_\+menu}}
\index{show\+\_\+window\+\_\+menu@{show\+\_\+window\+\_\+menu}!zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}}
\subsubsection{\texorpdfstring{show\+\_\+window\+\_\+menu}{show\_window\_menu}}
{\footnotesize\ttfamily void($\ast$ zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface\+::show\+\_\+window\+\_\+menu) (struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, struct wl\+\_\+resource $\ast$seat, uint32\+\_\+t serial, int32\+\_\+t x, int32\+\_\+t y)}



show the window menu 

Clients implementing client-\/side decorations might want to show a context menu when right-\/clicking on the decorations, giving the user a menu that they can use to maximize or minimize the window.

This request asks the compositor to pop up such a window menu at the given position, relative to the local surface coordinates of the parent surface. There are no guarantees as to what menu items the window menu contains.

This request must be used in response to some sort of user action like a button press, key press, or touch down event. 
\begin{DoxyParams}{Parameters}
{\em seat} & the wl\+\_\+seat of the user event \\
\hline
{\em serial} & the serial of the user event \\
\hline
{\em x} & the x position to pop up the window menu at \\
\hline
{\em y} & the y position to pop up the window menu at \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{structzxdg__toplevel__v6__interface_ae9cba9fd1ccf4bb4f543baeaf72929f0}\label{structzxdg__toplevel__v6__interface_ae9cba9fd1ccf4bb4f543baeaf72929f0}} 
\index{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}!move@{move}}
\index{move@{move}!zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}}
\subsubsection{\texorpdfstring{move}{move}}
{\footnotesize\ttfamily void($\ast$ zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface\+::move) (struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, struct wl\+\_\+resource $\ast$seat, uint32\+\_\+t serial)}



start an interactive move 

Start an interactive, user-\/driven move of the surface.

This request must be used in response to some sort of user action like a button press, key press, or touch down event. The passed serial is used to determine the type of interactive move (touch, pointer, etc).

The server may ignore move requests depending on the state of the surface (e.\+g. fullscreen or maximized), or if the passed serial is no longer valid.

If triggered, the surface will lose the focus of the device (wl\+\_\+pointer, wl\+\_\+touch, etc) used for the move. It is up to the compositor to visually indicate that the move is taking place, such as updating a pointer cursor, during the move. There is no guarantee that the device focus will return when the move is completed. 
\begin{DoxyParams}{Parameters}
{\em seat} & the wl\+\_\+seat of the user event \\
\hline
{\em serial} & the serial of the user event \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{structzxdg__toplevel__v6__interface_aae337f13dd39f4a37b41604b3c879adc}\label{structzxdg__toplevel__v6__interface_aae337f13dd39f4a37b41604b3c879adc}} 
\index{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}!resize@{resize}}
\index{resize@{resize}!zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}}
\subsubsection{\texorpdfstring{resize}{resize}}
{\footnotesize\ttfamily void($\ast$ zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface\+::resize) (struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, struct wl\+\_\+resource $\ast$seat, uint32\+\_\+t serial, uint32\+\_\+t edges)}



start an interactive resize 

Start a user-\/driven, interactive resize of the surface.

This request must be used in response to some sort of user action like a button press, key press, or touch down event. The passed serial is used to determine the type of interactive resize (touch, pointer, etc).

The server may ignore resize requests depending on the state of the surface (e.\+g. fullscreen or maximized).

If triggered, the client will receive configure events with the \char`\"{}resize\char`\"{} state enum value and the expected sizes. See the \char`\"{}resize\char`\"{} enum value for more details about what is required. The client must also acknowledge configure events using \char`\"{}ack\+\_\+configure\char`\"{}. After the resize is completed, the client will receive another \char`\"{}configure\char`\"{} event without the resize state.

If triggered, the surface also will lose the focus of the device (wl\+\_\+pointer, wl\+\_\+touch, etc) used for the resize. It is up to the compositor to visually indicate that the resize is taking place, such as updating a pointer cursor, during the resize. There is no guarantee that the device focus will return when the resize is completed.

The edges parameter specifies how the surface should be resized, and is one of the values of the resize\+\_\+edge enum. The compositor may use this information to update the surface position for example when dragging the top left corner. The compositor may also use this information to adapt its behavior, e.\+g. choose an appropriate cursor image. 
\begin{DoxyParams}{Parameters}
{\em seat} & the wl\+\_\+seat of the user event \\
\hline
{\em serial} & the serial of the user event \\
\hline
{\em edges} & which edge or corner is being dragged \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{structzxdg__toplevel__v6__interface_a5ee9974efefee2c0ed41cbd62e0027e5}\label{structzxdg__toplevel__v6__interface_a5ee9974efefee2c0ed41cbd62e0027e5}} 
\index{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}!set\+\_\+max\+\_\+size@{set\+\_\+max\+\_\+size}}
\index{set\+\_\+max\+\_\+size@{set\+\_\+max\+\_\+size}!zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}}
\subsubsection{\texorpdfstring{set\+\_\+max\+\_\+size}{set\_max\_size}}
{\footnotesize\ttfamily void($\ast$ zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface\+::set\+\_\+max\+\_\+size) (struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, int32\+\_\+t width, int32\+\_\+t height)}



set the maximum size 

Set a maximum size for the window.

The client can specify a maximum size so that the compositor does not try to configure the window beyond this size.

The width and height arguments are in window geometry coordinates. See xdg\+\_\+surface.\+set\+\_\+window\+\_\+geometry.

Values set in this way are double-\/buffered. They will get applied on the next commit.

The compositor can use this information to allow or disallow different states like maximize or fullscreen and draw accurate animations.

Similarly, a tiling window manager may use this information to place and resize client windows in a more effective way.

The client should not rely on the compositor to obey the maximum size. The compositor may decide to ignore the values set by the client and request a larger size.

If never set, or a value of zero in the request, means that the client has no expected maximum size in the given dimension. As a result, a client wishing to reset the maximum size to an unspecified state can use zero for width and height in the request.

Requesting a maximum size to be smaller than the minimum size of a surface is illegal and will result in a protocol error.

The width and height must be greater than or equal to zero. Using strictly negative values for width and height will result in a protocol error. \mbox{\Hypertarget{structzxdg__toplevel__v6__interface_acaad44b2131aa94f67cc30c508088512}\label{structzxdg__toplevel__v6__interface_acaad44b2131aa94f67cc30c508088512}} 
\index{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}!set\+\_\+min\+\_\+size@{set\+\_\+min\+\_\+size}}
\index{set\+\_\+min\+\_\+size@{set\+\_\+min\+\_\+size}!zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}}
\subsubsection{\texorpdfstring{set\+\_\+min\+\_\+size}{set\_min\_size}}
{\footnotesize\ttfamily void($\ast$ zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface\+::set\+\_\+min\+\_\+size) (struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, int32\+\_\+t width, int32\+\_\+t height)}



set the minimum size 

Set a minimum size for the window.

The client can specify a minimum size so that the compositor does not try to configure the window below this size.

The width and height arguments are in window geometry coordinates. See xdg\+\_\+surface.\+set\+\_\+window\+\_\+geometry.

Values set in this way are double-\/buffered. They will get applied on the next commit.

The compositor can use this information to allow or disallow different states like maximize or fullscreen and draw accurate animations.

Similarly, a tiling window manager may use this information to place and resize client windows in a more effective way.

The client should not rely on the compositor to obey the minimum size. The compositor may decide to ignore the values set by the client and request a smaller size.

If never set, or a value of zero in the request, means that the client has no expected minimum size in the given dimension. As a result, a client wishing to reset the minimum size to an unspecified state can use zero for width and height in the request.

Requesting a minimum size to be larger than the maximum size of a surface is illegal and will result in a protocol error.

The width and height must be greater than or equal to zero. Using strictly negative values for width and height will result in a protocol error. \mbox{\Hypertarget{structzxdg__toplevel__v6__interface_a7b3aaa379542d93ebb9840acc1624959}\label{structzxdg__toplevel__v6__interface_a7b3aaa379542d93ebb9840acc1624959}} 
\index{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}!set\+\_\+maximized@{set\+\_\+maximized}}
\index{set\+\_\+maximized@{set\+\_\+maximized}!zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}}
\subsubsection{\texorpdfstring{set\+\_\+maximized}{set\_maximized}}
{\footnotesize\ttfamily void($\ast$ zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface\+::set\+\_\+maximized) (struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource)}



maximize the window 

Maximize the surface.

After requesting that the surface should be maximized, the compositor will respond by emitting a configure event with the \char`\"{}maximized\char`\"{} state and the required window geometry. The client should then update its content, drawing it in a maximized state, i.\+e. without shadow or other decoration outside of the window geometry. The client must also acknowledge the configure when committing the new content (see ack\+\_\+configure).

It is up to the compositor to decide how and where to maximize the surface, for example which output and what region of the screen should be used.

If the surface was already maximized, the compositor will still emit a configure event with the \char`\"{}maximized\char`\"{} state. \mbox{\Hypertarget{structzxdg__toplevel__v6__interface_a0dc1814c8ba9dce8e3aac67c04581bab}\label{structzxdg__toplevel__v6__interface_a0dc1814c8ba9dce8e3aac67c04581bab}} 
\index{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}!unset\+\_\+maximized@{unset\+\_\+maximized}}
\index{unset\+\_\+maximized@{unset\+\_\+maximized}!zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}}
\subsubsection{\texorpdfstring{unset\+\_\+maximized}{unset\_maximized}}
{\footnotesize\ttfamily void($\ast$ zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface\+::unset\+\_\+maximized) (struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource)}



unmaximize the window 

Unmaximize the surface.

After requesting that the surface should be unmaximized, the compositor will respond by emitting a configure event without the \char`\"{}maximized\char`\"{} state. If available, the compositor will include the window geometry dimensions the window had prior to being maximized in the configure request. The client must then update its content, drawing it in a regular state, i.\+e. potentially with shadow, etc. The client must also acknowledge the configure when committing the new content (see ack\+\_\+configure).

It is up to the compositor to position the surface after it was unmaximized; usually the position the surface had before maximizing, if applicable.

If the surface was already not maximized, the compositor will still emit a configure event without the \char`\"{}maximized\char`\"{} state. \mbox{\Hypertarget{structzxdg__toplevel__v6__interface_ac77b60c95bb7c89350bd54f71bd26620}\label{structzxdg__toplevel__v6__interface_ac77b60c95bb7c89350bd54f71bd26620}} 
\index{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}!set\+\_\+fullscreen@{set\+\_\+fullscreen}}
\index{set\+\_\+fullscreen@{set\+\_\+fullscreen}!zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}}
\subsubsection{\texorpdfstring{set\+\_\+fullscreen}{set\_fullscreen}}
{\footnotesize\ttfamily void($\ast$ zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface\+::set\+\_\+fullscreen) (struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource, struct wl\+\_\+resource $\ast$output)}



set the window as fullscreen on a monitor 

Make the surface fullscreen.

You can specify an output that you would prefer to be fullscreen. If this value is N\+U\+LL, it\textquotesingle{}s up to the compositor to choose which display will be used to map this surface.

If the surface doesn\textquotesingle{}t cover the whole output, the compositor will position the surface in the center of the output and compensate with black borders filling the rest of the output. \mbox{\Hypertarget{structzxdg__toplevel__v6__interface_a3f477e3dcc4d7be2ce4d04d77597d162}\label{structzxdg__toplevel__v6__interface_a3f477e3dcc4d7be2ce4d04d77597d162}} 
\index{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}!set\+\_\+minimized@{set\+\_\+minimized}}
\index{set\+\_\+minimized@{set\+\_\+minimized}!zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface@{zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface}}
\subsubsection{\texorpdfstring{set\+\_\+minimized}{set\_minimized}}
{\footnotesize\ttfamily void($\ast$ zxdg\+\_\+toplevel\+\_\+v6\+\_\+interface\+::set\+\_\+minimized) (struct wl\+\_\+client $\ast$client, struct wl\+\_\+resource $\ast$resource)}



set the window as minimized 

Request that the compositor minimize your surface. There is no way to know if the surface is currently minimized, nor is there any way to unset minimization on this surface.

If you are looking to throttle redrawing when minimized, please instead use the wl\+\_\+surface.\+frame event for this, as this will also work with live previews on windows in Alt-\/\+Tab, Expose or similar compositor features. 