Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
|
|
This lets us keep argc up to date as the backend picks out arguments
from the argv array.
|
|
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
|
|
This change depends on the Wayland commit
"protocol: double-buffered state for wl_surface".
Implement double-buffering of damage in the compositor as required by
the new protocol.
Ensure all Weston demo clients call wl_surface_commit() after
wl_surface_damage().
Mesa does not need a fix for this, as the patch adding
wl_surface_commit() call to Mesa already takes care of damage, too;
Mesa commit: "wayland: use wl_surface_commit()"
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
|
|
This avoids confusion with the pointer devices (struct wl_pointer).
|
|
libwayland-cursor does not provide enum wl_cursor_type anymore so this
brings back enum pointer_type.
This partially revers commit 1042dc15e0ca69a4d8d4d23b862f1e3d3c8e054f.
|
|
|
|
In particular window.c and many clients were including glib.h without
using it and without the right cflags.
|
|
|
|
Change all client motion handlers to take GLfloat for co-ordinates,
rather than int32_t.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
|
|
There was a lot of code here to do a lot of work we didn't need to do.
If we damage a surface with a shm buffer attached, all we need to do
is to re-upload the damaged region to the texture. As for drm buffers,
we don't assume anything changes on attach and only update the
regions the client tells us to update in the damage request.
|
|
On one hand, getopt (in particular the -o suboption syntax) sucks on the
server side, and on the client side we would like to avoid the glib
dependency. We can roll out own option parser and solve both problems
and save a few lines of code total.
|
|
|
|
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 <juan.j.zhao@linux.intel.com>
|
|
Always set this by scheduling an initial resize.
|
|
Woohoo, only took 25 commits of refactoring to get to this point.
|
|
It was just a temporary convenience for moving things over.
|
|
|
|
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
|
|
|
|
We can just register a global handler directly on the wl_display now.
|
|
|
|
|
|
Conflicts:
compositor/compositor.c
|
|
Otherwise the initial announcement of interfaces gets lost.
|
|
This fixes tearing with multi head.
|
|
|
|
|
|
The new map_toplevel() request no longer specifies a position and takes
the size from the attached buffer. The attach request now takes a
position relative to the top-left corner of the old buffer to let
clients specify the relative position of the new buffer.
|
|
|
|
Make was complaining about a bunch of unused variables that were being
declared.
Signed-off-by: Bryce Harrington <bryce@canonical.com>
|
|
|