Module types

Module types 

Source
Expand description

Contains struct and enum declarations for structs defined by wlc.

Structs§

EventBit
Flags describing wayland events
Geometry
Represents the location and size of a view
KeyMod
Represents which keyboard meta keys are being pressed.
KeyboardLed
“LEDs” or active key-locks. i.e. caps lock, scroll lock
KeyboardModifiers
State of keyoard modifiers. i.e. control key, caps lock on
LibinputDevice
Not currently supporting libinput
Point
Represents the location of a view.
PositionerAnchorBit
PositionerConstraintAdjustmentBits
PositionerGravityBit
ResizeEdge
Which edge is being used to resize a window.
Size
Represents the height and width of a view.
ViewPropertyType
Which view property is being updated
ViewState
How window is being viewed
ViewType
Viewtype - like x11 flags

Enums§

BackendType
Type of backend that a window is being composited in
ButtonState
Represents a button state in button events
KeyState
Represents a key state in key events
LogType
Log level to pass into wlc logging
ScrollAxis
Which axis of the scroll wheel is being used
TouchType
Touch type in touch interface handler

Constants§

CAPS_LOCK
Caps lock is pressed
EDGE_NONE
No edge
EVENT_ERROR
Event is in error
EVENT_HANGUP
Event is hung up (?)
EVENT_READABLE
Event can be read
EVENT_WRITEABLE
Event can be written
MOD_ALT
Alt
MOD_CAPS
Caps lock
MOD_CTRL
Control
MOD_MOD2
Mod2
MOD_MOD3
Mod3
MOD_MOD4
Mod4/logo
MOD_MOD5
5Mod5Me
MOD_NONE
No modifiers
MOD_SHIFT
Shift
NUM_LOCK
Num lock is pressed
PROPERTY_APP_ID
View app id is being updated
PROPERTY_PID
PID of the view is being updated
PROPERTY_TITLE
View title is being updated
PROPRETY_CLASS
View class is being updated
RESIZE_BOTTOM
Bottom edge
RESIZE_BOTTOMLEFT
Bottom left edge
RESIZE_BOTTOMRIGHT
Bottom right edge
RESIZE_LEFT
Left edge
RESIZE_RIGHT
Right edge
RESIZE_TOP
Top edge
RESIZE_TOPLEFT
Top left edge
RESIZE_TOPRIGHT
Top right edge
SCROLL_LOCK
Scroll lock key is being pressed.
SCROL_LLOCK
Original typo of SCROLL_LOCK
VIEW_ACTIVATED
Window activated
VIEW_BIT_MODAL
Modal Windows (X11)
VIEW_BIT_OVERRIDE_REDIRECT
Override redirect (X11)
VIEW_BIT_POPUP
xdg-shell, wl-shell popups
VIEW_BIT_SPLASH
Splash Screens (X11)
VIEW_BIT_UNMANAGED
Tooltips (X11)
VIEW_FULLSCREEN
Window fullscreen
VIEW_MAXIMIZED
Window maximized
VIEW_MOVING
Window moving
VIEW_RESIZING
Window resizing
WLC_BIT_ANCHOR_BOTTOM
WLC_BIT_ANCHOR_LEFT
WLC_BIT_ANCHOR_NONE
WLC_BIT_ANCHOR_RIGHT
WLC_BIT_ANCHOR_TOP
WLC_BIT_CONSTRAINT_ADJUSTMENT_FLIP_X
WLC_BIT_CONSTRAINT_ADJUSTMENT_FLIP_Y
WLC_BIT_CONSTRAINT_ADJUSTMENT_NONE
WLC_BIT_CONSTRAINT_ADJUSTMENT_RESIZE_X
WLC_BIT_CONSTRAINT_ADJUSTMENT_RESIZE_Y
WLC_BIT_CONSTRAINT_ADJUSTMENT_SLIDE_X
WLC_BIT_CONSTRAINT_ADJUSTMENT_SLIDE_Y
WLC_BIT_GRAVITY_BOTTOM
WLC_BIT_GRAVITY_LEFT
WLC_BIT_GRAVITY_NONE
WLC_BIT_GRAVITY_RIGHT
WLC_BIT_GRAVITY_TOP