aboutsummaryrefslogtreecommitdiff
path: root/include/rootston
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-10-22 23:19:21 -0400
committerDrew DeVault <sir@cmpwn.com>2017-11-01 08:44:07 -0400
commita7446792a1a0fd9fe3391f041d7bbfe9e2b11255 (patch)
treed07f4baaaf9fb38ba68c0f932a39b738bc570d1d /include/rootston
parent03c0d41ca956e3eb5ddac15a34918bfb97fc4c09 (diff)
Consider scale factor when rendering views
Diffstat (limited to 'include/rootston')
-rw-r--r--include/rootston/config.h1
-rw-r--r--include/rootston/view.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/rootston/config.h b/include/rootston/config.h
index 75c04619..e0466117 100644
--- a/include/rootston/config.h
+++ b/include/rootston/config.h
@@ -8,6 +8,7 @@ struct output_config {
char *name;
enum wl_output_transform transform;
int x, y;
+ int scale;
struct wl_list link;
struct {
int width, height;
diff --git a/include/rootston/view.h b/include/rootston/view.h
index 993ff654..4a5e8d08 100644
--- a/include/rootston/view.h
+++ b/include/rootston/view.h
@@ -48,6 +48,7 @@ enum roots_view_type {
struct roots_view {
struct roots_desktop *desktop;
+ struct roots_output *output;
double x, y;
float rotation;
// TODO: Something for roots-enforced width/height