add reminder comment

This commit is contained in:
Devin J. Pohly 2020-05-03 11:38:34 -05:00
parent 1b87831e00
commit 7afe152c47

1
dwl.c
View file

@ -535,6 +535,7 @@ focusclient(Client *c, struct wlr_surface *surface, int lift)
* simplification that can be done in this function */ * simplification that can be done in this function */
prev_surface = seat->keyboard_state.focused_surface; prev_surface = seat->keyboard_state.focused_surface;
/* Don't re-focus an already focused surface. */ /* Don't re-focus an already focused surface. */
/* XXX need to move raiseclient before this */
if (prev_surface == surface) if (prev_surface == surface)
return; return;
if (prev_surface) { if (prev_surface) {