Window Struct Reference

#include <data.h>

Collaboration diagram for Window:
[legend]

Public Types

enum  { W_NODOCK = 0, W_DOCK_TOP = 1, W_DOCK_BOTTOM = 2 }
 

Whether the window says it is a dock window.

More...

Data Fields

xcb_window_t id
xcb_window_t leader
 Holds the xcb_window_t (just an ID) for the leader window (logical parent for toolwindows and similar floating windows).
xcb_window_t transient_for
char * class_class
char * class_instance
char * name_x
 The name of the window as it will be passed to X11 (in UCS2 if the application supports _NET_WM_NAME, in COMPOUND_TEXT otherwise).
bool name_x_changed
 Flag to force re-rendering the decoration upon changes.
char * name_json
 The name of the window as used in JSON (in UTF-8 if the application supports _NET_WM_NAME, in COMPOUND_TEXT otherwise).
int name_len
 The length of the name in glyphs (not bytes).
bool uses_net_wm_name
 Whether the application used _NET_WM_NAME.
bool needs_take_focus
 Whether the application needs to receive WM_TAKE_FOCUS.
enum Window:: { ... }  dock
 Whether the window says it is a dock window.
struct reservedpx reserved
 Pixels the window reserves.
uint32_t nr_assignments
 Pointers to the Assignments which were already ran for this Window (assignments run only once).
Assignment ** ran_assignments

Detailed Description

Definition at line 246 of file data.h.


Member Enumeration Documentation

anonymous enum

Whether the window says it is a dock window.

Enumerator:
W_NODOCK 
W_DOCK_TOP 
W_DOCK_BOTTOM 

Definition at line 278 of file data.h.


Field Documentation

Definition at line 254 of file data.h.

Referenced by con_for_window(), match_matches_window(), tree_close(), and window_update_class().

Definition at line 255 of file data.h.

Referenced by match_matches_window(), tree_close(), and window_update_class().

enum { ... } Window::dock

Whether the window says it is a dock window.

Referenced by manage_window(), and match_matches_window().

xcb_window_t Window::id
xcb_window_t Window::leader

Holds the xcb_window_t (just an ID) for the leader window (logical parent for toolwindows and similar floating windows).

Definition at line 251 of file data.h.

Referenced by floating_enable(), manage_window(), and window_update_leader().

The name of the window as used in JSON (in UTF-8 if the application supports _NET_WM_NAME, in COMPOUND_TEXT otherwise).

Definition at line 266 of file data.h.

Referenced by match_matches_window(), tree_close(), window_update_name(), and window_update_name_legacy().

The length of the name in glyphs (not bytes).

Definition at line 269 of file data.h.

Referenced by window_update_name(), window_update_name_legacy(), and x_draw_decoration().

The name of the window as it will be passed to X11 (in UCS2 if the application supports _NET_WM_NAME, in COMPOUND_TEXT otherwise).

Definition at line 259 of file data.h.

Referenced by tree_close(), window_update_name(), window_update_name_legacy(), and x_draw_decoration().

Flag to force re-rendering the decoration upon changes.

Definition at line 262 of file data.h.

Referenced by window_update_name(), window_update_name_legacy(), and x_draw_decoration().

Whether the application needs to receive WM_TAKE_FOCUS.

Definition at line 275 of file data.h.

Referenced by manage_window(), and x_push_changes().

Pointers to the Assignments which were already ran for this Window (assignments run only once).

Definition at line 285 of file data.h.

Referenced by run_assignments().

Definition at line 286 of file data.h.

Referenced by run_assignments().

Pixels the window reserves.

left/right/top/bottom

Definition at line 281 of file data.h.

Referenced by manage_window(), and window_update_strut_partial().

xcb_window_t Window::transient_for

Definition at line 252 of file data.h.

Referenced by manage_window(), and window_update_transient_for().

Whether the application used _NET_WM_NAME.

Definition at line 272 of file data.h.

Referenced by window_update_name(), window_update_name_legacy(), and x_draw_decoration().


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

Generated on 7 Feb 2013 for i3 by  doxygen 1.6.1