summaryrefslogtreecommitdiffstats
path: root/sway/input/seat.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-04-07 11:19:25 -0400
committerLibravatar GitHub <noreply@github.com>2018-04-07 11:19:25 -0400
commitf5a9bd5cb75b37376b98eadbff2facb7e0021d57 (patch)
treef72219a5a2adec3380da5269fee025715f7bf333 /sway/input/seat.c
parentMerge pull request #1762 from DanySpin97/wlroots (diff)
parentDon't rejigger if parent has two children (diff)
downloadsway-f5a9bd5cb75b37376b98eadbff2facb7e0021d57.tar.gz
sway-f5a9bd5cb75b37376b98eadbff2facb7e0021d57.tar.zst
sway-f5a9bd5cb75b37376b98eadbff2facb7e0021d57.zip
Merge pull request #1700 from swaywm/move-cmd-full
Implement move [left|right|up|down]
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r--sway/input/seat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index ad3584a0..e8cf9824 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -5,6 +5,7 @@
5#include <wlr/types/wlr_cursor.h> 5#include <wlr/types/wlr_cursor.h>
6#include <wlr/types/wlr_output_layout.h> 6#include <wlr/types/wlr_output_layout.h>
7#include <wlr/types/wlr_xcursor_manager.h> 7#include <wlr/types/wlr_xcursor_manager.h>
8#include "sway/debug.h"
8#include "sway/tree/container.h" 9#include "sway/tree/container.h"
9#include "sway/tree/workspace.h" 10#include "sway/tree/workspace.h"
10#include "sway/input/seat.h" 11#include "sway/input/seat.h"
@@ -432,6 +433,8 @@ void seat_set_focus_warp(struct sway_seat *seat,
432 } 433 }
433 434
434 seat->has_focus = (container != NULL); 435 seat->has_focus = (container != NULL);
436
437 update_debug_tree();
435} 438}
436 439
437void seat_set_focus(struct sway_seat *seat, 440void seat_set_focus(struct sway_seat *seat,