File: warp_pointer.hpp

package info (click to toggle)
videolink 1.2.5-1
  • links: PTS
  • area: contrib
  • in suites: lenny
  • size: 392 kB
  • ctags: 526
  • sloc: cpp: 3,316; ansic: 884; makefile: 127
file content (10 lines) | stat: -rw-r--r-- 434 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
// Copyright 2006 Ben Hutchings <ben@decadent.org.uk>.
// See the file "COPYING" for licence details.

#include <gdkmm/window.h>

// Move the pointer by (dx, dy) relative to its current position on
// the display which window appears on.  
// This is separated from videolink.cpp solely because it uses Xlib
// and Xlib.h defines many macros we don't want.
void warp_pointer(const Glib::RefPtr<Gdk::Window> & window, int dx, int dy);