- Feb 06, 2014
-
-
Jasper St. Pierre authored
This is used to figure out the size of "invisible" decorations, which we'll use to better know the visible extents of the surface, which we can use for constraining, titlebars, and more.
-
Jasper St. Pierre authored
This is equivalent to WM_DELETE_WINDOW request under X11, or equivalent to pressing the "close" button under CSD. Weston currently doesn't have a compositor-side way to close the window, so no new code is needed on its side.
-
Kristian Høgsberg authored
-
Kristian Høgsberg authored
-
Faith Ekstrand authored
-
Ander Conselvan de Oliveira authored
Remove the listener for output destroy from weston_view and instead iterate views owned by the shell in its own output destroy listener. This simplifies the code a bit since keeping the view listening for the destroy on the right output was a bit complicated. This also removes the function pointer output_destroyed from weston_view. The only user for it was desktop shell, but now this is all handled in shell.c.
-
Ander Conselvan de Oliveira authored
Since that signal is per output, it is necessary to track in which output a view is in so that the signal is handled properly. Instead, add a compositor wide output moved signal, that is handled by the shell. The shell iterates over the layers it owns to move views appropriately.
-
Emilio Pozuelo Monfort authored
Unfocusing a surface should dim it when dim-layer is enabled, but this got broken in commit 83ffd9.
-
Emilio Pozuelo Monfort authored
The input initialization code assumes the outputs have already been initialized; thus create the outputs first. This fixes a segfault upon startup. It is also what the drm and fbdev backends do.
-
Bryce W. Harrington authored
Signed-off-by:
Bryce Harrington <b.harrington@samsung.com>
-
Faith Ekstrand authored
Signed-off-by:
Jason Ekstrand <jason@jlekstrand.net>
-
Faith Ekstrand authored
Signed-off-by:
Jason Ekstrand <jason@jlekstrand.net>
-
Kristian Høgsberg authored
When we set the fullscreen flag, we have to wait for the corresponding configure event and then attach a buffer of that size to indicate that we've successfully gone fullscreen/maximized. Without this patch, we can schedule a redraw and go through with it after setting maximize/fullscreen and end up attaching a buffer of the wrong size. In practice, what happens is that pressing the maximize button triggers setting maximized, but also triggers a redraw to paint the maxmize button. Without this change, repainting the button triggers a repaint that attaches the same size buffer immediately. https://bugs.freedesktop.org/show_bug.cgi?id=71927
-
Kristian Høgsberg authored
When resizing the terminal, it shows the grid size in the titlebar. We reset the title next time we get an enter event. This patch makes sure we only reset the title the first time we enter after a resize.
-
Kristian Høgsberg authored
We don't want to send events if the binding is going to handle the touch event. Also, this restricts touch bindings to only trigger on touch down. For gesture bindings we want something similar to the motion signal we have for the pointer.
-
- Feb 05, 2014
-
-
Kristian Høgsberg authored
-
Kristian Høgsberg authored
When we send the pointer motion event, the transform from compositor to surface coordinates doesn't depend on the resource. Transform the coordinates up front instead of everytime we send to a resource.
-
Kristian Høgsberg authored
-
- Feb 03, 2014
-
-
Kristian Høgsberg authored
When xwayland creates a shell surface we don't have a resource. The recently added shell_surface_is_wl_shell/xdg_surface() tests don't handle that very well. For now, we assume that a surface without a resource is created from xwayland and is a wl_shell surface. We'll want to modify that to be a xdg surface eventually, but for now this stops weston from crashing.
-
Kristian Høgsberg authored
-
Kristian Høgsberg authored
For dist tarballs we ship git-version.h but if you do a git archive or similar to check out a source tree, there's no git-version.h and no way to make one. https://bugs.freedesktop.org/show_bug.cgi?id=74459
-
Pekka Paalanen authored
CC clients/weston-info.o clients/weston-info.c:31:28: fatal error: wayland-client.h: No such file or directory compilation terminated. make[1]: *** [clients/weston-info.o] Error 1 Only triggerable if libwayland is only in a custom prefix. Fix by adding CLIENT_CFLAGS. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
Pekka Paalanen authored
Fix build failures of the kind: CC tests/bad-buffer-test.o In file included from tests/weston-test-client-helper.h:28:0, from tests/bad-buffer-test.c:28: ./protocol/wayland-test-client-protocol.h:35:28: fatal error: wayland-client.h: No such file or directory compilation terminated. make[1]: *** [tests/bad-buffer-test.o] Error 1 These are only triggerable if libwayland has not been installed system-wide, but only in a custom prefix. Since the Makefile already uses AM_CPPFLAGS, simply add TEST_CLIENT_CFLAGS to test programs instead of dropping AM_CPPFLAGS. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
- Feb 02, 2014
-
-
Kristian Høgsberg authored
-
Guillem Jover authored
This moves all the auxiliary build scripts into a build-aux directory, and fixes an issue with configure being unable to find scripts because it tries to change to an empty directory to get the absolute path, which results in getting the path to the user's home directory instead. ,-- checking whether build environment is sane... yes /bin/bash: /home/user/missing: No such file or directory configure: WARNING: 'missing' script is too old or missing `--- Signed-off-by:
Guillem Jover <guillem@hadrons.org>
-
Kristian Høgsberg authored
-
Quentin Glidic authored
Signed-off-by:
Quentin Glidic <sardemff7+git@sardemff7.net>
-
Kristian Høgsberg authored
-
- Feb 01, 2014
-
-
Kristian Høgsberg authored
-
Jasper St. Pierre authored
This reverts commit 4c1a11074af2c2221d50b0c35d2d0d883647bc15. Use the new window_set_transient_for / window_get_transient_for and xdg-shell support for this...
-
Jasper St. Pierre authored
-
Jasper St. Pierre authored
-
Jasper St. Pierre authored
xdg_shell changes this around so that they are flags on the remote object itself, not separate surface types. Move to a system where we calculate the state from the flags ourselves and set the appropriate wl_shell_surface type. When we port to xdg_shell, we'll drop these flags and simply sync on the client.
-
Jasper St. Pierre authored
These aren't supported under xdg_shell, at least not right now. If xdg_shell ever gets support for them, we can revert this commit and adapt it.
-
Jasper St. Pierre authored
Transient windows, at least not as they are today, don't exist in xdg_shell. Subsurfaces allow for specially placed surfaces relative to a window, so use these instead.
-
Jasper St. Pierre authored
If a client adds a subsurface, we need to make sure it's allocated properly, so queue a resize and redraw on the parent window.
-
Jasper St. Pierre authored
This will be replaced with xdg_surface_set_transient_for at some point...
-
Jasper St. Pierre authored
-
Ander Conselvan de Oliveira authored
Instead, add a compositor signal that an output has been destroyed and handle that case locally in input.c.
-
Emilio Pozuelo Monfort authored
Since commit 9046d2, when destroying a surface, we remove all the links from its children. But when the child surfaces are destroyed, those links will be removed again, but since they were not properly initialized, weston will crash. Call shell_surface_set_parent instead which removes the link and sets parent while also initializing the link, thus avoiding this crash.
-