aboutsummaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorArmin Preiml <apreiml@strohwolke.at>2018-07-03 15:11:02 +0200
committerArmin Preiml <apreiml@strohwolke.at>2018-07-03 15:11:02 +0200
commit26b2012b5e7a794ad436b6fdee04691b7818c85d (patch)
tree750ff44492c924f34edfa2af2e1b5ccca46a3bbe /xwayland
parente6d613ca2e82623fbf9744b0da93d906a4fc03b3 (diff)
fix style issue
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/xwm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c
index ad8cd4ad..62d6a861 100644
--- a/xwayland/xwm.c
+++ b/xwayland/xwm.c
@@ -228,8 +228,7 @@ static void xwm_send_focus_window(struct wlr_xwm *xwm,
// if the surface doesn't allow the focus request, we will send him
// only the take focus event. It will get the focus by itself.
xwm_send_wm_message(xsurface, &message_data, XCB_EVENT_MASK_NO_EVENT);
- }
- else {
+ } else {
xwm_send_wm_message(xsurface, &message_data, XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT);
xcb_set_input_focus(xwm->xcb_conn, XCB_INPUT_FOCUS_POINTER_ROOT,