From e541ba3d876de8ce2812482fc6bfa13b236c6a58 Mon Sep 17 00:00:00 2001 From: Luminarys Date: Tue, 18 Aug 2015 01:33:15 -0500 Subject: Added in basic, but semi-broken moving/resizing functionality to floating windows --- include/config.h | 2 ++ include/handlers.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include') 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 @@ #include #include +#include #include "list.h" struct sway_variable { @@ -32,6 +33,7 @@ struct sway_config { list_t *cmd_queue; list_t *workspace_outputs; struct sway_mode *current_mode; + uint32_t floating_mod; // Flags bool focus_follows_mouse; diff --git a/include/handlers.h b/include/handlers.h index d1742cce..c954ce61 100644 --- a/include/handlers.h +++ b/include/handlers.h @@ -5,7 +5,7 @@ #include extern struct wlc_interface interface; - +extern uint32_t keys_pressed[32]; //set focus to current pointer location and return focused container swayc_t *focus_pointer(void); -- cgit v1.2.3