Vte: get cursor position in screen coordinates

924 Views Asked by At

VTE's get_cursor_position() returns "scrollback buffer" coordinates, i.e. the y is relative not to beginning of the screen, but to the to the beginning of the scrollback buffer. How can I get screen coordinates instead?

1

There are 1 best solutions below

0
On
gtk.gdk.get_default_root_window().get_pointer()