projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffbc607
)
Select the right fb on enter_vt
author
Kristian Høgsberg
<krh@redhat.com>
Fri, 18 Sep 2009 21:04:20 +0000
(17:04 -0400)
committer
Kristian Høgsberg
<krh@redhat.com>
Fri, 18 Sep 2009 21:05:50 +0000
(17:05 -0400)
wayland-system-compositor.c
patch
|
blob
|
history
diff --git
a/wayland-system-compositor.c
b/wayland-system-compositor.c
index
4bc6e57
..
3c8491f
100644
(file)
--- a/
wayland-system-compositor.c
+++ b/
wayland-system-compositor.c
@@
-1300,7
+1300,7
@@
static void on_enter_vt(int signal_number, void *data)
output = container_of(ec->output_list.next, struct wlsc_output, link);
while (&output->link != &ec->output_list) {
ret = drmModeSetCrtc(fd, output->crtc_id,
- output->fb_id[output->current], 0, 0,
+ output->fb_id[output->current
^ 1
], 0, 0,
&output->connector_id, 1, output->mode);
if (ret)
fprintf(stderr, "failed to set mode for connector %d: %m\n",