diff options
author | Luminarys <kizunanohikari@gmail.com> | 2015-08-18 01:33:15 -0500 |
---|---|---|
committer | Luminarys <kizunanohikari@gmail.com> | 2015-08-18 01:33:15 -0500 |
commit | e541ba3d876de8ce2812482fc6bfa13b236c6a58 (patch) | |
tree | 1900c66b9a386daf11e41e12a2c18424b4164c12 /include | |
parent | 780893a9338fe948cbb12c3b0ce3942ec8001ccf (diff) | |
download | sway-e541ba3d876de8ce2812482fc6bfa13b236c6a58.tar.xz |
Added in basic, but semi-broken moving/resizing functionality to floating windows
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 2 | ||||
-rw-r--r-- | include/handlers.h | 2 |
2 files changed, 3 insertions, 1 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 @@ #include <stdint.h> #include <wlc/wlc.h> +#include <xkbcommon/xkbcommon.h> #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 <wlc/wlc.h> 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); |