diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-09 16:37:06 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-09 16:37:06 -0600 |
commit | e9b3f195e2d568e25b8b73810503518e4e7f8480 (patch) | |
tree | 0e11dba628e359cd1145f1ddd63786a351a50cb8 /krandr/lowlevel_randr.c | |
parent | 511779841007afca5231e6c69e996eba0295eaae (diff) | |
download | tdelibs-e9b3f195e2d568e25b8b73810503518e4e7f8480.tar.gz tdelibs-e9b3f195e2d568e25b8b73810503518e4e7f8480.zip |
Add monitor hotplug notification support to TDE hardware devices library
Fix spurious xcalib pipe error notifications
Fix krandr available resolution detection
Diffstat (limited to 'krandr/lowlevel_randr.c')
-rw-r--r-- | krandr/lowlevel_randr.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/krandr/lowlevel_randr.c b/krandr/lowlevel_randr.c index 251d3bef5..c7a2edc2a 100644 --- a/krandr/lowlevel_randr.c +++ b/krandr/lowlevel_randr.c @@ -673,3 +673,8 @@ void internal_output_off (struct ScreenInfo *screen_info, struct OutputInfo *out screen_info->cur_crtc = NULL; output->off_set = 1; } + +void internal_output_set_primary (struct ScreenInfo *screen_info, RROutput output_id) +{ + XRRSetOutputPrimary(screen_info->dpy, screen_info->window, output_id); +}
\ No newline at end of file |