From 54d557420f49efa11b485443e31b3818de04aa70 Mon Sep 17 00:00:00 2001 From: Robin Andersson Date: Thu, 16 Aug 2018 08:58:34 +0200 Subject: [PATCH] fix: Mistake in Travis badge --- README.md | 2 +- docs/README.hbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 72901bb..07f1a20 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ forcefocus [![NpmVersion](https://img.shields.io/npm/v/forcefocus.svg)](https://npmjs.com/package/forcefocus) [![NpmLicense](https://img.shields.io/npm/l/forcefocus.svg)](https://npmjs.com/package/forcefocus) [![AppVeyor branch](https://img.shields.io/appveyor/ci/robinwassen/forcefocus/master.svg?logo=appveyor)](https://ci.appveyor.com/project/robinwassen/forcefocus) -[![Travis (.org) branch](https://img.shields.io/travis/USER/REPO/BRANCH.svg?logo=travis)](https://travis-ci.org/robinwassen/forcefocus) +[![Travis (.org) branch](https://img.shields.io/travis/robinwassen/forcefocus/master.svg?logo=travis)](https://travis-ci.org/robinwassen/forcefocus) Microsoft changed the implementation of [SetFocus()](https://msdn.microsoft.com/en-us/library/windows/desktop/ms646312(v=vs.85).aspx) to only allow an app to grant focus to other windows if it currenly holds the focus. If an app that does not have the focus tries to take it, the taskbar will just flash rather than focusing the window. These changes was probably done to improve the user experience, so users would not be disturbed by the focused application suddenly switching. diff --git a/docs/README.hbs b/docs/README.hbs index be090df..93ea6e0 100644 --- a/docs/README.hbs +++ b/docs/README.hbs @@ -9,7 +9,7 @@ forcefocus [![NpmVersion](https://img.shields.io/npm/v/forcefocus.svg)](https://npmjs.com/package/forcefocus) [![NpmLicense](https://img.shields.io/npm/l/forcefocus.svg)](https://npmjs.com/package/forcefocus) [![AppVeyor branch](https://img.shields.io/appveyor/ci/robinwassen/forcefocus/master.svg?logo=appveyor)](https://ci.appveyor.com/project/robinwassen/forcefocus) -[![Travis (.org) branch](https://img.shields.io/travis/USER/REPO/BRANCH.svg?logo=travis)](https://travis-ci.org/robinwassen/forcefocus) +[![Travis (.org) branch](https://img.shields.io/travis/robinwassen/forcefocus/master.svg?logo=travis)](https://travis-ci.org/robinwassen/forcefocus) Microsoft changed the implementation of [SetFocus()](https://msdn.microsoft.com/en-us/library/windows/desktop/ms646312(v=vs.85).aspx) to only allow an app to grant focus to other windows if it currenly holds the focus. If an app that does not have the focus tries to take it, the taskbar will just flash rather than focusing the window. These changes was probably done to improve the user experience, so users would not be disturbed by the focused application suddenly switching.