This patch adds an option to the RDP compositor to disable
desktop resizes initiated by RDP peer. The current behaviour
is that if an incoming RDP peer suggests a resolution that is
not the current one, a mode_switch() is done and the desktop is
resized to that new resolution. This new flag allows
Le 03/04/2014 02:08, Bill Spitzak a écrit :
Hardening wrote:
+if (!settings->DesktopResize) {
+/* peer does not support desktop resize */
+weston_log("%s: client doesn't support resizing,
closing connection\n", __FUNCTION__);
+client->
Hi Pekka,
Thank you very much, Setting the path resolved the issue.
Thanks Bryce for the build commands. I was able to build the weston.
Thank-you,
Sri
On Wed, Apr 2, 2014 at 11:52 AM, Pekka Paalanen wrote:
> On Wed, 2 Apr 2014 10:36:56 +0530
> Srivardhan M S wrote:
>
>> Hi,
>>
>> I repeated
Signed-off-by: Jason Ekstrand
---
src/compositor-wayland.c | 61 +---
1 file changed, 37 insertions(+), 24 deletions(-)
diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c
index f1b4526..52ee6e6 100644
--- a/src/compositor-wayland.c
+++ b/
This is primaraly to get weston-fullscreen to run on compositors that lack
copy-paste support.
Signed-off-by: Jason Ekstrand
---
clients/window.c | 24
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/clients/window.c b/clients/window.c
index 5309f31..83934
Signed-off-by: Jason Ekstrand
---
clients/window.c | 22 ++
clients/window.h | 6 ++
2 files changed, 28 insertions(+)
diff --git a/clients/window.c b/clients/window.c
index 6f89ae6..5309f31 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -348,6 +348,8 @@ struct
The CURSOR_PLANE capability indicates that the backend has a concept of a
cursor plane and can handle a cursor without compositing. This is currently
only advertised by the DRM backend.
The ARBITRARY_MODE flag specifies that the backend is capable of switching to
virtually any resolution. This i
This makes simple-shm act like a very simple fullscreen shell client. This
is the kind of interaction one would expect out of a boot splash screen or
similar.
Signed-off-by: Jason Ekstrand
---
Makefile.am | 6 +-
clients/simple-shm.c | 31 ++-
2 files c
Signed-off-by: Jason Ekstrand
---
protocol/fullscreen-shell.xml | 206 ++
1 file changed, 206 insertions(+)
create mode 100644 protocol/fullscreen-shell.xml
diff --git a/protocol/fullscreen-shell.xml b/protocol/fullscreen-shell.xml
new file mode 100644
in
Signed-off-by: Jason Ekstrand
---
src/compositor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compositor.c b/src/compositor.c
index 6b90bd8..362e959 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -4168,7 +4168,7 @@ int main(int argc, char *argv[])
This is version 6 of my wl_fullscreen_shell patchset. Version 5 can be
found here:
http://lists.freedesktop.org/archives/wayland-devel/2014-March/013754.html
For easier testing/review, this patch series can also be found on the
fullscreen-shell-v6 branch on my github page:
https://github.com/je
This forces weston to create one output for every parent output. This is
enabled by default if it detects a wl_fullscreen_shell. The --sprawl
option is primarily to enable this on wl_shell.
Signed-off-by: Jason Ekstrand
---
src/compositor-wayland.c | 10 +++---
src/compositor.c |
From: Hardening
This patch adds an option to the RDP compositor to disable
desktop resizes initiated by RDP peer. The current behaviour
is that if an incoming RDP peer suggests a resolution that is
not the current one, a mode_switch() is done and the desktop is
resized to that new resolution. Thi
Signed-off-by: Jason Ekstrand
---
src/compositor.h | 1 +
src/input.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/src/compositor.h b/src/compositor.h
index cbeab6f..37ad17f 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -495,6 +495,7 @@ struct weston_seat {
struct
This adds a plugin called screen-share.so. If the screen-share.so module
is imported, it will add the CTRL+ALT+s keybinding to start a screen
sharing session. If you press CTRL+ALT+S, weston will spawn another copy
of weston, this time with the RDP backend, and mirrors the current screen
to it an
Signed-off-by: Jason Ekstrand
---
Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile.am b/Makefile.am
index 5ff4f83..e181528 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -920,6 +920,7 @@ EXTRA_DIST += \
protocol/text-cursor-posi
On startup weston now detects the WAYLAND_SERVER_SOCKET environment
variable. If found, weston does not create the display like normal, but
instead directly adds a client corresponding to the given fd. This,
combined with the fullscreen shell, allows a process to spawn weston and
use it as a back
Signed-off-by: Jason Ekstrand
---
clients/window.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clients/window.c b/clients/window.c
index 5ba7322..6f89ae6 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -4359,7 +4359,7 @@ window_create_internal(struct display *displ
Signed-off-by: Jason Ekstrand
---
Makefile.am | 3 +
src/compositor-wayland.c | 470 ---
2 files changed, 451 insertions(+), 22 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 464d086..a2f9038 100644
--- a/Makefile.am
+++ b/Mak
Signed-off-by: Jason Ekstrand
---
Makefile.am | 3 +
clients/fullscreen.c | 163 +++
2 files changed, 154 insertions(+), 12 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 5b6b523..464d086 100644
--- a/Makefile.am
+++ b/Makefil
Signed-off-by: Jason Ekstrand
---
Makefile.am | 22 +
configure.ac| 8 +
fullscreen-shell/fullscreen-shell.c | 830
3 files changed, 860 insertions(+)
create mode 100644 fullscreen-shell/fullscreen-shell.c
d
Signed-off-by: Jason Ekstrand
---
clients/fullscreen.c | 103 +--
1 file changed, 99 insertions(+), 4 deletions(-)
diff --git a/clients/fullscreen.c b/clients/fullscreen.c
index 247232b..7dc4374 100644
--- a/clients/fullscreen.c
+++ b/clients/fulls
Signed-off-by: Jason Ekstrand
---
src/gl-renderer.c | 4
1 file changed, 4 insertions(+)
diff --git a/src/gl-renderer.c b/src/gl-renderer.c
index dc50cb0..c5b2a1b 100644
--- a/src/gl-renderer.c
+++ b/src/gl-renderer.c
@@ -964,6 +964,10 @@ gl_renderer_read_pixels(struct weston_output *output
Kristian,
Other than the "return FALSE" mentioned below, this looks good-to-go.
--Jason Ekstrand
On Wed, Apr 2, 2014 at 7:43 PM, Jason Ekstrand wrote:
>
>
>
> On Wed, Apr 2, 2014 at 7:08 PM, Bill Spitzak wrote:
>
>> Hardening wrote:
>>
>> + if (!settings->DesktopResize)
On Wed, Apr 2, 2014 at 7:08 PM, Bill Spitzak wrote:
> Hardening wrote:
>
> + if (!settings->DesktopResize) {
>> + /* peer does not support desktop resize */
>> + weston_log("%s: client doesn't support
>> resizing,
Hardening wrote:
+ if (!settings->DesktopResize) {
+ /* peer does not support desktop resize */
+ weston_log("%s: client doesn't support resizing,
closing connection\n", __FUNCTION__);
+
On Tuesday, April 01, 2014 10:20:43 AM Gustavo Noronha Silva wrote:
> On Tue, 2014-04-01 at 14:58 +0200, Kai-Uwe Behrmann wrote:
> > Am 01.04.2014 14:40, schrieb nerdopolis:
> > > As you all know, I have been the developer of the Wayland live CD for
> > > some time, which is named after my favorit
This patch adds an option to the RDP compositor to disable
desktop resizes initiated by RDP peer. The current behaviour
is that if an incoming RDP peer suggests a resolution that is
not the current one, a mode_switch() is done and the desktop is
resized to that new resolution. This new flag allows
I think this is a good argument for having source size of zero mean
"unset", just like it does for the destination size. Then you don't have
to worry about this at all.
Pekka Paalanen wrote:
From: Pekka Paalanen
Ensure, that the resulting surface size is at least 1x1, even when
destination s
On Wed, Mar 05, 2014 at 12:21:34PM +0100, Manuel Bachmann wrote:
> When a client calls the input panel (weston-keyboard e.g.)
> and then goes fullscreen, the panel will not be hidden
> anymore.
>
> Signed-off-by: Manuel Bachmann
> ---
Makes sense, applied.
Kristian
> desktop-shell/input-panel
On Wed, Feb 26, 2014 at 03:53:11PM +0100, Manuel Bachmann wrote:
> Temporarily show minimized surfaces when switching between
> surfaces with the keyboard. If the final selected one was
> minimized, it will be restored.
>
> Signed-off-by: Manuel Bachmann
Thanks, both patches applied.
Kristian
On Thu, Dec 12, 2013 at 02:14:29PM +0100, Giulio Camuffo wrote:
> This is needed to allow shell plugins to implement their own
> screenshooter.
> ---
Make sense, committed.
Kristian
> src/compositor.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/compositor.c b/s
On Tue, 18 Mar 2014, Jason Ekstrand wrote:
+static struct shared_output *
+weston_output_share(struct weston_output *output,
+ const char *path, char *const argv[])
+{
+ int sv[2];
+ char str[32];
+ pid_t pid;
+ sigset_t allsigs;
+
+ if (socketpai
On Wed, Apr 2, 2014 at 9:51 AM, Jasper St. Pierre wrote:
> Does this help clean up client code? Can you give an example of how a
> client would use this?
>
Without this, the client has to track versions of everything if it's going
to do anything version-dependent with a protocol object. If it's
Hi,
On Wed, 2 Apr 2014, Jason Ekstrand wrote:
On Apr 2, 2014 8:31 AM, "Manuel Bachmann"
wrote:
>
> HI Jason,
>
> Thanks for submitting this interesting patch ; just tested it, works very
well !
>
> There's one missing thing, though : in "screen-share.c", you're using the
"os_create_cr
Does this help clean up client code? Can you give an example of how a
client would use this?
On Wed, Apr 2, 2014 at 10:48 AM, Jason Ekstrand wrote:
> It's worth noting that there is one small backwards-compatability issue
> here. Namely, if the client is built against protocol stubs from an
> e
It's worth noting that there is one small backwards-compatability issue
here. Namely, if the client is built against protocol stubs from an
earlier version of libwayland but links against a library built against a
newer version, then all objects created by the client will report a version
of 1. T
On Wed, Apr 02, 2014 at 07:34:11AM +, Wang, Quanxian wrote:
> Thanks Bryce's information and suggestion. Your suggestion and randr history
> are really appreciated.
>
> >As GUI interfaces came into being, they
> >had to reinvent the user-oriented logic already in the xrandr tool, and
> >besi
Thanks Bryce's information and suggestion. Your suggestion and randr history
are really appreciated.
>As GUI interfaces came into being, they
>had to reinvent the user-oriented logic already in the xrandr tool, and
>besides the
>duplication of effort we saw the same mistakes made over and over.
From: Pekka Paalanen
Ensure, that the resulting surface size is at least 1x1, even when
destination size is not set and source size is zero. Previously this
lead to zero surface size.
Tested by hacking clients/scaler.c to set src_width and src_height to 0.
Signed-off-by: Pekka Paalanen
---
T
40 matches
Mail list logo