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:
428c24e
)
toytoolkit: Only require xdg_shell if the window is not custom
author
Jason Ekstrand
<jason@jlekstrand.net>
Thu, 3 Apr 2014 00:53:49 +0000
(19:53 -0500)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 3 Apr 2014 04:26:11 +0000
(21:26 -0700)
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
clients/window.c
patch
|
blob
|
history
diff --git
a/clients/window.c
b/clients/window.c
index
5ba7322
..
6f89ae6
100644
(file)
--- a/
clients/window.c
+++ b/
clients/window.c
@@
-4359,7
+4359,7
@@
window_create_internal(struct display *display, int custom)
surface = surface_create(window);
window->main_surface = surface;
-
fail_on_null(
display->xdg_shell);
+
assert(custom ||
display->xdg_shell);
window->custom = custom;
window->preferred_format = WINDOW_PREFERRED_FORMAT_NONE;