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:
dfd9d0d
)
shell: fix segfault in fullscreen binding
author
Boyan Ding
<stu_dby@126.com>
Thu, 26 Jun 2014 02:19:32 +0000
(10:19 +0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 26 Jun 2014 02:59:26 +0000
(19:59 -0700)
Commit
9aa8ce69
forgot to set shsurf->fullscreen_output in
fullscreen_binding(), causing segfault when fullscreening using key
bindings. This patch fixes that.
https://bugs.freedesktop.org/show_bug.cgi?id=79828
Signed-off-by: Boyan Ding <stu_dby@126.com>
desktop-shell/shell.c
patch
|
blob
|
history
diff --git
a/desktop-shell/shell.c
b/desktop-shell/shell.c
index
d267cde
..
f22cef8
100644
(file)
--- a/
desktop-shell/shell.c
+++ b/
desktop-shell/shell.c
@@
-4193,6
+4193,7
@@
fullscreen_binding(struct weston_seat *seat, uint32_t time, uint32_t button, voi
shsurf->state_requested = true;
shsurf->requested_state.fullscreen = !shsurf->state.fullscreen;
+ shsurf->fullscreen_output = shsurf->output;
send_configure_for_surface(shsurf);
}