aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index c07d1c7..06e60aa 100644
--- a/dwl.c
+++ b/dwl.c
@@ -535,6 +535,7 @@ focusclient(Client *c, struct wlr_surface *surface, int lift)
* simplification that can be done in this function */
prev_surface = seat->keyboard_state.focused_surface;
/* Don't re-focus an already focused surface. */
+ /* XXX need to move raiseclient before this */
if (prev_surface == surface)
return;
if (prev_surface) {