mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-06 13:29:45 -05:00
Replace list_t with wl_list in wlr_output
Signed-off-by: Heghedus Razvan <heghedus.razvan@gmail.com>
This commit is contained in:
parent
c03e774636
commit
1d716241af
5 changed files with 19 additions and 19 deletions
|
|
@ -2,13 +2,13 @@
|
|||
#define WLR_TYPES_WLR_OUTPUT_H
|
||||
|
||||
#include <wayland-server.h>
|
||||
#include <wlr/util/list.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
struct wlr_output_mode {
|
||||
uint32_t flags; // enum wl_output_mode
|
||||
int32_t width, height;
|
||||
int32_t refresh; // mHz
|
||||
struct wl_list link;
|
||||
};
|
||||
|
||||
struct wlr_output_impl;
|
||||
|
|
@ -32,7 +32,7 @@ struct wlr_output {
|
|||
float transform_matrix[16];
|
||||
|
||||
/* Note: some backends may have zero modes */
|
||||
list_t *modes;
|
||||
struct wl_list modes;
|
||||
struct wlr_output_mode *current_mode;
|
||||
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue