Send plymouth mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.freedesktop.org/mailman/listinfo/plymouth
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of plymouth digest..."


Today's Topics:

   1. [PATCH] [frame-buffer] Initialise backend->head.map_address
      (Colin Watson)


----------------------------------------------------------------------

Message: 1
Date: Tue, 30 Mar 2010 19:29:48 +0100
From: Colin Watson <[email protected]>
Subject: [PATCH] [frame-buffer] Initialise backend->head.map_address
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

It's possible for activate to be called before map_to_device, for
example if a non-graphical splash plugin is in use.  Initialise
map_address to MAP_FAILED so that we won't try to redraw in this
situation.
---
 src/plugins/renderers/frame-buffer/plugin.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/plugins/renderers/frame-buffer/plugin.c 
b/src/plugins/renderers/frame-buffer/plugin.c
index ea511a2..479e1c2 100644
--- a/src/plugins/renderers/frame-buffer/plugin.c
+++ b/src/plugins/renderers/frame-buffer/plugin.c
@@ -261,6 +261,7 @@ create_backend (const char *device_name,
   ply_trace ("creating renderer backend for device %s", backend->device_name);
 
   backend->loop = ply_event_loop_get_default ();
+  backend->head.map_address = MAP_FAILED;
   backend->heads = ply_list_new ();
   backend->input_source.key_buffer = ply_buffer_new ();
   backend->terminal = terminal;
-- 
1.7.0


------------------------------

_______________________________________________
plymouth mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/plymouth


End of plymouth Digest, Vol 17, Issue 21
****************************************

Reply via email to