- Jul 05, 2014
-
-
Faith Ekstrand authored
This requires pixman 0.25.2 Reviewed-by:
Jasper St. Pierre <jstpierre@mecheye.net>
-
- Jun 26, 2014
-
-
Boyan Ding authored
Commit 9aa8ce69 forgot to set shsurf->fullscreen_output in fullscreen_binding(), causing segfault when fullscreening using key bindings. This patch fixes that. https://bugs.freedesktop.org/show_bug.cgi?id=79828 Signed-off-by:
Boyan Ding <stu_dby@126.com>
-
- Jun 25, 2014
-
-
Andrew Wedgbury authored
I've updated this based on comments, simplifying the command handling. Currently the screen-share module uses a hard-coded command to start the fullscreen shell server. This patch causes the module to read the command from the weston config file (from the "command" key in the "screen-share" section). The default value remains the same (i.e. to run weston with the RDP backend and fullscreen shell), but is now located in the weston config file. As well as allowing the arguments to the fullscreen shell server to be changed, this also permits an alternative fullscreen shell server to be used if required, without needing to recompile. Since the command is run as the user running weston, this should not pose any additional security risk. Signed-off-by:
Andrew Wedgbury <andrew.wedgbury@realvnc.com>
-
Faith Ekstrand authored
Previoiusly, we had a mess of logic that was repeated with one of the repeats negated. Not only was this unnecisaraly confusing, but it segfaulted and one of the negations was wrong. This cleans the whole mess up and should fix bug #79725.
-
-
Peter Hutterer authored
No functional changes, just adjusting for API changes in libinput: - libinput_destroy() replaced by libinput_unref() - log functions now take a libinput context, userdata is gone - udev seat creation is now libinput_udev_create_context() and libinput_udev_assign_seat() Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- Jun 24, 2014
-
-
Faith Ekstrand authored
It turns out that flipped-270 is the second-simplest transformation besides normal because it is a direct swapping of the x and y axes. Having that as the default encourages people to use flipped-270 as the default test for "I want to try this with a transform". Unfortunately, because flipped-270 is so simple, it is really easy to have something that works for normal, flipped-270, and nothing else. This encourages people to test with a transform thats actually "hard".
-
Faith Ekstrand authored
-
vivek authored
In many clients of weston, Display was not being destroyed so added it. Also destroy windows, widgets which were not being destroyed. Signed-off-by:
vivek <vivek.ellur@samsung.com> Reviewed-by:
Pekka Paalanen <ppaalanen@gmail.com> Reviewed-by:
Bryce Harrington <b.harrington@samsung.com>
-
Boyan Ding authored
Signed-off-by:
Boyan Ding <stu_dby@126.com>
-
- Jun 23, 2014
-
-
Emilio Pozuelo Monfort authored
Fixes a crash on touch devices without a pointer, when touching the window frame of a client. Signed-off-by:
Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
-
- Jun 21, 2014
-
-
Srivardhan Hebbar authored
This is a fix to the following bug: https://bugs.freedesktop.org/show_bug.cgi?id=80214 Signed-off-by:
Srivardhan Hebbar <sri.hebbar@samsung.com>
-
- Jun 19, 2014
-
-
George Kiagiadakis authored
This fixes at least the case where you want to do wl_viewport.set_destination to resize the surface but without attaching new content in it.
-
Srivardhan Hebbar authored
Based on a previous patch by Hardening <rdp.effort@gmail.com>. Signed-off-by:
Srivardhan Hebbar <sri.hebbar@samsung.com>
-
Thierry Reding authored
sizeof returns size_t, for which the correct printf specifier is %zu. Fixes the following warning when building for ARMv7. src/compositor-wayland.c: In function 'wayland_output_get_shm_buffer': src/compositor-wayland.c:260:3: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Wformat=] weston_log("could not zalloc %ld memory for sb: %m\n", sizeof *sb); ^ Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
When running the autogen.sh script, libtoolize complains thusly: libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. Silence the warnings by following libtoolize's advice. Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Jonny Lamb authored
-
Jonny Lamb authored
Animations are run off the repaint cycle so if there's nothing to repaint, an animation will stop running. This is usually not a problem as each frame function of an animation causes something to change and therefore a repaint to happen. This patch helps detect when the animation isn't in said case and triggers a repaint to keep the animation running. This problem was found by using weston_move_scale_run() to move a view onscreen from completely off. The very first time the animation frame function was called the progress wasn't enough to move it into view. The compositor saw there was nothing to repaint and stopped doing anything else. When something else (like a pointer move) forced a redraw, the view's position was very much onscreen and jumped into view in an ugly way.
-
Emilio Pozuelo Monfort authored
Commit a7592019 introduced an optimization that caused some exposay struct members to not be properly initialized, particularly cur_output, leading to crashes in some circumstances (e.g. pressing the down arrow key after going to exposay). Signed-off-by:
Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
-
Jonny Lamb authored
Both weston_move_scale_run() and weston_slide_run() were broken in commit 3a869019. Commit a4a6f161 fixed and explained the problem for weston_slide_run() but weston_move_scale_run() remained broken. To fix weston_move_scale_run(), weston_view_animation_run() is also required. It was removed when _run() was split into two functions _create() and _run() in commit f5cc2b56, but _run() was not added in this commit.
-
- Jun 18, 2014
-
-
George Kiagiadakis authored
This is to avoid recursing into weston_compositor_build_view_list() and therefore fix crashing when destroying a stack of visible subsurfaces due to weston_compositor_build_view_list() being called recursively and corrupting the lists it works on. https://bugs.freedesktop.org/show_bug.cgi?id=79684
-
Faith Ekstrand authored
This allows for easily testing a compositor's damage tracking in all currently available configurations including wl_surface.buffer_transform, wl_surface.buffer_scale, and wl_viewport. It also includes a --rotating-damage that flag instructs the client to change the wl_surface.buffer_transform on every commit. This tests the compositor for proper handling of texture uploads even when the transform has changed but the buffer size hasn't.
-
- Jun 09, 2014
-
-
Jonas Ådahl authored
Also update configure.ac to require libinput 0.3 when enabled, as it is the version where double replaced li_fixed_t. Signed-off-by:
Jonas Ådahl <jadahl@gmail.com>
-
- Jun 03, 2014
-
-
- Jun 02, 2014
- May 23, 2014
-
-
Kristian Høgsberg authored
-
Jasper St. Pierre authored
-
Jasper St. Pierre authored
This will be used by the xdg_surface.show_menu_window implementation.
-
Kristian Høgsberg authored
Post release bump. The master branch version is always x.y.90, where x.y is the most recent stable branch. This lets other packages rely on git master as opposed to 1.5.0.
-
wl_list_for_each dereference's output to increment the next iteration of the loop. However, output is free'd inside the loop resulting in a dereference to free'd memory. Use wl_list_for_each_safe instead, which is designed to handle this kind of pattern. Signed-off-by:
U. Artie Eoff <ullysses.a.eoff@intel.com> Reviewed-by:
Thierry Reding <thierry.reding@gmail.com> Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
Kristian Høgsberg authored
-
- May 18, 2014
-
-
Jasper St. Pierre authored
We want the ability to create a detached menu.
-
- May 13, 2014
-
-
Kristian Høgsberg authored
Once we've updated the window state and scheduled a resize, we know that the next frame we send to the compositor will match the configured state. This means we can just ack the configure immediately and not jump through hoops to try to do it from the redraw stage.
-
Jasper St. Pierre authored
As the protocol says, the states determine how the width and height arguments should be interpreted, so it makes logical sense to do the interpretation after.
-
Jasper St. Pierre authored
-
Jasper St. Pierre authored
-
Jasper St. Pierre authored
With most of the code in send_configure_for_surface, the helper methods don't give us that much benefit, so stop using them. We can't kill them off, as they're part of the shell interface and used by the WM.
-
Jasper St. Pierre authored
Currently, there's a giant bug in how xdg-shell state management is done. If a client calls set_fullscreen and then set_maximized, it will get two configure events: => set_fullscreen <= configure(800, 600, [STATE_FULLSCREEN]) => set_maximized <= configure(800, 560, [STATE_FULLSCREEN, STATE_MAXIMIZED]) Since fullscreen takes precedence over maximized, the client will render full-screen at 800x600 first, and then 800x560 next. As a result, the surface gets the wrong size. This is because the code that sends out configure requests is "immediate" -- when an app calls set_maximized, we immediately send out the configure event that would have happened if we transitioned immediately into maximized mode. In wl_shell, this is correct behavior. However, in xdg-shell, this is wrong. State needs to be more carefully managed in xdg-shell, as states aren't exclusive. Pull all the code that sends out configure events out and send them centrally, based on Weston's on surface state management. This should work with both wl_shell and xdg_shell's strategies.
-
Jasper St. Pierre authored
This drops two events, and makes new window decorations race-free with an attach in-flight.
-