wlmaker
Loading...
Searching...
No Matches
Public Attributes | List of all members
_wlmtk_window_t Struct Reference
Collaboration diagram for _wlmtk_window_t:
Collaboration graph
[legend]

Public Attributes

wlmtk_bordered_t super_bordered
 
wlmtk_element_vmt_t orig_super_element_vmt
 
wlmtk_container_vmt_t orig_super_container_vmt
 
wlmtk_window_vmt_t vmt
 
wlmtk_window_events_t events
 
wlmtk_box_t box
 
wlmtk_element_telement_ptr
 
wlmtk_workspace_tworkspace_ptr
 
struct wlr_seat * wlr_seat_ptr
 
bs_dllist_node_t dlnode
 
wlmtk_content_tcontent_ptr
 
wlmtk_titlebar_ttitlebar_ptr
 
wlmtk_resizebar_tresizebar_ptr
 
wlmtk_menu_twindow_menu_ptr
 
struct wl_listener menu_request_close_listener
 
struct wlr_output * wlr_output_ptr
 
char * title_ptr
 
bs_dllist_t pending_updates
 
bs_dllist_t available_updates
 
wlmtk_pending_update_t pre_allocated_updates [WLMTK_WINDOW_MAX_PENDING]
 
uint32_t properties
 
struct wlr_box organic_size
 
bool maximized
 
bool fullscreen
 
bool inorganic_sizing
 
bool shaded
 
bool server_side_decorated
 
bool activated
 
wlmtk_window_style_t style
 

Detailed Description

State of the window.

Member Data Documentation

◆ activated

bool _wlmtk_window_t::activated

Stores whether the window is activated (keyboard focus).

◆ available_updates

bs_dllist_t _wlmtk_window_t::available_updates

List of udpates currently available.

◆ box

wlmtk_box_t _wlmtk_window_t::box

Box: In super_bordered, holds surface, title bar and resizebar.

◆ content_ptr

wlmtk_content_t* _wlmtk_window_t::content_ptr

Content of the window.

◆ dlnode

bs_dllist_node_t _wlmtk_window_t::dlnode

Element in wlmtk_workspace_t::windows, when mapped.

◆ element_ptr

wlmtk_element_t* _wlmtk_window_t::element_ptr

FIXME: Element.

◆ events

wlmtk_window_events_t _wlmtk_window_t::events

Events for this window.

◆ fullscreen

bool _wlmtk_window_t::fullscreen

Whether the window has been requested as fullscreen.

◆ inorganic_sizing

bool _wlmtk_window_t::inorganic_sizing

Whether an "inorganic" sizing operation is in progress, and thus size changes should not be recorded in wlmtk_window_t::organic_size.

This is eg. between wlmtk_window_request_fullscreen and wlmtk_window_commit_fullscreen.

◆ maximized

bool _wlmtk_window_t::maximized

Whether the window has been requested as maximized.

◆ menu_request_close_listener

struct wl_listener _wlmtk_window_t::menu_request_close_listener

Listener for then the popup menu requests to be closed.

◆ organic_size

struct wlr_box _wlmtk_window_t::organic_size

Organic size of the window, ie. when not maximized.

◆ orig_super_container_vmt

wlmtk_container_vmt_t _wlmtk_window_t::orig_super_container_vmt

Original virtual method table of the window' container superclass.

◆ orig_super_element_vmt

wlmtk_element_vmt_t _wlmtk_window_t::orig_super_element_vmt

Original virtual method table of the window's element superclass.

◆ pending_updates

bs_dllist_t _wlmtk_window_t::pending_updates

Pending updates.

◆ pre_allocated_updates

wlmtk_pending_update_t _wlmtk_window_t::pre_allocated_updates[WLMTK_WINDOW_MAX_PENDING]

Pre-alloocated updates.

◆ properties

uint32_t _wlmtk_window_t::properties

This window's properties.

◆ resizebar_ptr

wlmtk_resizebar_t* _wlmtk_window_t::resizebar_ptr

Resizebar.

◆ server_side_decorated

bool _wlmtk_window_t::server_side_decorated

Stores whether the window is server-side decorated.

If the window is NOT fullscreen, then this is equivalent to (titlebar_ptr != NULL && resizebar_ptr != NULL). For a fullscreen window, titlebar and resizebar would be NULL, but the flag stores whether decoration should be enabled on organic/maximized modes.

◆ shaded

bool _wlmtk_window_t::shaded

Whether the window is currently shaded.

◆ style

wlmtk_window_style_t _wlmtk_window_t::style

The style used for this window.

◆ super_bordered

wlmtk_bordered_t _wlmtk_window_t::super_bordered

Superclass: Bordered.

◆ title_ptr

char* _wlmtk_window_t::title_ptr

Window title. Set through wlmtk_window_set_title.

◆ titlebar_ptr

wlmtk_titlebar_t* _wlmtk_window_t::titlebar_ptr

Titlebar.

◆ vmt

wlmtk_window_vmt_t _wlmtk_window_t::vmt

Virtual method table.

◆ window_menu_ptr

wlmtk_menu_t* _wlmtk_window_t::window_menu_ptr

The window menu.

◆ wlr_output_ptr

struct wlr_output* _wlmtk_window_t::wlr_output_ptr

Preferred output. See wlmtk_window_set_output.

◆ wlr_seat_ptr

struct wlr_seat* _wlmtk_window_t::wlr_seat_ptr

The active seat, as provided to wlmtk_window_create.

◆ workspace_ptr

wlmtk_workspace_t* _wlmtk_window_t::workspace_ptr

Points to the workspace, if mapped.


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