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 | Add support for workspace [name] output [name] (diff) | |
download | sway-e541ba3d876de8ce2812482fc6bfa13b236c6a58.tar.gz sway-e541ba3d876de8ce2812482fc6bfa13b236c6a58.tar.zst sway-e541ba3d876de8ce2812482fc6bfa13b236c6a58.zip |
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 @@ | |||
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 | ||
8 | struct sway_variable { | 9 | struct 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 d1742cce..c954ce61 100644 --- a/include/handlers.h +++ b/include/handlers.h | |||
@@ -5,7 +5,7 @@ | |||
5 | #include <wlc/wlc.h> | 5 | #include <wlc/wlc.h> |
6 | 6 | ||
7 | extern struct wlc_interface interface; | 7 | extern struct wlc_interface interface; |
8 | 8 | extern uint32_t keys_pressed[32]; | |
9 | //set focus to current pointer location and return focused container | 9 | //set focus to current pointer location and return focused container |
10 | swayc_t *focus_pointer(void); | 10 | swayc_t *focus_pointer(void); |
11 | 11 | ||