marco 1.29.1
Window manager
Loading...
Searching...
No Matches
_MetaButtonSpace Struct Reference

The computed size of a button (really just a way of tying its visible and clickable areas together). More...

#include <src/ui/theme.h>

Data Fields

GdkRectangle visible
 The screen area where the button's image is drawn.
 
GdkRectangle clickable
 The screen area where the button can be activated by clicking.
 

Detailed Description

The computed size of a button (really just a way of tying its visible and clickable areas together).

The reason for two different rectangles here is Fitts' law & maximized windows; see bug #97703 for more details.

Field Documentation

◆ clickable

GdkRectangle _MetaButtonSpace::clickable

The screen area where the button can be activated by clicking.

Referenced by get_control(), and meta_frame_layout_calc_geometry().

◆ visible

GdkRectangle _MetaButtonSpace::visible

The screen area where the button's image is drawn.

Referenced by control_rect(), get_button_rect(), and meta_frame_layout_calc_geometry().


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