summaryrefslogtreecommitdiff
path: root/src/xevent.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2017-10-05 16:34:56 -0700
committerVito Caputo <vcaputo@pengaru.com>2017-10-05 16:34:56 -0700
commit29fa9c0870eebc152a92da2290e405be6e37fc56 (patch)
tree8ffcbbb352249a2fcc611b55317f4d622a4f9ef2 /src/xevent.c
parent1848f22c6d7dbedaafbb9a0892a7ce6f3eb1b280 (diff)
*: s/vwm_win_focused/vwm_win_get_focused/
Diffstat (limited to 'src/xevent.c')
-rw-r--r--src/xevent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xevent.c b/src/xevent.c
index 97c575b..e1b38e3 100644
--- a/src/xevent.c
+++ b/src/xevent.c
@@ -205,7 +205,7 @@ void vwm_xevent_handle_map_request(vwm_t *vwm, XMapRequestEvent *ev)
vwm_win_map(vwm, vwin);
/* XSetInputFocus() must to happen after XMapWindow(), so do it here. */
- if (vwm_win_focused(vwm) == vwin)
+ if (vwm_win_get_focused(vwm) == vwin)
XSetInputFocus(VWM_XDISPLAY(vwm), vwin->xwindow->id, RevertToPointerRoot, CurrentTime);
} else {
/* this is unexpected */
© All Rights Reserved