2015-10-25 01:20:00 +02:00
|
|
|
#ifndef _SWAY_OUTPUT_H
|
|
|
|
#define _SWAY_OUTPUT_H
|
2017-11-11 20:41:18 +01:00
|
|
|
#include <time.h>
|
|
|
|
#include <wayland-server.h>
|
|
|
|
#include <wlr/types/wlr_output.h>
|
2015-10-25 01:20:00 +02:00
|
|
|
|
2017-11-11 20:41:18 +01:00
|
|
|
struct sway_server;
|
2017-11-19 23:04:28 +01:00
|
|
|
struct sway_container;
|
2017-11-11 20:41:18 +01:00
|
|
|
|
|
|
|
struct sway_output {
|
|
|
|
struct wlr_output *wlr_output;
|
2017-11-19 23:04:28 +01:00
|
|
|
struct sway_container *swayc;
|
2017-11-11 20:41:18 +01:00
|
|
|
struct sway_server *server;
|
|
|
|
struct timespec last_frame;
|
2017-11-18 17:22:02 +01:00
|
|
|
struct wl_listener frame;
|
2017-11-25 16:59:49 +01:00
|
|
|
struct wl_listener resolution;
|
2017-11-11 20:41:18 +01:00
|
|
|
};
|
|
|
|
|
2015-10-25 01:20:00 +02:00
|
|
|
#endif
|