wlmaker
Loading...
Searching...
No Matches
Typedefs | Functions | Variables
xwl_content.h File Reference
#include <libbase/libbase.h>
#include "server.h"
#include "toolkit/toolkit.h"
#include "xwl.h"
Include dependency graph for xwl_content.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct _wlmaker_xwl_content_t wlmaker_xwl_content_t
 

Functions

wlmaker_xwl_content_twlmaker_xwl_content_create (struct wlr_xwayland_surface *wlr_xwayland_surface_ptr, wlmaker_xwl_t *xwl_ptr, wlmaker_server_t *server_ptr)
 
void wlmaker_xwl_content_destroy (wlmaker_xwl_content_t *xwl_content_ptr)
 
wlmtk_content_twlmtk_content_from_xwl_content (wlmaker_xwl_content_t *xwl_content_ptr)
 
wlmtk_surface_twlmtk_surface_from_xwl_content (wlmaker_xwl_content_t *xwl_content_ptr)
 

Variables

const bs_test_case_t wlmaker_xwl_content_test_cases []
 

Detailed Description

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Typedef Documentation

◆ wlmaker_xwl_content_t

XWayland window (content) state.

Function Documentation

◆ wlmaker_xwl_content_create()

wlmaker_xwl_content_t * wlmaker_xwl_content_create ( struct wlr_xwayland_surface *  wlr_xwayland_surface_ptr,
wlmaker_xwl_t xwl_ptr,
wlmaker_server_t server_ptr 
)

Creates an XWayland window. Technically, window content.

Parameters
wlr_xwayland_surface_ptr
xwl_ptr
server_ptr
Returns
Pointer to a wlmaker_xwl_content_t.

◆ wlmaker_xwl_content_destroy()

void wlmaker_xwl_content_destroy ( wlmaker_xwl_content_t xwl_content_ptr)

Destroys the XWayland window (content).

Parameters
xwl_content_ptr

◆ wlmtk_content_from_xwl_content()

wlmtk_content_t * wlmtk_content_from_xwl_content ( wlmaker_xwl_content_t xwl_content_ptr)

Gets the wlmtk_content_t for the XWL content.

◆ wlmtk_surface_from_xwl_content()

wlmtk_surface_t * wlmtk_surface_from_xwl_content ( wlmaker_xwl_content_t xwl_content_ptr)

Gets the wlmtk_surface_t. Only valid if associated.

Variable Documentation

◆ wlmaker_xwl_content_test_cases

const bs_test_case_t wlmaker_xwl_content_test_cases[]
extern

Unit tests for XWL content.