Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
PureOS
Packages
qemu
Commits
e250d949
Commit
e250d949
authored
Sep 28, 2012
by
Gerd Hoffmann
Browse files
console: init displaychangelisteners on register
Signed-off-by:
Gerd Hoffmann
<
kraxel@redhat.com
>
parent
a93a4a22
Changes
2
Hide whitespace changes
Inline
Side-by-side
console.h
View file @
e250d949
...
...
@@ -241,6 +241,9 @@ static inline void register_displaychangelistener(DisplayState *ds, DisplayChang
{
QLIST_INSERT_HEAD
(
&
ds
->
listeners
,
dcl
,
next
);
gui_setup_refresh
(
ds
);
if
(
dcl
->
dpy_gfx_resize
)
{
dcl
->
dpy_gfx_resize
(
ds
);
}
}
static
inline
void
unregister_displaychangelistener
(
DisplayState
*
ds
,
...
...
vl.c
View file @
e250d949
...
...
@@ -3876,7 +3876,6 @@ int main(int argc, char **argv, char **envp)
#endif
/* display setup */
dpy_gfx_resize
(
ds
);
text_consoles_set_display
(
ds
);
if
(
foreach_device_config
(
DEV_GDB
,
gdbserver_start
)
<
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment