Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Open cerebro window on Active screen #416

Merged
merged 2 commits into from
Mar 3, 2021
Merged

feat: Open cerebro window on Active screen #416

merged 2 commits into from
Mar 3, 2021

Conversation

brpaz
Copy link
Contributor

@brpaz brpaz commented Nov 25, 2017

This PR aims to fix #131.
Instead of using the "Default" display to open Cerebro, it will use the "current" display, based on the cursor position on the screen.

The main functionality is working, but you still see for brief moments, the Cerebro window opened in the previous screen, before appearing on the new screen. A little bit annoying but not a big deal for me.

I also noticed, sometimes I need to press the Hotkey 2 times before Cerebro opens. Not sure if its related with any of the changes I made.

This PR was only tested on Linux but it uses standard Electron functions, so it should work fine elsewhere.

@Asarew
Copy link

Asarew commented Apr 9, 2020

Is there a reason why this hasn't been merged yet?

@ogustavo-pereira ogustavo-pereira changed the title Open cerebro window on Active screen feat: Open cerebro window on Active screen Feb 18, 2021
@ogustavo-pereira ogustavo-pereira merged commit dc1bcb8 into cerebroapp:master Mar 3, 2021
ogustavo-pereira pushed a commit that referenced this pull request Feb 17, 2022
* Open cerebro window on Active screen

* remove blank line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Active screen
3 participants