wlmaker
Loading...
Searching...
No Matches
Public Attributes | List of all members
_wlmaker_view_t Struct Reference

#include <view.h>

Collaboration diagram for _wlmaker_view_t:
Collaboration graph
[legend]

Public Attributes

const wlmaker_view_impl_timpl_ptr
 
bs_dllist_node_t views_node
 
wlmaker_server_tserver_ptr
 
wlmaker_workspace_tworkspace_ptr
 
struct wlr_surface * wlr_surface_ptr
 
struct wlr_scene_tree * elements_wlr_scene_tree_ptr
 
struct wlr_scene_tree * view_wlr_scene_tree_ptr
 
wlmaker_view_send_close_callback_t send_close_callback
 
uint32_t anchor
 
bool active
 
struct wlr_box organic_box
 
bool maximized
 
bool fullscreen
 
bool shaded
 
wlmaker_workspace_layer_t default_layer
 
wlmaker_iconified_ticonified_ptr
 
struct wlr_scene_buffer * window_menu_wlr_scene_buffer_ptr
 
bs_avltree_t * interactive_tree_ptr
 
struct wl_listener button_release_listener
 
struct wlr_scene_node * pointer_focussed_wlr_scene_node_ptr
 
char * app_id_ptr
 
char * title_ptr
 
wlmaker_client_t client
 

Detailed Description

State of a view.

Member Data Documentation

◆ active

bool _wlmaker_view_t::active

Whether this view is currently active (focussed).

◆ anchor

uint32_t _wlmaker_view_t::anchor

Anchor of the view.

◆ app_id_ptr

char* _wlmaker_view_t::app_id_ptr

Application ID, as a UTF-8 string.

◆ button_release_listener

struct wl_listener _wlmaker_view_t::button_release_listener

Listener for "button release" signals. To catch releases off focus.

◆ client

wlmaker_client_t _wlmaker_view_t::client

Client information.

◆ default_layer

wlmaker_workspace_layer_t _wlmaker_view_t::default_layer

Default layer (unless the view is in fullscreen).

◆ elements_wlr_scene_tree_ptr

struct wlr_scene_tree* _wlmaker_view_t::elements_wlr_scene_tree_ptr

Scene graph tree, holding all the window elements.

Will hold the scene node of the view's surfaces & sub-surfaces (as provided to wlmaker_view_init and re-parented), the decorations and window menu.

The node.data field of the tree's scene node is a back-link pointing to wlmaker_view_t.

◆ fullscreen

bool _wlmaker_view_t::fullscreen

Whether the view is currently in full-screen mode.

◆ iconified_ptr

wlmaker_iconified_t* _wlmaker_view_t::iconified_ptr

Is set, iff the view is currently iconified.

◆ impl_ptr

const wlmaker_view_impl_t* _wlmaker_view_t::impl_ptr

Points to the view's implementation methods.

◆ interactive_tree_ptr

bs_avltree_t* _wlmaker_view_t::interactive_tree_ptr

AVL tree holding decoration interactives. Lookup key: the wlr_scene_buffer.node.

◆ maximized

bool _wlmaker_view_t::maximized

Whether the view is currently maximized.

◆ organic_box

struct wlr_box _wlmaker_view_t::organic_box

Stores the 'organic' position and size of the view.

This is used to store the position & size of the view before entering maximized (or fullscreen) state, and to restore the dimensions once that state is terminated.

◆ pointer_focussed_wlr_scene_node_ptr

struct wlr_scene_node* _wlmaker_view_t::pointer_focussed_wlr_scene_node_ptr

Scene node currently having pointer focus, or NULL.

◆ send_close_callback

wlmaker_view_send_close_callback_t _wlmaker_view_t::send_close_callback

"Sending close event" callback.

◆ server_ptr

wlmaker_server_t* _wlmaker_view_t::server_ptr

Back-link to the server.

◆ shaded

bool _wlmaker_view_t::shaded

Whether the view is currently shaded.

◆ title_ptr

char* _wlmaker_view_t::title_ptr

Window title, as a UTF-8 string.

◆ view_wlr_scene_tree_ptr

struct wlr_scene_tree* _wlmaker_view_t::view_wlr_scene_tree_ptr

Scene graph tree of the surface (the shell).

◆ views_node

bs_dllist_node_t _wlmaker_view_t::views_node

Node within the stack of views, defining it's position.

◆ window_menu_wlr_scene_buffer_ptr

struct wlr_scene_buffer* _wlmaker_view_t::window_menu_wlr_scene_buffer_ptr

The window menu's buffer.

◆ wlr_surface_ptr

struct wlr_surface* _wlmaker_view_t::wlr_surface_ptr

The surface. TODO: Clarify.

◆ workspace_ptr

wlmaker_workspace_t* _wlmaker_view_t::workspace_ptr

Workspace this view belongs to. Non-NULL when mapped.


The documentation for this struct was generated from the following file: