summaryrefslogtreecommitdiff
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2018-03-28 23:04:20 -0400
committerDrew DeVault <[email protected]>2018-03-29 22:11:08 -0400
commitcab1352801b62d1b8a12ca1c995cb24445ce4bc9 (patch)
treebc67373916c06d48700c4f69b8c2470a2f86887f /include/sway/config.h
parent382e8af418a7e1b8cf93d3398509b93c6874cb0d (diff)
Start port of swaybar to layer shell
This starts up the event loop and wayland display and shims out the basic top level rendering concepts. Also includes some changes to incorporate pango into the 1.x codebase properly.
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index 48a8b0ab..8c9e04de 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -1,17 +1,16 @@
#ifndef _SWAY_CONFIG_H
#define _SWAY_CONFIG_H
-
#define PID_WORKSPACE_TIMEOUT 60
-
#include <libinput.h>
#include <stdint.h>
#include <string.h>
+#include <time.h>
#include <wlr/types/wlr_box.h>
#include <xkbcommon/xkbcommon.h>
-#include <time.h>
#include "list.h"
#include "layout.h"
#include "container.h"
+#include "wlr-layer-shell-unstable-v1-protocol.h"
/**
* Describes a variable created via the `set` command.
@@ -152,7 +151,7 @@ struct bar_config {
char *id;
uint32_t modifier;
list_t *outputs;
- //enum desktop_shell_panel_position position; // TODO
+ char *position;
list_t *bindings;
char *status_command;
bool pango_markup;