aboutsummaryrefslogtreecommitdiffstats
path: root/git_hooks
diff options
context:
space:
mode:
authorStephen Blott2016-03-27 12:20:39 +0100
committerStephen Blott2016-03-27 12:20:43 +0100
commit9c96f750f7c2d22eb0098dcb05b34c51c802e8ac (patch)
tree712e74a7d92ff94d9b5bbb8a309c1dd1ee60e647 /git_hooks
parentf0911e52f0e71c6d2539bdc74a09ff2dbd5ab125 (diff)
downloadvimium-9c96f750f7c2d22eb0098dcb05b34c51c802e8ac.tar.bz2
Handle focus events for UI components.
The help-dialog UI component was ignoring requests to "hide" when other frames are focused (because previously it covered the whole screen, and no other frame could get the focus). With f0911e52f0e71c6d2539bdc74a09ff2dbd5ab125, the help dialog no longer covers the whole screen, so it must listen for and react to "frameFocused" events. However, the help dialog should not "hide" when the frame that is focused is itself! This required a little extra plumbing. That plumbing is helpful, though, because it allows individual UI components to decide what to do when another frame receives the focus (as opposed to the previious version, which simply unilaterally sent a "hide" message).
Diffstat (limited to 'git_hooks')
0 files changed, 0 insertions, 0 deletions