projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9396fc5
)
compositor-drm: Hide hw cursors on vt switch
author
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 6 May 2011 19:38:28 +0000
(15:38 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 6 May 2011 19:38:28 +0000
(15:38 -0400)
compositor/compositor-drm.c
patch
|
blob
|
history
diff --git
a/compositor/compositor-drm.c
b/compositor/compositor-drm.c
index
597ff71
..
4897b38
100644
(file)
--- a/
compositor/compositor-drm.c
+++ b/
compositor/compositor-drm.c
@@
-631,6
+631,7
@@
static void
vt_func(struct wlsc_compositor *compositor, int event)
{
struct drm_compositor *ec = (struct drm_compositor *) compositor;
+ struct wlsc_output *output;
switch (event) {
case TTY_ENTER_VT:
@@
-643,6
+644,10
@@
vt_func(struct wlsc_compositor *compositor, int event)
compositor->focus = 0;
compositor->state = WLSC_COMPOSITOR_SLEEPING;
drmDropMaster(ec->drm.fd);
+
+ wl_list_for_each(output, &ec->base.output_list, link)
+ drm_output_set_cursor(output, NULL);
+
break;
};
}