aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-11-12 09:55:28 -0500
committerDrew DeVault <sir@cmpwn.com>2017-11-12 09:55:28 -0500
commit1e0e73efaa5584b49405e119bf4ce3810785654e (patch)
tree4697143a352e91614599e2a65de93dab73cb761b /include
parentc1eff3d3afc237aa4a988a01c88c492a4787d954 (diff)
Spawn views on last active output
Diffstat (limited to 'include')
-rw-r--r--include/rootston/seat.h2
-rw-r--r--include/wlr/types/wlr_seat.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/include/rootston/seat.h b/include/rootston/seat.h
index b5593651..bef515a4 100644
--- a/include/rootston/seat.h
+++ b/include/rootston/seat.h
@@ -1,8 +1,6 @@
#ifndef _ROOTSTON_SEAT_H
#define _ROOTSTON_SEAT_H
-
#include <wayland-server.h>
-
#include "rootston/input.h"
#include "rootston/keyboard.h"
diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h
index 09d3e282..a5f00402 100644
--- a/include/wlr/types/wlr_seat.h
+++ b/include/wlr/types/wlr_seat.h
@@ -1,6 +1,6 @@
#ifndef WLR_TYPES_WLR_SEAT_H
#define WLR_TYPES_WLR_SEAT_H
-
+#include <time.h>
#include <wlr/types/wlr_surface.h>
#include <wlr/types/wlr_input_device.h>
#include <wlr/types/wlr_keyboard.h>
@@ -109,6 +109,7 @@ struct wlr_seat {
struct wl_list clients;
char *name;
uint32_t capabilities;
+ struct timespec last_event;
struct wlr_data_device *data_device; // TODO needed?
struct wlr_data_source *selection_source;