GTK3 monitor output is always set to 0: Affects xfce4-terminal
I'm not really sure why this approach was taken, but I'm assuming it has something to do with the deprecation of gdk-screen-get-monitor-at-window
.
This is the offending method.
This approach breaks the functionality of xfce4-terminal
app, which used to have the ability to be shown on the monitor containing the mouse pointer. It was working in 4.14, but as of 4.16, this no longer works, even though the option is still there.
I reported the issue here: apps/xfce4-terminal#93 (closed)
Thoughts
I mean, do we really have to break an app just because a method is deprecated? Deprecated does not mean removed.
However, regardless of the deprecated method, I think this solution of defaulting to the primary monitor is just too drastic and final. Isn't there another approach that could be taken?
For example randr
is able to show information about connected monitors/outputs, along with their bounding box. Isn't it possible to calculate which monitor the pointer is located in by making use of this bounding box and the pointer location?
I would really like to hear your thoughts on this. Thanks