From: Alex Wu
---
src/xwayland/Makefile.am |2 ++
1 file changed, 2 insertions(+)
diff --git a/src/xwayland/Makefile.am b/src/xwayland/Makefile.am
index 3a26cbd..82ad53d 100644
--- a/src/xwayland/Makefile.am
+++ b/src/xwayland/Makefile.am
@@ -33,4 +33,6 @@ BUILT_SOURCES =
From: Alex Wu
---
trunk/ecore/src/lib/ecore_wayland/Ecore_Wayland.h |1 +
trunk/ecore/src/lib/ecore_wayland/ecore_wl_dnd.c |9 +
trunk/elementary/src/lib/elm_cnp.c|5 +++--
trunk/elementary/src/lib/elm_entry.c | 12
4 files changed
From: Alex Wu
Just support type of ELM_SEL_TYPE_CLIPBOARD. Use
HAVE_ELEMENTARY_WAYLAND macro to build againt wayland engine, and use
elm_win_wl_window_get() run-time engine check.
---
trunk/elementary/src/lib/elm_cnp.c | 121 +++-
1 file changed, 119 insertions(+
From: Alex Wu
Add a global Ecore_Wl_Dnd object to handle copy and paste. I think
it is more appropriate to name this struct Ecore_Wl_Selection, which
is responsible for both dnd and cnp. This patch just cover the copy
and paste and not support "clear clipboard", due to wayland has no
way to do th
Changes for v2:
1. Get elementary entry cnp worked on wayland engine.
2. Rebase to commit http://svn.enlightenment.org/svn/e@74816
Changes from v1:
1. According to Robert's comments, in elm_cnp.c, add HAVE_ELEMENTARY_WAYLAND
path to explicitly build against wayland engine, add runtime engine
che
From: Alex Wu
Just support type of ELM_SEL_TYPE_CLIPBOARD. Use
HAVE_ELEMENTARY_WAYLAND macro to build againt wayland engine, and use
elm_win_wl_window_get() run-time engine check.
---
trunk/elementary/src/lib/elm_cnp.c | 121 +++-
1 file changed, 119 insertions(+
From: Alex Wu
Add a global Ecore_Wl_Dnd object to handle copy and paste. I think
it is more appropriate to name this struct Ecore_Wl_Selection, which
is responsible for both dnd and cnp. This patch just cover the copy
and paste and not support "clear clipboard", due to wayland has no
way to do th
Changes from v1:
1. According to Robert's comments, in elm_cnp.c, add HAVE_ELEMENTARY_WAYLAND
path to explicitly build against wayland engine, add runtime engine
checking.
2. Rebase to the latest code.
The following changes since commit 9551f66bed1fb7dab7fdcadb175077ed2d34b783:
[elm] Forgotte
From: Alex Wu
Just support type of ELM_SEL_TYPE_CLIPBOARD. If not define
HAVE_ELEMENTARY_X, the wayland path will be built.
---
trunk/elementary/src/lib/elm_cnp.c | 119 +++-
1 file changed, 117 insertions(+), 2 deletions(-)
diff --git a/trunk/elementary/src/lib
From: Alex Wu
Add a global Ecore_Wl_Dnd object to handle copy and paste. I think
it is more appropriate to name this struct Ecore_Wl_Selection, which
is responsible for both dnd and cnp. This patch just cover the copy
and paste and not support "clear clipboard", due to wayland has no
way to do th
Ecore_Wayland: Test for a valid surface before we try to process the
pointer_enter event. (2012-07-26 07:23:32 +)
Alex Wu (2):
ecore_wayland: Add Copy and Paste support
elem_cnp: Add Copy and Paste support for wayl
From: Alex Wu
The current wayland_egl engine uses a global singleton EGLContext
object to render context. All Evas_GL_Wl_Window objects, which
wraps EGLSurface, share this object, so we have no chance to
differentiate the frame buffer configuration for each EGLSurface.
When calling elm_win_alpha
From: Alex Wu
The section name in weston.ini is "shortcut" and keys definition
are the same as launcher. The layout of shortcut is hardcoded for
implementation convenience. Since the concept of shortcut is almost
the same as panel_launcher, reused the panel_launcher code.
---
clients/desktop-she
From: Alex Wu
The launcher before in tablet-shell just draw the icon and will
not activate a client. This patch makes the launcher as sub-widget
of homescreen, and implements enter/leave/button/redraw hanler to
do the actual client launching action.
---
clients/tablet-shell.c | 112
From: Alex Wu
Not including the stdio.h makes this compiling error.
---
src/tablet-shell.c |1 +
1 file changed, 1 insertion(+)
diff --git a/src/tablet-shell.c b/src/tablet-shell.c
index 91b1514..56512f6 100644
--- a/src/tablet-shell.c
+++ b/src/tablet-shell.c
@@ -23,6 +23,7 @@
#include
From: Alex Wu
wl_seat adopation patch didn't change the interface name from
"wl_input_device" to "wl_seat" at global object listener handler,
so that no input will be added.
---
src/lib/ecore_wayland/ecore_wl.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/ecore
From: Alex Wu
Since we already have wayland support in eglut, add a target for
es2geares_wayland.
---
src/egl/opengles2/Makefile.am |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/egl/opengles2/Makefile.am b/src/egl/opengles2/Makefile.am
index c84d91d..41c1b80 1
From: Alex Wu
This patch adds wayland support for eglut, so that the demos based
on eglut can run on wayland platform.
---
configure.ac | 14
src/egl/eglut/Makefile.am | 15 -
src/egl/eglut/eglut_wayland.c | 135 +
3 file
The following changes since commit ebe0ddf657903bef32a161dc66254fbf8725f986:
util: add gl_wrap.h and glu_wrap.h to libutil_la_SOURCES (2012-04-23 08:21:43
-0600)
Alex Wu (2):
eglut: Add wayland support
opengles2: Add es2gears_wayland target
configure.ac | 14 +
From: Alex Wu
This patch is for Bug 48906. It remove rotation when entering
fullscreen and restore rotation when exiting.
reversion history:
v1: Remove rotation when entering fullscreen.
v2: Add restoring rotation when exiting fullscreen.
v3: Change the commit message into a more semantical sty
From: Alex Wu
Remove rotation when entering fullscreen and restore rotation when
exiting fullscreen.
---
src/shell.c | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index 9c844b5..6654167 100644
--- a/src/shell.c
+++ b/src/shell.c
From: Alex Wu
Rotation and then fullscreen leads to fullscreen display rotation.
---
src/shell.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index fd66462..1a206af 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -925,6 +925,12 @@ shell_su
From: Alex Wu
---
src/compositor-drm.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/compositor-drm.c b/src/compositor-drm.c
index 8aab840..837da8c 100644
--- a/src/compositor-drm.c
+++ b/src/compositor-drm.c
@@ -1319,7 +1319,6 @@ create_output_for_connector(struct
From: Alex Wu
Switching display mode may happen when:
1. The fullscreen surface is at top most in fullscreen layer and with
"driver" method. Shell will switch output mode to match the surface
size. If no matched mode found, fall back to "fill" method.
2. The top fullscreen surface is destro
From: Alex Wu
Implement switch_mode hook for drm backend.
---
src/compositor-drm.c | 150 +-
1 files changed, 149 insertions(+), 1 deletions(-)
diff --git a/src/compositor-drm.c b/src/compositor-drm.c
index 4232f78..deda815 100644
--- a/src/compo
From: Alex Wu
This allow each output backend to switch the display mode. It is
useful to some applications like fullscreen game, xbmc.
---
src/compositor-drm.c |1 +
src/compositor-openwfd.c |1 +
src/compositor-wayland.c |1 +
src/compositor-x11.c |1 +
src/compositor.c
The following changes since commit e4faa2ab051aca454f3952f458dac42491e54954:
compositor: init shell after xserver (2012-04-16 16:38:30 -0400)
are available in the git repository at:
g...@gitorious.org:wayland-for-krh/weston.git fs-driver
Alex Wu (3):
compositor: Add a switch_mode hook
From: Alex Wu
Make the black surfaces semitransparent when switching surface, and
if associated fullscreen surface is chosen, make black surface opaque.
---
src/shell.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index a4cf0b4..feb38
From: Alex Wu
Use shell_stack_fullscreen() to raise fullscreen surface in activate(),
and before activate() a regular surface, move all the fullscreen
surfaces from fullscreen_layer to toplevel_layer.
Also add a void *private into struct wesont_surface since we already
have a configure() vfunc.
From: Alex Wu
Add the safe version for wl_list_for_each_reverse
---
src/wayland-util.h |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/wayland-util.h b/src/wayland-util.h
index d9e13e6..642a04b 100644
--- a/src/wayland-util.h
+++ b/src/wayland-util.h
@@ -140,6
The patch set add fullscreen support into activate() and switcher_next().
According to krh's comments, use configre vfunc pointer to check black surface.
This patch set consists wayland part and weston part.
For wayland part:
The following changes since commit 3cddb3c692acd3536a7cc8542a29f0cc3c0ac
From: Alex Wu
Not set parent in set_transient.
---
src/shell.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index 765b0a4..bf40b79 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -448,6 +448,7 @@ shell_surface_set_transient(struct wl_client *cl
From: Alex Wu
Switching display mode may happen when:
1. The fullscreen surface is at top most in fullscreen layer and with
"driver" method. Shell will switch output mode to match the surface
size. If no matched mode found, fall back to "fill" method.
2. The top fullscreen surface is destro
From: Alex Wu
Implement switch_mode hook for drm backend.
---
src/compositor-drm.c | 197 +-
1 files changed, 196 insertions(+), 1 deletions(-)
diff --git a/src/compositor-drm.c b/src/compositor-drm.c
index b01879f..e81b5a4 100644
--- a/src/compo
From: Alex Wu
This allow each output backend to switch the display mode. It is
useful to some applications like fullscreen game, xbmc.
---
src/compositor-drm.c |1 +
src/compositor-openwfd.c |1 +
src/compositor-wayland.c |1 +
src/compositor-x11.c |1 +
src/compositor.c
From: Alex Wu
For activate(), stack the surface atop fullscreen layer instead of
toplevel layer.
For switcher, involve the fullscreen surfaces into surface iteration,
and make fullscreen surface and its black surface transparent if
necessary.
---
src/shell.c | 70 ++
From: Alex Wu
Changes from v1:
a. Improve failed path in drm_output_switch_mode() according to Herrmann's
comments.
b. Doing mode-set only after the fullscreen window has been raised on top
of everything.
c. Add struct weston_mode *origin into struct weston_output to store the
original
From: Alex Wu
When the configure() is triggered by a change of buffer size,
a toplevel surface which has not ever been switched to maximazied
or fullscreen will set a random position.
Modified the position restoring logic for toplevel surface. Store
the surface position when it switches from top
From: Alex Wu
In case of no regular window, switcher will crash in switch_next()
due to "next == NULL" and in switcher_destroy() due to
"switcher->current == NULL".
---
src/shell.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index 765b0
From: Alex Wu
When a new toplevel window is activated and positioned under the
cursor, the pointer focus still on the previous window. The botton
event can not deliver to the new window. The root cause is that
weston_surface_restack() change the surface stack but not update
the weston_compositor:
From: Alex Wu
Using the switch_mode hook to change the display mode.
---
src/shell.c | 34 +-
1 files changed, 33 insertions(+), 1 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index 5d2c239..c8cb41e 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -121,6 +1
From: Alex Wu
Implement switch_mode hook for drm back end.
---
src/compositor-drm.c | 143 +-
1 files changed, 142 insertions(+), 1 deletions(-)
diff --git a/src/compositor-drm.c b/src/compositor-drm.c
index 1b0a9b9..e9583fe 100644
--- a/src/comp
From: Alex Wu
This allow each output back end to switch the display mode. It is
useful to some applications (e.g. fullscreen game, xbmc)
---
src/compositor-drm.c |1 +
src/compositor-openwfd.c |1 +
src/compositor-wayland.c |1 +
src/compositor-x11.c |1 +
src/compositor.
This patch series implement the "driver" method of fullscreen for drm
backend.
The following changes since commit 60c4954b8a0667ad5e5f65110d0342b171f3a2a2:
shell: Put popups and transients on top of their parent
are available in the git repository at:
g...@gitorious.org:wayland-for-krh/westo
From: Alex Wu
This can happen for instance running a toytoolkit application, launching
the popup menu and then clicking on a surface that does not belong to
the client that create the popup surface.
---
src/shell.c | 15 +--
1 files changed, 9 insertions(+), 6 deletions(-)
diff --
From: Alex Wu
When a client with fullscreen surface displayed was aborted by Ctrl-C, the
black surface still be there. Destroy the black surface in
destroy_shell_surface().
---
src/shell.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index
From: Alex Wu
If configure() is triggered by a change of buffer size, and the
fullscreen surface has alreay switched from non-fullscreen. An
unnecessary shell_stack_fullscreen() will be called.
---
src/shell.c | 17 +++--
1 files changed, 11 insertions(+), 6 deletions(-)
diff --gi
From: Alex Wu
When the configure() is triggered by a change of buffer size,
a toplevel surface which has not ever been switched to maximazied
or fullscreen will set a random position.
Modified the position restoring logic for toplevel surface. Store
the surface position when it switches from top
From: Alex Wu
Undo fullscreen in shell_unset_fullscreen(), do all the stacking order
in shell_stack_fullscreen(), and configure black surface, method in
shell_configure_fullscreen().
Signed-off-by: Alex Wu
Signed-off-by: Juan Zhao
---
src/shell.c | 218 +++
From: Alex Wu
All the fullscreen things (black surface, raise atop panels, transform,
positioning)
are handled in map() or configure().
Signed-off-by: Alex Wu
Signed-off-by: Juan Zhao
---
src/shell.c | 231 ++-
1 files changed, 214 ins
From: Alex Wu
This will facilitate the implementation of fullscreen.
Signed-off-by: Alex Wu
---
src/compositor.c | 16 ++--
src/compositor.h |9 +
2 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/src/compositor.c b/src/compositor.c
index b12c583..022c7a
From: Alex Wu
F12: default method
F11: scale method
F10: driver method
F9: fill method
F7: set toplevel
---
clients/Makefile.am |6 +-
clients/simple-rect.c | 726 +
2 files changed, 731 insertions(+), 1 deletions(-)
create mode 100644 cl
From: Alex Wu
For now, fullscreen surface will be atop panels and with a black surface
underlying it.
Only the WL_SHELL_SURFACE_FULLSCREEN_METHOD_SCALE method implemented in this
patch. For
other methods, just center on the surface.
---
src/shell.c | 207 ++
From: Alex Wu
This will facilitate the implementation of fullscreen.
---
src/compositor.c |6 +++---
src/compositor.h | 10 ++
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/src/compositor.c b/src/compositor.c
index b12c583..3467874 100644
--- a/src/compositor.c
++
From: Alex Wu
If client send set_fullscreen/set_transient request before the first
attach,
compositor has no chance to map the surface due to "if (es->output ==
NULL)".
You can pull it from git://gitorious.org/wayland-for-krh/weston.git
map-bug
---
src/shell.c |8 +++
From: Alex Wu
If the scanout client was interrupted (e.g. by Ctrl-C),
compositor-drm.c::page_flip_handler()
was not guaranteed to be invoked for the last scanout
drmModePageFlip(), so that pending_fs_surf_fb_id
has no chance to reset to 0, and the output will still scano
From: Alex Wu
Hi krh
This patch is the implementation of the method 3 of the
proposal(http://lists.freedesktop.org/archives/wayland-devel/2012-February/002085.html)
for handling panels when compositor has a top fullscreen regular surface, and
rebases on commit
8fb8d3b1b5b4ef7836a61f111ae
57 matches
Mail list logo