Most recent Debian based build instructions are for Mint 17, they didn't
work (something failed), and the list of what does and doesn't need to be
built from source has changed significantly. I tested this on a pristine
install via virtualbox. It's been a while. Pretty sweet that weston
actually
This is a follow up for desktop-shell to manually
set mapped status for views/surfaces it controls
Signed-off-by: Armin Krezović
---
desktop-shell/input-panel.c | 2 ++
desktop-shell/shell.c | 10 ++
2 files changed, 12 insertions(+)
diff --git a/desktop-shell/input-panel.c b/des
Currently, weston assumes a surface/view is mapped if
it has an output assigned. In a zero outputs scenario,
this isn't really desirable.
This patch introduces a new flag to weston_surface and
weston_view, which has to be set manually to indicate
that a surface/view is mapped.
Signed-off-by: Armi
Currently, get_default_output returns a first member
of the linked list, which can never be NULL.
This is problematic, as the function would return a
dangling pointer and NULL pointer checks wouldn't
work where needed and some of the invalid members
would get accessed that way, resulting in a cras
Currently, the gl-renderer setup is being done on per-output
basis. This isn't desirable when trying to make weston run
with zero outputs.
When there are no outputs present, there is no EGLContext or
EGLCurrent available, and trying to use an EGL extension will
result in a crash.
The problem is s
When there are no outputs present, an output pointer
can be NULL. Dereferencing such pointer will result
in a crash.
Signed-off-by: Armin Krezović
---
desktop-shell/shell.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c
index c48
Currently, the keyboard client is created and the input
panel surface is set as toplevel on the first output it
finds. This does not work in a scenario when there are
no outputs, resulting in weston-keyboard to crash at
startup due to operating on an invalid output pointer.
This makes input panel
This is a follow up for fullscreen-shell to manually
set mapped status for views/surfaces it controls
Signed-off-by: Armin Krezović
---
fullscreen-shell/fullscreen-shell.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fullscreen-shell/fullscreen-shell.c
b/fullscreen-shell/fullscreen-she
This patch adds a new command line option which can be
used to tell headless backend not to create any
virtual outputs.
This will be used for output hotplug emulation, where
weston will start with no outputs available, and the
virtual output will be created at runtime.
Signed-off-by: Armin Krezov
When there are no outputs present, an output pointer
can be NULL. Dereferencing such pointer will result
in a crash.
Signed-off-by: Armin Krezović
---
src/compositor.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/compositor.c b/src/compositor.c
index 37d94ec..d246046 100644
--- a/s
This is a follow up for ivi-shell to manually
set mapped status for views/surfaces it controls
Signed-off-by: Armin Krezović
---
ivi-shell/input-panel-ivi.c | 2 ++
ivi-shell/ivi-layout.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/ivi-shell/input-panel-ivi.c b/ivi-shell/input-pa
Currently, display_get_output returns a first member
of the linked list, which can never be NULL.
This is problematic, as the function would return a
dangling pointer and NULL pointer checks wouldn't
work where needed and some of the invalid members
would get accessed that way, resulting in a cras
12 matches
Mail list logo