From: Juan Zhao
When applications not directly based on toytoolkit, like simple-egl, efl
applications is grabbed and moved, they may be moved to the place under
the panel. Then they could not be grabbed again.
Don't allow the pointer's bounding box move across the shell's active_regions.
v3: use
From: Juan Zhao
don't create a window when the file doesn't exist
to fix the bug
https://bugs.freedesktop.org/show_bug.cgi?id=52450
---
clients/image.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/clients/image.c b/clients/image.c
index 711f0d8..c289d76 100644
--- a/clients/image.c
From: Ning Tang
Making icon-size, layout's row and column number manageable in
weston-tablet.ini. Removing click restriction when mouse
dragging.
Signed-off-by: Tang Ning
---
clients/tablet-shell.c | 27 ++-
1 file changed, 14 insertions(+), 13 deletions(-)
diff --gi
From: Juan Zhao
Signed-off-by: Juan Zhao
---
weston-tablet.ini | 69 +--
1 file changed, 31 insertions(+), 38 deletions(-)
diff --git a/weston-tablet.ini b/weston-tablet.ini
index 2ef5ab6..9848ae2 100644
--- a/weston-tablet.ini
+++ b/weston-t
From: Juan Zhao
Signed-off-by: Juan Zhao
---
clients/tablet-shell.c | 4 +--
src/compositor.c | 6 +++-
weston-tablet.ini | 83 ++
3 files changed, 90 insertions(+), 3 deletions(-)
create mode 100644 weston-tablet.ini
diff --git a/c
From: Juan Zhao
Add a black surface under the application's surface and center it on screen.
Signed-off-by: Tang Ning
---
clients/tablet-shell.c | 26 +++---
src/tablet-shell.c | 210 -
2 files changed, 173 insertions(+), 63 deletions(-)
di
From: Ning Tang
Remove confliction in key shortcut, so now mod+R(record video) can
be used in tablet-shell.
Signed-off-by: Tang Ning
---
src/tablet-shell.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/tablet-shell.c b/src/tablet-shell.c
index 55522be..774488b 1
From: Juan Zhao
Signed-off-by: Juan Zhao
---
clients/tablet-shell.c | 5 +++--
src/tablet-shell.c | 48
2 files changed, 51 insertions(+), 2 deletions(-)
diff --git a/clients/tablet-shell.c b/clients/tablet-shell.c
index 651aa67..37c0a48 10
From: Juan Zhao
Add a event in tablet-client. When a client is connected to server, the
set_fullscreen event would be sent. and client will call shell_surface's
set_fullscreen method to be fullscreen.
Client application like dnd clickdot can run on tablet-shell.
listener is added in window.c and
From: Ning Tang
Show a trash image when dragging the launcher.
If launcher is upon trash, it will be translucent and release it
will cause the icon as well as tag in weston.ini be deleted.
Signed-off-by: Li Chen
Signed-off-by: Yi Yuan
Signed-off-by: Ning Tang
---
clients/tablet-
From: Ning Tang
The determination is occurred in launcher motion function.
If the launcher is pressed some time, it will create the drag surface.
That launcher's icon would follow cursor.
Signed-off-by: Li Chen
Signed-off-by: Yi Yuan
Signed-off-by: Ning Tang
---
clients/tablet-s
From: Ning Tang
Use frame callback to move layout and thus making layout move
at a speed. Also button and motion function will record the offset.
Signed-off-by: Li Chen
Signed-off-by: Yi Yuan
Signed-off-by: Ning Tang
---
clients/tablet-shell.c | 167 +
From: Ning Tang
Layout add redraw function to set allocation for launchers.
Signed-off-by: Li Chen
Signed-off-by: Yi Yuan
Signed-off-by: Ning Tang
---
clients/tablet-shell.c | 177 +++--
1 file changed, 141 insertions(+), 3
From: Ning Tang
Add a structure of layout which is between homescreen and launchers.
The configuration of layout is also included.
Signed-off-by: Li Chen
Signed-off-by: Yi Yuan
Signed-off-by: Ning Tang
---
clients/tablet-shell.c | 67 +
From: Juan Zhao
When applications not directly based on toytoolkit, like simple-egl, efl
applications is grabbed and moved, they may be moved to the place under
the panel. Then they could not be grabbed again.
Don't allow the pointer's bounding box move across the shell's active_regions.
One mor
From: Juan Zhao
When applications not directly based on toytoolkit, like simple-egl, efl
applications is grabbed and moved, they may be moved to the place under
the panel. Then they could not be grabbed again.
Don't allow the pointer's bounding box move across the desktop's viewport.
Signed-off-
From: Juan Zhao
When the client didn't response to ping event in time, the server
will do "set_busy_cursor" again and again. In fact it should only need to
set it at the first time. Because handle_pointer_focus could help to set it,
when the application was focused.
Signed-off-by: Juan Zhao
From: Juan Zhao
When applications not directly based on toytoolkit, like simple-egl, efl
applications is grabbed and moved, they may be moved to the place under
the panel. Then they could not be grabbed again.
Add panel height limitation when configuring the surface new places.
Signed-off-by: Ju
From: Juan Zhao
combine several "if" conditions
Signed-off-by: Juan Zhao
---
src/shell.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index 40cef14..613304f 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -913,12 +913,9 @@ ping_handler(st
From: Juan Zhao
When we're launching applications, we meet weston random unresponsive issue.
Regarding the backtrace, it is caused by set_busy_cursor->shell_grab_start->
wl_pointer_set_focus->wl_signal_emit->handle_pointer_focus->set_busy_cursor.
The busy cursor will be set by ping_timeout_handl
From: Juan Zhao
When the client was hanged and not responsible for a long time, the server
will generate endless and useless "set_busy_cursor" related events. And
finally, weston crashed, with error message:"
read error from connection 0x823b560: Connection reset by peer (104)
read error: C
From: Juan Zhao
When the client was hanged and not responsible for a long time, the server will
generate
endless and useless "set_busy_cursor" related events. And finally, weston
crashed, with
error message:"read error from connection 0x823b560: Connection reset by peer
(104)
read error: C
From: Juan Zhao
When the client was hanged and not responsible for a long time, the server will
generate
endless and useless "set_busy_cursor" related events. And finally, weston
crashed, with
error message:"read error from connection 0x823b560: Connection reset by peer
(104)
read error: C
From: Juan Zhao
It does not get the correct panel height for now. The memeber of list
to read should be layer_link not link now.
Signed-off-by: Juan Zhao
---
src/shell.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/shell.c b/src/shell.c
index 2cc0139..66c9d64 100644
From: Juan Zhao
On wayland, elementary_test couldn't be maximised.
It's because of the clock window's weight is 0.
We should set its weight in the application side.
---
trunk/elementary/src/bin/test_clock.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/trunk/elementary
From: Juan Zhao
When the icon provided in weston.ini is not available, it will report a
segfault error.
Check the icon at first.
backtrace:
*INT_cairo_surface_status (surface=0x0) at cairo-surface.c:259
259 {
(gdb) bt
#0 *INT_cairo_surface_status (surface=0x0) at cairo-surface.c:259
#1 0
From: Juan Zhao
Now we can choose zoom or fade in weston.ini
to fulfill and customize the user experence easier.
Signed-off-by: Juan Zhao
---
src/compositor.h |8
src/shell.c | 38 +-
weston.ini |2 ++
3 files changed, 47 insert
From: Juan Zhao
To ful-fill user experience, add the fading-in animation
when mapping a window.
v2: update that westom_surface_damage to repaint
remove that transform part in fade struct
Signed-off-by: Juan Zhao
---
src/util.c | 85 ++
From: Juan Zhao
Now we can choose zoom or fade in weston.ini
to fulfill and customize the user experence easier.
Signed-off-by: Juan Zhao
---
src/compositor.h |8
src/shell.c | 38 +-
weston.ini |2 ++
3 files changed, 47 insert
From: Juan Zhao
To ful-fill user experience, add the fading-in animation
when mapping a window.
Signed-off-by: Juan Zhao
---
src/util.c | 89
1 files changed, 89 insertions(+), 0 deletions(-)
diff --git a/src/util.c b/src/util.c
i
From: Juan Zhao
weston tty need to use K_OFF which is added in the kernel on linux-2.6.39.
add this check in the configure stage.
Bug Fix for https://bugs.freedesktop.org/show_bug.cgi?id=48579
Signed-off-by: Juan Zhao
Reported-by: Shuang He
---
configure.ac |3 +++
1 files changed, 3 in
From: Juan Zhao
F12:default
F11:scale
F10:driver
F9:fill
F7: set toplevel to back
---
clients/Makefile.am |6 +-
clients/simple-rect.c | 681 +
2 files changed, 686 insertions(+), 1 deletions(-)
create mode 100644 clients/simple-rect.c
dif
From: Juan Zhao
---
src/shell.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index 1d95313..9ef666f 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -71,7 +71,6 @@ struct wl_shell {
} screensaver;
};
-/*FIXME:Using bit flag
From: Juan Zhao
---
src/compositor-drm.c | 15 +--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/src/compositor-drm.c b/src/compositor-drm.c
index 623799f..d94ef5c 100644
--- a/src/compositor-drm.c
+++ b/src/compositor-drm.c
@@ -149,7 +149,7 @@ drm_output_repaint(
From: Juan Zhao
---
src/compositor.h |2 ++
src/shell.c | 30 +-
2 files changed, 27 insertions(+), 5 deletions(-)
diff --git a/src/compositor.h b/src/compositor.h
index aa62c81..94f5cc3 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -292,6 +292,8
From: Zhiwen Wu
1.Add a struct wl_list wl_shell::hidden_panels to store the hidden panels.
2.Add a hook weston_shell:prepare_repaint to do the stacking adjustment before
output repainting.
3.In the hook, check that if we had a top and fullscreen surface.
If yes, remove the panel surface fr
From: Juan Zhao
---
src/shell.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index b77cef3..e0c8f07 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -1303,10 +1303,6 @@ weston_surface_set_fullscreen(struct weston_surface
*surface)
From: Juan Zhao
---
clients/window.c |3 +-
src/compositor-drm.c | 10 -
src/compositor.c |5 ++-
src/compositor.h | 11 +-
src/shell.c | 97 +-
5 files changed, 103 insertions(+), 23 deletions(-)
diff --
From: Juan Zhao
Map the surface as a fullscreen surface. On the output the
surface is assigned to. Leaving it to NULL will allow the compositor
to choose one output. The client can use different fulllscreen
method to fix the size mismatch issue: default, scale, driver
and fill.
Hints to indicate
From: Juan Zhao
v6: rebase the fullscreen part, we implemented default, scale, and fill method.
For that window stacking part, these patches are still based on current
stacking method. We can discuss in some other thread to discuss the window
stacking method: how and when, and what's
From: Juan Zhao
scanner.c:142:42: warning
connection.c:529:9: warning
connection.c:559:10: warning
---
src/connection.c |4 ++--
src/scanner.c|2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/connection.c b/src/connection.c
index 4ac5bf8..746f445 100644
--- a/
From: Juan Zhao
F8: set maximised
F7: set toplevel to back
---
clients/Makefile.am |6 +-
clients/simple-rect.c | 646 +
2 files changed, 651 insertions(+), 1 deletions(-)
create mode 100644 clients/simple-rect.c
diff --git a/clients/Makef
From: Juan Zhao
---
src/shell.c | 96 +++---
1 files changed, 91 insertions(+), 5 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index 66c4f01..cd7a13f 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -81,6 +81,7 @@ enum shell_surface_type
From: Juan Zhao
A request from the client to notify the compositor the maximised
operation.
The compositor will reply with a configure event telling
the expected new surface size. The operation is completed on the
next buffer attach to this surface.
A maximised client will fill the fullscreen
From: Juan Zhao
v6: I rebase the set_maximised work at first. Because it is independed with
fullscreen protocol.
v7: update the protocol comments
remove some unnecessary printf
add output parameter, only the bound output can be set maximised to
move the geometry calculation to map an
From: Juan Zhao
F8: set maximised
F7: set toplevel to back
---
clients/Makefile.am |6 +-
clients/simple-rect.c | 647 +
2 files changed, 652 insertions(+), 1 deletions(-)
create mode 100644 clients/simple-rect.c
diff --git a/clients/Makef
From: Juan Zhao
---
src/shell.c | 99 ---
1 files changed, 94 insertions(+), 5 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index 53b192c..d7c2476 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -81,6 +81,7 @@ enum shell_surface_typ
From: Juan Zhao
A request from the client to notify the compositor the maximised
operation.
The compositor will reply with a configure event telling
the expected new surface size. The operation is completed on the
next buffer attach to this surface.
A maximised client will fill the fullscreen
From: Juan Zhao
v6: I rebase the set_maximised work at first. Because it is independed with
fullscreen protocol.
v7: update the protocol comments
remove some unnecessary printf
add output parameter, only the bound output can be set maximised to
move the geometry calculation to map an
From: Juan Zhao
F8: set maximised
F7: set toplevel to back
---
clients/Makefile.am |6 +-
clients/simple-rect.c | 647 +
2 files changed, 652 insertions(+), 1 deletions(-)
create mode 100644 clients/simple-rect.c
diff --git a/clients/Makef
From: Juan Zhao
---
src/shell.c | 89 ++-
1 files changed, 88 insertions(+), 1 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index 53b192c..229a027 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -81,6 +81,7 @@ enum shell_surface_typ
From: Juan Zhao
A request from the client to notify the compositor the maximised
operation.
The compositor will reply with a configure event telling
the expected new surface size. The operation is completed on the
next buffer attach to this surface.
A maximised client will fill the fullscreen
From: Juan Zhao
v6:I rebase the set_maximised work at first. Because it is independed with
fullscreen protocol.
v7:update the protocol comments
remove some unnecessary printf
add output parameter, only the bound output can be set maximised to
move the geometry calculation to map and con
From: Juan Zhao
F8: set maximised
F7: set toplevel to back
---
clients/Makefile.am |6 +-
clients/simple-rect.c | 647 +
2 files changed, 652 insertions(+), 1 deletions(-)
create mode 100644 clients/simple-rect.c
diff --git a/clients/Makef
From: Juan Zhao
---
src/shell.c | 100 +++
1 files changed, 100 insertions(+), 0 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index 53b192c..ae66d3d 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -81,6 +81,7 @@ enum shell_surface_ty
From: Juan Zhao
A request from the client to notify the compositor the maximised
operation.
The compositor will reply with a configure event telling
the expected new surface size. The operation is completed on the
next buffer attach to this surface.
A maximised client will fill the fullscreen
From: Juan Zhao
v6:I rebase the set_maximised work at first. Because it is independed with
fullscreen protocol.
v7:update the protocol comments
remove some unnecessary printf
add output parameter, only the bound output can be set maximised to
move the geometry calculation to map and con
From: Juan Zhao
F9: set maximised
F8: set toplevel to back
---
clients/Makefile.am |6 +-
clients/simple-rect.c | 648 +
2 files changed, 653 insertions(+), 1 deletions(-)
create mode 100644 clients/simple-rect.c
diff --git a/clients/Makef
From: Juan Zhao
---
src/shell.c | 73 +++
1 files changed, 73 insertions(+), 0 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index d15c8e2..e6aeeae 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -81,6 +81,7 @@ enum shell_surface_typ
From: Juan Zhao
A request from the client to notify the compositor the maximised
operation.
The compositor will reply with a configure event telling
the expected new surface size. The operation is completed on the
next buffer attach to this surface.
A maximised client will fill the fullscreen
From: Juan Zhao
v6:I rebase the set_maximised work at first. Because it is independed with
fullscreen protocol.
v7:update the comments
remove some unnecessary printf
add output parameter, only the bound output can be set maximised to
move the geometry calculation to map and configure
y
From: Juan Zhao
F9: set maximised
F8: set toplevel to back
---
clients/Makefile.am |6 +-
clients/simple-rect.c | 654 +
2 files changed, 659 insertions(+), 1 deletions(-)
create mode 100644 clients/simple-rect.c
diff --git a/clients/Makef
From: Juan Zhao
---
src/shell.c | 53 +
1 files changed, 53 insertions(+), 0 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index d15c8e2..48f1ceb 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -417,6 +417,58 @@ get_default_output(struct
From: Juan Zhao
I rebase the set_maximised work at first. Because it is independed with
fullscreen protocol.
---
protocol/wayland.xml |8
11 1 files changed, 8 insertions(+), 0 deletions(-)
clients/Makefile.am |6 +-
clients/simple-rect.c | 654 +++
From: Juan Zhao
add a request from the client to notify the compositor the maximised
operation. The compositor will send a configure event back to the
client
---
protocol/wayland.xml |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/protocol/wayland.xml b/protocol/w
From: Juan Zhao
Add widget_set_size in the initiate time to allow smoke get the
correct surface later. Or it will report segment fault error
because of the null surface.
Also add resize_handler to not allow resizing just like flower.
Signed-off-by: Juan Zhao
---
clients/smoke.c | 12 ++
From: Juan Zhao
When sceduling redraw, the checking will use previous window size
before resize_handler is called. Because resize_handler may change
the window size.
For example, in the flower, the resize_handler will set the window
size to make widget and window size the same.
This patch is s
From: Juan Zhao
Signed-off-by: Juan Zhao
Signed-off-by: Zhiwen Wu
---
src/shell.c | 52 ++--
1 files changed, 50 insertions(+), 2 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index cba0556..8da38b7 100644
--- a/src/shell.c
+++ b/src/she
From: Juan Zhao
Signed-off-by: Juan Zhao
Signed-off-by: Zhiwen Wu
---
src/compositor-drm.c | 156
src/compositor.c | 216 ++
src/shell.c | 13 +++-
3 files changed, 352 insertions(+), 33 delet
From: Juan Zhao
mainly update shell part here
Signed-off-by: Juan Zhao
Signed-off-by: Juan Zhao
---
src/compositor.c | 21 +-
src/compositor.h | 28 -
src/shell.c | 60 ++---
3 files changed, 89
From: Juan Zhao
F12:Force mode
F11:Scale mode
F10:Fill mode
F09:Maximised
F08:set_toplevel to reset
Signed-off-by: Juan Zhao
Signed-off-by: Zhiwen Wu
---
clients/Makefile.am |5 +-
clients/simple-fullscreen.c | 629 +++
clients/window.c
From: Juan Zhao
add a request from the client to notify the compositor the maximised
operation. The compositor will send a configure event back to the
client
Signed-off-by: Juan Zhao
Signed-off-by: Zhiwen Wu
---
protocol/wayland.xml |5 +
1 files changed, 5 insertions(+), 0 deletions(
From: Juan Zhao
Map the surface as a fullscreen surface. Four types are supported.
"default" means the client has no preference on fullscreen
behavior, policies are determined by compositor.
The compositor will send a configure event to the
client.
"scale" means th
From: Juan Zhao
Signed-off-by: Juan Zhao
Signed-off-by: Zhiwen Wu
---
src/compositor-drm.c | 162 +++
src/compositor.c | 206 ++
src/shell.c | 11 +++
3 files changed, 348 insertions(+), 31 del
From: Juan Zhao
mainly update shell part here
Signed-off-by: Juan Zhao
Signed-off-by: Zhiwen Wu
---
src/compositor.c | 17 +
src/compositor.h |7 +++
src/shell.c |1 +
3 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/src/compositor.c b/src/com
From: Juan Zhao
mainly update shell part here
Signed-off-by: Juan Zhao
Signed-off-by: Zhiwen Wu
---
src/compositor.c |4 +-
src/compositor.h | 21 ++-
src/shell.c | 59 ++---
3 files changed, 64 insertions(+), 20 del
From: Juan Zhao
F12:Force mode
F11:Scale mode
F10:Fill mode
F09:Maximised
F08:set_toplevel to reset
Signed-off-by: Juan Zhao
Signed-off-by: Zhiwen Wu
---
clients/Makefile.am |5 +-
clients/simple-fullscreen.c | 620 +++
clients/window.c
From: Juan Zhao
add a request from the client to notify the compositor the maximised
operation. The compositor will send a configure event back to the
client
Signed-off-by: Juan Zhao
Signed-off-by: Zhiwen Wu
---
protocol/wayland.xml |5 +
1 files changed, 5 insertions(+), 0 deletions(
From: Juan Zhao
Map the surface as a fullscreen surface. Four types are supported.
"default" means the client has no preference on fullscreen
behavior, policies are determined by compositor.
The compositor will send a configure event to the
client.
"scale" means th
From: Juan Zhao
F12:Force mode
F11:Scale mode
F10:Fill mode
F09:Maximised
F08:set_toplevel to reset
Signed-off-by: Juan Zhao
Signed-off-by: Zhiwen Wu
---
clients/Makefile.am |5 +-
clients/simple-fullscreen.c | 622 +++
clients/window.c
From: Juan Zhao
Signed-off-by: Juan Zhao
Signed-off-by: Zhiwen Wu
---
src/shell.c | 43 ++-
1 files changed, 42 insertions(+), 1 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index d19b449..c728c5f 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -
From: Juan Zhao
Signed-off-by: Juan Zhao
Signed-off-by: Zhiwen Wu
---
src/compositor-drm.c | 163 +
src/compositor.c | 219 +++---
src/shell.c | 20 +
3 files changed, 372 insertions(+), 30 del
From: Juan Zhao
mainly update shell part here
Signed-off-by: Juan Zhao
Signed-off-by: Zhiwen Wu
---
src/compositor.c |4 +-
src/compositor.h | 21 ++-
src/shell.c | 59 ++---
3 files changed, 64 insertions(+), 20 del
From: Juan Zhao
add a request from the client to notify the compositor the maximised
operation. The compositor will send a configure event back to the
client
Signed-off-by: Juan Zhao
Signed-off-by: Zhiwen Wu
---
protocol/wayland.xml |5 +
1 files changed, 5 insertions(+), 0 deletions(
From: Juan Zhao
Map the surface as a fullscreen surface. Four types are supported.
"default" means the client has no preference on fullscreen
behavior, policies are determined by compositor.
The compositor will send a configure event to the
client.
"scale" means th
From: Alex Wu
mainly send a configure event to the client
Signed-off-by: Juan Zhao
Signed-off-by: Alex Wu
---
src/shell.c | 48
1 files changed, 48 insertions(+), 0 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index d12bc1a..b93bfa3
From: Alex Wu
For some appliation(e.g. xbmc) wanting actual fullscreen effect, compositor
should change the
display mode to match the app UI rectangle. We add 2 parameters to
set_fullscreen in order to
let client to choose the appropriate way to deal with dismatch between the
client's surface
From: Alex Wu
add one interface to let the client notify the compositor the maximised
operation,
and then the compositor will send a configure event back to the client
Signed-off-by: Juan Zhao
Signed-off-by: Alex Wu
---
protocol/wayland.xml |2 ++
1 files changed, 2 insertions(+), 0 de
From: Alex Wu
framerate: the expected framerate which will be used as refresh value to choose
display mode.
flags: indicate how to deal with resolution dismatch.
support three methods:
"SCALE" means the compositor will scale the surface to the fullscreen.
"FORCE" means changing the scr
From: Juan Zhao
if the image file is not found, desktop-shell will exit un-expectly
add the error checking in background_draw
---
clients/desktop-shell.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c
index 87053f6..14
From: Zhiwen Wu
F11 for Force mdoe: change the screen's mode and back from the fullscreen mode
F12 for Fill mode: fill the outside of the surface to make it fullscreen,
and back from the mode
---
clients/Makefile.am |5 +-
clients/simple-fullscreen.c | 543 ++
From: Zhiwen Wu
fill in the set_mode interface for fullscreen usage
---
compositor/compositor-drm.c | 158 +++
1 files changed, 158 insertions(+), 0 deletions(-)
diff --git a/compositor/compositor-drm.c b/compositor/compositor-drm.c
index f1047ee..03ed9f
From: Juan Zhao
figure out different surfaces for wlsc_surface, like cursor, and pannel,
for fullscreen mode, it should also be paint but the ohter surfaces
should not be paint.
---
compositor/compositor.c | 34 ++
compositor/compositor.h |4
compositor
From: Juan Zhao
we will restore the mode and repaint the surfaces if the output is
changing back from fullscreen mode.
---
compositor/compositor.c | 92 +--
compositor/compositor.h |2 +
2 files changed, 75 insertions(+), 19 deletions(-)
diff -
From: Juan Zhao
add set_fullscreen method for surface and upate the fullscreen rendering part
---
compositor/compositor.c | 83 ---
compositor/compositor.h |5 +++
2 files changed, 76 insertions(+), 12 deletions(-)
diff --git a/compositor/compos
From: Juan Zhao
update the surface and implementation in desktop-shell
according to the protocol change for fullscreen.
in shell, mainly setting the flags and let the base compositor to
do the real mode changing for fill action.
---
clients/window.c|4 ++-
compositor/compositor.c |
From: Juan Zhao
support two methods:
"FORCE" means changing the screen resolution to the mode of the surface.
If there is no matched mode, just fallback to FILL mode.
"FILL" means changing fill the around of the surface to match the screen's mode.
currently, we will put the surface in the cen
From: Juan Zhao
if the surface size doesn't match the outputsize, there are two ways supported
now:
FORCE mode: find a matched mode and set the screen's mode.
FILL mode: add black borders to the surface to match the screen's mode
---
___
wayland-devel
From: Juan Zhao
Activate the toplevel, fullscrren and menu surfaces during mapping,
so that the launched applications can get the keyboard focus without
clicking on that window.
---
compositor/shell.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/compositor/shell.
From: Juan Zhao
Activate the toplevel, fullscrren and menu surfaces during mapping,
so that the launched applications can get the keyboard focus without
clicking on that window.
---
compositor/shell.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/compositor/shell.
1 - 100 of 110 matches
Mail list logo