Tell userspace to redraw the screen. Used after the atomic restore.
Signed-off-by: Nigel Cunningham <[email protected]>
kernel/power/ui.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/kernel/power/ui.c b/kernel/power/ui.c
index b952bf7..0441be5 100644
--- a/kernel/power/ui.c
+++ b/kernel/power/ui.c
@@ -83,3 +83,12 @@ static void ui_nl_set_state(int n)
wake_up_interruptible(&userui_wait_for_key);
}
+void userui_redraw(void)
+{
+ if (ui_helper_data.pid == -1)
+ return;
+
+ suspend_send_netlink_message(&ui_helper_data,
+ USERUI_MSG_REDRAW, NULL, 0);
+}
+
--
Nigel Cunningham nigel at suspend2 dot net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]