These are chat archives for ianyh/Amethyst

20th
Jul 2017
Ian
@ianfixes
Jul 20 2017 12:28

You should also be careful about multiple screens as we try to normalize the screen coordinate systems into a single global coordinate space defined by the first screen.

@ianyh you were right. How do I do that?

Ian Ynda-Hummel
@ianyh
Jul 20 2017 18:45
@ifreecarve take a look at how we get frames from NSScreen.
Ian
@ianfixes
Jul 20 2017 19:39
Can you give me a file/line? I'm looking in NSScreen+Amethyst.swift? but that doesn't seem to be it
Ian Ynda-Hummel
@ianyh
Jul 20 2017 20:04
Ian Ynda-Hummel
@ianyh
Jul 20 2017 22:02
Also, I did play with this last night for a bit, but didn't have a chance to dig into it really deeply.
I do think we're going to have to track mouse events.
Ian Ynda-Hummel
@ianyh
Jul 20 2017 23:01
I'm concerned that the chrome window is detecting itself.
I've also managed a few times to get it to reflow out from under the cursor such that the window being dragged was no longer underneath it.
Ian Ynda-Hummel
@ianyh
Jul 20 2017 23:57
Just found another issue. If you have a window with a minimum size that sticks out past another window, if you cycle focus to the window it is obscuring the frame change listener can fire causing the windows to switch.