- Feb 07, 2012
-
-
Pekka Paalanen authored
One more wayland-util.h not found issue, triggered by having libwayland installed to a custom prefix. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
- Jun 05, 2013
-
-
Daniel Stone authored
AC_USE_SYSTEM_EXTENSIONS enables _XOPEN_SOURCE, _GNU_SOURCE and similar macros to expose the largest extent of functionality supported by the underlying system. This is required since these macros are often limiting rather than merely additive, e.g. _XOPEN_SOURCE will actually on some systems hide declarations which are not part of the X/Open spec. Since this goes into config.h rather than the command line, ensure all source is consistently including config.h before anything else, including system libraries. This doesn't need to be guarded by a HAVE_CONFIG_H ifdef, which was only ever a hangover from the X.Org modular transition. Signed-off-by:
Daniel Stone <daniel@fooishbar.org> [pq: rebased and converted more files]
-
Rob Bradford authored
By labelling devices with ENV{WL_SEAT} in udev rules the devices will be pulled into multiple weston seats. As a result you can get multiple independent seats under the DRM and fbdev backends.
-
Rob Bradford authored
Thie will allow us to instantiate multiple seats.
-
Rob Bradford authored
-
Rob Bradford authored
The fbdev compositor uses the commons seat handling code with the drm compositor.
-
Rob Bradford authored
And as a result of this stop iterating through the compositor seat list (of one item) and instead access the udev_input structure directly. This enables a refactoring to pull out the weston_seat into a separate structure permitting multiple seats.
-
Rob Bradford authored
This is a pure rename of the structure, functions and local variables in preparation of the separation of the seat from the other udev input handling.
-
Rob Bradford authored
This change is a straight refactor that has no functional change.
-
Rob Bradford authored
-
Rob Bradford authored
-
Rob Bradford authored
-
Ander Conselvan de Oliveira authored
The kernel is supposed to set this when drmModeSetCrtc() is called but at least the i915 driver wouldn't do that in all cases. A fix for this should be released with kernel 3.10, but we work around the issue in older kernels by always forcing DPMS to ON when doing a mode set. https://bugs.freedesktop.org/show_bug.cgi?id=64873
-
Ander Conselvan de Oliveira authored
This avoids one drmModeGetConnector() call every time the DPMS mode is set. That call can take hundreds of milliseconds due to DDC.
-
Armin K authored
-
U. Artie Eoff authored
Signed-off-by:
U. Artie Eoff <ullysses.a.eoff@intel.com>
-
Pekka Paalanen authored
Another case of missing wayland-util.h, as we didn't pass any libwayland CFLAGS. This is triggerable on a system, where libwayland is installed in a custom prefix, and pixman, cairo, libpng, and webp are either not installed or are installed in the standard path. COMPOSITOR_CFLAGS contains more than just the libwayland CFLAGS, though. Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
Rob Bradford authored
The required flags are relatively new and some older enterprise distributions do not feature them. https://bugs.freedesktop.org/show_bug.cgi?id=63360
-
- Jun 04, 2013
-
-
Kristian Høgsberg authored
A wayland compositor doesn't provide a mechanism for buffer sharing between clients. Under X, one client can render to a Pixmap and another can use it as a source in a subsequent drawing operations. Wayland doesn't have a mechanims to share Pixmaps or textures between clients like that, but it's possible for one client to act as a nested compositor to another client. This less work than it sounds, since the nested compositor won't have to provide input devices or even any kind of shell extension. The nested compositor and its client can be very tightly coupled and have very specific expectations of what the other process should provide. In this example, nested.c is a toytoolkit application that uses cairo-gl for rendering and forks and execs nested-client.c. As it execs the client, it passes it one end of a socketpair that will be the clients connection to the nested compositor. The nested compositor doesn't even create a listening socket. The client is a minimal GLES2 application, which just renders a spinning triangle in its frame callback.
-
Jan Arne Petersen authored
Ignore the whole commit-string or preedit_string transaction when the delete_surrounding event was invalid. Signed-off-by:
Jan Arne Petersen <jpetersen@openismus.com>
-
Jan Arne Petersen authored
Signed-off-by:
Jan Arne Petersen <jpetersen@openismus.com>
-
Jan Arne Petersen authored
Signed-off-by:
Jan Arne Petersen <jpetersen@openismus.com>
-
Jan Arne Petersen authored
Delete text marked with wl_text_input::delete_surrounding_text on preedit_string event. When text is explicitly marked with delete_surrounding_text do not delete selected text. Signed-off-by:
Jan Arne Petersen <jpetersen@openismus.com>
-
Jan Arne Petersen authored
Signed-off-by:
Jan Arne Petersen <jpetersen@openismus.com>
-
Armin K authored
This patch adds auto detection for presence of the colord and libunwind packages.
-
Eduardo Lima (Etrunko) authored
These can be used by external clients to check the installation path Signed-off-by:
Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
-
Rob Bradford authored
Rather than failing if we cannot open any single device fail the input setup if there are no input devices added. https://bugs.freedesktop.org/show_bug.cgi?id=64506
-
Hardening authored
The RDP compositor was ignoring mouse wheel events, this patch adds support for it.
-
U. Artie Eoff authored
exit() calls atexit() handlers and C++ destructors (e.g. a C++ weston module) which could destroy state that the main process depends on (e.g. ioctl's, tmpfiles, sockets, etc...). If an exec fails, call _exit() instead of exit(). v2: prefer _exit over _Exit Signed-off-by:
U. Artie Eoff <ullysses.a.eoff@intel.com>
-
- May 29, 2013
-
-
Alexander Larsson authored
The damage region is in compositor coords, we need to scale it by the output scale when using the damage to read output buffer data.
-
Alexander Larsson authored
The old code had an off-by-one error on the y coordinate where it says height - (cur_y - y). And it does the vflipping of the *destination* buffer, whereas what is really needed is to vflip the whole source buffer. This only affects when you read out part of the image, such as when using the screen recoder. Also, instead of doing the flipping manually we just let pixman handle it.
-
Alexander Larsson authored
This is what the pixman renderer reports for the read format.
-
Alexander Larsson authored
When a window is fullscreened with DRIVER method and we succeeded in changing mode we need to actually move the surface to the origin of the output, or it won't be used for scanout.
-
- May 28, 2013
-
-
Alexander Larsson authored
If modeset fails With DRIVER method, and always with FILL method we want to center the window.
-
Alexander Larsson authored
Right now we only switch mode on activating a fullscreened window. This has several problems: * Once you're in fullscreen its hard to switch to a non-fullscreened window with alt-tab as you stay in the small resolution. * If you switch from a fullscreened window to a non-fullscreened window and the fullscreened window is destroyed we will not restore the original mode (since the window is not shell_surface_is_top_fullscreen() * Its hard to reach a different output on the right with the mouse when the mode is smaller that the original, as there is a "gap" between the two outputs. So, if you alt-tab to another window you can not always reach it. This is somewhat of a sledge hammer, as it means you can't e.g. focus a non-fullscreen on one output and have a window fullscreened on another output. However, trying to restore only the outputs the new window is on is problematic: * It may later change output * We want to see all windows anyway during alt-tab * Can't reach the other windows with the mouse anyway So, this seems like an ok solution.
-
Alexander Larsson authored
It may happen that you e.g. fullscreen a 800x600 surface with buffer_scale 1 (e.g. a 800x600 buffer) on an output that is otherwise scale 2. In this case we want to temporarily set the output scale to 1, as we're really scanning out of a scale 1 buffer. This causes us to e.g. report the input positions in the right place, etc. When we restore the original mode we also restore the original scale. Note that the scale change is a purely compositor internal change, to clients it still looks like the output is scale 2.
-
Alexander Larsson authored
We want this so we can restore the original mode with the original size (after having been fullscreen).
-
Alexander Larsson authored
We changed the protocol to always list modes in physical pixel units (not scaled). And we removed the scaled mode flag. This just updates the DRM and X11 compositors and the gl and pixman renderers to handle this.
-
Alexander Larsson authored
Otherwise we're pointing the original mode on some uninitialized value.
-
Alexander Larsson authored
This lets you try fullscreen in different methods, sizes, scales, translations, etc. You can verify both output and input (via mouse over of the rectangles).
-