aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-08-12 19:49:17 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-08-12 19:49:17 +0000
commitc2451e2a80cd72c17b8c29b51130adaad8dfe31f (patch)
treea5dcf6a1712dc6b2aa9e066ef86ff35e90c31d91 /terminal.h
parentinput: free previous XKB state when we get a new one (diff)
output: track output we're mapped on, and use maximum scale
Our surface may be on multiple outputs at the same time. In this case, we use the largest scale factor, and let the compositor down scale on the "other" output(s).
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index 27265796..217daec8 100644
--- a/terminal.h
+++ b/terminal.h
@@ -63,7 +63,8 @@ struct wayland {
struct xdg_surface *xdg_surface;
struct xdg_toplevel *xdg_toplevel;
bool have_argb8888;
- tll(struct monitor) monitors;
+ tll(struct monitor) monitors; /* All available outputs */
+ tll(const struct monitor *) on_outputs; /* Outputs we're mapped on */
};
struct rgb { float r, g, b; };