2015-10-25 10:20:00 +11:00
|
|
|
#ifndef _SWAY_OUTPUT_H
|
|
|
|
#define _SWAY_OUTPUT_H
|
2017-11-12 06:41:18 +11:00
|
|
|
#include <time.h>
|
|
|
|
#include <wayland-server.h>
|
|
|
|
#include <wlr/types/wlr_output.h>
|
2015-10-25 10:20:00 +11:00
|
|
|
|
2017-11-12 06:41:18 +11:00
|
|
|
struct sway_server;
|
2017-11-20 09:04:28 +11:00
|
|
|
struct sway_container;
|
2017-11-12 06:41:18 +11:00
|
|
|
|
|
|
|
struct sway_output {
|
|
|
|
struct wlr_output *wlr_output;
|
2017-11-20 09:04:28 +11:00
|
|
|
struct sway_container *swayc;
|
2017-11-12 06:41:18 +11:00
|
|
|
struct sway_server *server;
|
|
|
|
struct timespec last_frame;
|
2017-12-13 05:40:17 +11:00
|
|
|
|
2017-11-19 03:22:02 +11:00
|
|
|
struct wl_listener frame;
|
2017-11-12 06:41:18 +11:00
|
|
|
};
|
|
|
|
|
2015-10-25 10:20:00 +11:00
|
|
|
#endif
|