summaryrefslogtreecommitdiff
path: root/src/libvmon/defs/sys_vm.def
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2017-10-05 16:48:58 -0700
committerVito Caputo <vcaputo@pengaru.com>2017-10-05 16:53:35 -0700
commit7096b3b6c1325630d18e5d61aac58f9c3772b8e1 (patch)
tree2b615b2bbf82b7c1463e01ed0e73cacf6896c397 /src/libvmon/defs/sys_vm.def
parent29fa9c0870eebc152a92da2290e405be6e37fc56 (diff)
window: split out focused window setter
vwm_win_focus() previously simultaneously told the X server to set the input focus on the window (if mapped) and set the internal vwm state of the window to focused. These are really two separate operations: 1. request the X server to focus the window 2. change vwm's concept of the currently focused window Since clients can call XSetInputFocus() as well, there's need for doing step 2 discretely in response to FocusIn events. Nothing is functionally different after this commit, it just exposes step 2 as a separate vwm_win_set_focused() function for a future commit to leverage in handling of FocusIn events.
Diffstat (limited to 'src/libvmon/defs/sys_vm.def')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved