summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar taiyu <taiyu.len@gmail.com>2015-08-18 01:07:12 -0700
committerLibravatar taiyu <taiyu.len@gmail.com>2015-08-18 01:07:12 -0700
commit4606fb1ee3102dcaeab005d64eeead5842a5cd3e (patch)
treebca27e2363a8c6e4a51dc8f19d48ca95c699a987 /include
parentstyle (diff)
parentAdded in basic, but semi-broken moving/resizing functionality to floating win... (diff)
downloadsway-4606fb1ee3102dcaeab005d64eeead5842a5cd3e.tar.gz
sway-4606fb1ee3102dcaeab005d64eeead5842a5cd3e.tar.zst
sway-4606fb1ee3102dcaeab005d64eeead5842a5cd3e.zip
merged Luminarys resizing code
Diffstat (limited to 'include')
-rw-r--r--include/config.h2
-rw-r--r--include/handlers.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 38e93eb8..b9511aac 100644
--- a/include/config.h
+++ b/include/config.h
@@ -3,6 +3,7 @@
3 3
4#include <stdint.h> 4#include <stdint.h>
5#include <wlc/wlc.h> 5#include <wlc/wlc.h>
6#include <xkbcommon/xkbcommon.h>
6#include "list.h" 7#include "list.h"
7 8
8struct sway_variable { 9struct sway_variable {
@@ -32,6 +33,7 @@ struct sway_config {
32 list_t *cmd_queue; 33 list_t *cmd_queue;
33 list_t *workspace_outputs; 34 list_t *workspace_outputs;
34 struct sway_mode *current_mode; 35 struct sway_mode *current_mode;
36 uint32_t floating_mod;
35 37
36 // Flags 38 // Flags
37 bool focus_follows_mouse; 39 bool focus_follows_mouse;
diff --git a/include/handlers.h b/include/handlers.h
index 6ea4bbf1..6b642419 100644
--- a/include/handlers.h
+++ b/include/handlers.h
@@ -5,7 +5,9 @@
5#include <wlc/wlc.h> 5#include <wlc/wlc.h>
6 6
7extern struct wlc_interface interface; 7extern struct wlc_interface interface;
8extern uint32_t keys_pressed[32];
8 9
10//set focus to current pointer location and return focused container
9swayc_t *container_under_pointer(void); 11swayc_t *container_under_pointer(void);
10 12
11#endif 13#endif