forked from mirror/dwl
add reminder comment
This commit is contained in:
parent
1b87831e00
commit
7afe152c47
1 changed files with 1 additions and 0 deletions
1
dwl.c
1
dwl.c
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue