summaryrefslogtreecommitdiffstats
path: root/krandr/lowlevel_randr.c
diff options
context:
space:
mode:
Diffstat (limited to 'krandr/lowlevel_randr.c')
-rw-r--r--krandr/lowlevel_randr.c5
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