summaryrefslogtreecommitdiffstats
path: root/src/vdagent-x11-priv.h
Commit message (Collapse)AuthorAgeFilesLines
* randr: handle XRRScreenChangeNotifyEventMarc-Andre Lureau2015-04-101-1/+3
| | | | | | | | Make sure vdagent follows the current monitor configuration. This solves a number of issue where the pointer input is off, because the uinput tablet isn't reconfigured. https://bugzilla.redhat.com/show_bug.cgi?id=1086657
* Handle STRING selection typeMarc-André Lureau2014-07-211-2/+2
| | | | | | This is to please vncviewer. https://bugzilla.redhat.com/show_bug.cgi?id=1117764
* Reply to TIMESTAMP requestsMarc-André Lureau2014-07-211-0/+1
| | | | | | | Add TIMESTAMP handling, This is to please vncviewer. https://bugzilla.redhat.com/show_bug.cgi?id=1117764
* vdagent-x11: Add support for setups with multiple screensHans de Goede2013-04-101-1/+2
| | | | | | | | | | | | | | Some users have a need for old-fashioned setups with multiple X11 Screens rather then one large virtual Screen as modern X usually has. This can be accomplished by using multiple qxl devices + a xorg.conf file assigning one Screen per qxl device. Limitations: -Max one monitor per Screen / qxl device -All monitors / Screens must have the same resolution -No client -> guest resolution syncing Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* vdagent-x11: Change root_window, width and height to an arrayHans de Goede2013-04-101-4/+4
| | | | | | | This is a preparation patch for handling setups where there are multiple qxl-devices each mapped to a separate screen. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* vdagent-x11: Unify / share error handling between vdagent-x11 and randr codeHans de Goede2013-04-091-0/+7
| | | | Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* vdagent-x11: Add a vdagent_x11_get_wm_name functionHans de Goede2013-04-091-0/+1
| | | | Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* randr: Use xrandr to get monitor info for uinput when using XrandrHans de Goede2013-02-041-1/+2
| | | | | | | | Unlike the comment this commit removes claims, the info is not the same. When the monitor settings are "sparse", ie monitor 1 and 3 are enabled, then Xinerama will report this as a continous range ie monitor 1 and 2 are enabled. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* randr: Ignored previously failed client monitor configsHans de Goede2013-01-301-0/+1
| | | | | | | | If a client window is maximized or fullscreen, and we fail to set the config, the client will keep resending the config (as a result of the attempted changes + rollback), sending us into a loop until the window gets unmaximized. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* randr: Properly delete old mode in multi-monitor configsHans de Goede2013-01-071-0/+9
| | | | | | | | | | | Using x11->width and x11->height to delete the old mode is wrong, since this contains the total screen width and height, not the per monitor width and height. And we must not only delete the mode when replacing it with a new one, but also when disabling the output. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* randr: Properly update things if the number of monitors changesHans de Goede2013-01-071-0/+1
| | | | | | | | If the number of monitors changes, and the remaining monitors are the same as before, then same_monitor_configs() would wrongly return true, causing monitor-reconfiguarion to be skipped. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* Replace file-logging with syslogHans de Goede2012-08-241-5/+4
| | | | | | | | This resolves: http://bugzilla.redhat.com/show_bug.cgi?id=747894 http://bugzilla.freedesktop.org/show_bug.cgi?id=49092 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* vdagent: add randr support (big)Alon Levy2012-06-241-2/+20
|
* vdagent-x11-randr.c: introduce as split from vdagent-x11.cAlon Levy2012-06-201-0/+114