struct wld_window
struct wld_window {
Fl_Window *fl_win;
- struct wl_list outputs; // linked list of outputs where this surface is mapped
+ struct Fl_Wayland_Screen_Driver::output *output; // the display where win is mapped (see \ref output)
struct wl_surface *wl_surface; // the window's surface
struct fl_wld_buffer *buffer; // see \ref fl_wld_buffer
struct xdg_surface *xdg_surface;
@@ -809,7 +810,6 @@ struct wld_window {
int configured_height;
int floating_width; // helps restoring size after un-maximizing
int floating_height;
- int scale; // the Wayland scale factor for HighDPI displays (1 or 2, possibly 3)
int state; // indicates whether window is fullscreen, maximized. Used otherwise for POPUPs
}
@@ -837,8 +837,8 @@ struct fl_wld_buffer {
\anchor output
-struct output
-Defined inside class \c Fl_Wayland_Screen_Driver. One such record is
+struct Fl_Wayland_Screen_Driver::output
+One such record is
created for each display of the system by function \c registry_handle_global() when it receives a
\c "wl_output" interface. These records are kept in a linked list of them all, and
an identifier of this linked list is stored in member \c outputs of the unique
@@ -849,7 +849,7 @@ an identifier of this linked list is stored in member \c outputs of the unique
\endcode
gives access, the Wayland way, to the linked list of displays in the system.
-struct output { // one record for each display
+struct Fl_Wayland_Screen_Driver::output { // one record for each display
uint32_t id; // an identifier of the display
short width; // = nber of horizontal pixels / wld_scale
short height; // = nber of vertical pixels / wld_scale