mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
We have several wlr_output_* functions which are just wrappers around corresponding wlr_output_state_* functions and don't actually touch the wlr_output itself. These probably made some sense historically, but IMHO they are just confusing now. So remove them and call wlr_output_state_* directly. Rename wlr_output_commit() (still useful) to output_state_commit().
13 lines
270 B
C
13 lines
270 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef LABWC_OUTPUT_STATE_H
|
|
#define LABWC_OUTPUT_STATE_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
struct output;
|
|
|
|
void output_state_init(struct output *output);
|
|
|
|
bool output_state_commit(struct output *output);
|
|
|
|
#endif // LABWC_OUTPUT_STATE_H
|