Daniel Stone [Fri, 1 Jun 2012 15:11:10 +0000 (11:11 -0400)]
Pass argc and argv through to weston_compositor_init
Allowing it to do option parsing as well.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Fri, 1 Jun 2012 11:14:02 +0000 (12:14 +0100)]
compositor-x11: Generate our own keymap
Instead of mangling the names we've stored in the compositor, generate
our own keymap and pass that to weston_seat_init_keyboard.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Fri, 1 Jun 2012 11:14:00 +0000 (12:14 +0100)]
compositor-wayland: Fix seat vs. seat confusion
We were accidentally trying to initialise the wl_seat we just got from
our host server as a weston_seat, rather than the weston_seat we set up
earlier ...
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Fri, 1 Jun 2012 11:13:59 +0000 (12:13 +0100)]
Brown-paper bag fix for LED
The O_RDWR change got lost in a rebase, and as Peter suggested as well,
make sure to set EVDEV_KEYBOARD if the device has EV_LED.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Fri, 1 Jun 2012 11:13:58 +0000 (12:13 +0100)]
Fix binding modifier lookup
Whoops, lost half of the shuffling around of masks and indexes.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Pekka Paalanen [Fri, 1 Jun 2012 09:20:25 +0000 (12:20 +0300)]
build: introduce GCC_CXXFLAGS
The patch "compositor-android: fix build flags" started using GCC_CFLAGS
for C++ files, too. That lead to the following warnings when building a
C++ file:
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid
for Ada/C/ObjC but not for C++
Introduce GCC_CXXFLAGS, similar to GCC_CFLAGS, but for C++, avoiding the
problematic compiler flags.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
Pekka Paalanen [Fri, 1 Jun 2012 09:20:24 +0000 (12:20 +0300)]
compositor-android: fix build flags
When adding a C++ file to the build, I forgot to set CXXFLAGS for it,
triggering the error:
android-framebuffer.h:26:21: fatal error: EGL/egl.h: No such file or
directory
I never hit this, because I have EGL headers installed also in my
system, rather than only in $prefix.
Fix this by setting the CXXFLAGS for the android backend.
Reported-by: Scott Moreau <oreaus@gmail.com>
Reported-by: Tiago Vignatti <tiago.vignatti@intel.com>
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
Kristian Høgsberg [Fri, 1 Jun 2012 04:08:12 +0000 (00:08 -0400)]
xwayland: Handle selection source going away without crashing
Kristian Høgsberg [Fri, 1 Jun 2012 03:30:32 +0000 (23:30 -0400)]
window.c: Handle losing selection data source
Daniel Stone [Wed, 30 May 2012 15:32:06 +0000 (16:32 +0100)]
Add keymap argument to weston_seat_init_keyboard
This allows backends to generate their own keymaps and pass them in for
use rather than always forcing a single global keymap, which is
particularly useful for nested compositors.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:32:05 +0000 (16:32 +0100)]
Move keymaps to weston_seat
In practice this doesn't mean much right now, since they all just take
an extra reference on the global keymap.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:32:04 +0000 (16:32 +0100)]
Separate out weston_xkb_info struct
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:32:03 +0000 (16:32 +0100)]
Split XKB keymap compilation out into separate function
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:32:02 +0000 (16:32 +0100)]
Split weston_seat_init up into pointer/keyboard/touch
So we don't unnecessarily advertise interfaces the seat doesn't support.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:32:01 +0000 (16:32 +0100)]
clients: Move XKB info from display to input struct
As it does (will) vary per-seat.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:32:00 +0000 (16:32 +0100)]
Convert wl_pointer::axis to wl_fixed_t
To go with the matching protocol change.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:31:59 +0000 (16:31 +0100)]
Use wl_fixed_t for axis bindings
In preparation for axis values being wl_fixed_t in the protocol as well.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:31:58 +0000 (16:31 +0100)]
Split bindings into separate key/button/axis bindings
Rather than attempting to have the one handler prototype everywhere.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:31:57 +0000 (16:31 +0100)]
Convert notify_axis to wl_fixed_t
In preparation for the rest of the axis code changing.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:31:56 +0000 (16:31 +0100)]
shell: Reset focus for all seats on activation
Rather than using a single hardcoded seat to activate new windows within
a compositor, reset the focus for all seats.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:31:55 +0000 (16:31 +0100)]
tablet-shell: Use seat_list rather than primary seat
Activate surfaces for all seats when showing the grid, not just the
primary seat.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:31:54 +0000 (16:31 +0100)]
tablet-shell: Remove 'seat' member
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:31:53 +0000 (16:31 +0100)]
Use compositor->seat_list instead of a singular seat
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:31:52 +0000 (16:31 +0100)]
Use enum wl_keyboard_key_state instead of integer
Instead of using a uint32_t for state everywhere (except on the wire,
where that's still the call signature), use the new
wl_keyboard_key_state enum, and explicit comparisons.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:31:51 +0000 (16:31 +0100)]
Use enum wl_pointer_button_state instead of integer
Instead of using a uint32_t for state everywhere (except on the wire,
where that's still the call signature), use the new
wl_pointer_button_state enum, and explicit comparisons.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:31:50 +0000 (16:31 +0100)]
test-client.c: Replace hard-coded magic value
Took me a second to work out that the 272 was actually BTN_LEFT, as keys
and buttons share a namespace in evdev.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:31:49 +0000 (16:31 +0100)]
evdev: Add LED update hook
Simply pushes the updated LEDs through to all keyboard attached to the
seat.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:31:48 +0000 (16:31 +0100)]
evdev: Add device capabilities
Does what it says on the box: lists whether or not the device supports
key, absolute, relative or touch classes.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:31:47 +0000 (16:31 +0100)]
Rename evdev_input_device::type to pending_events
Since that's what it actually is, rather than a description of the
device as such.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:31:46 +0000 (16:31 +0100)]
evdev: Convert device type to an enum
Rather than using #defines.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:31:45 +0000 (16:31 +0100)]
Add core LED handling
Similar to how we deal with modifiers, also add LED handling to the core
input code, with a callout into the backends to update them when they
change.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:31:44 +0000 (16:31 +0100)]
Do binding modifier lookup on XKB state, not physical keys
When we update the modifier_state used for Weston bindings, derive this
from the XKB modifier state, rather than a hardcoded mapping of physical
keys to modifier state.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:31:43 +0000 (16:31 +0100)]
Move xkb_state object to weston_seat
As we need to keep a separate state for every seat (i.e. keyboard
interface) rather than a compositor-global state.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:31:42 +0000 (16:31 +0100)]
Convert Weston modifier #defines to an enum
To avoid any possible collision between the disparate XKB and Weston
modifier namespaces.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Thu, 31 May 2012 19:27:47 +0000 (15:27 -0400)]
Support wl_keyboard::modifiers event
This event lets the compositor inform clients of the canonical keyboard
modifier/group state. Make sure we send it at appropriate moments from
the compositor, and listen for it in clients as well.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:31:40 +0000 (16:31 +0100)]
Update XKB state in update_modifier_state
As well as just updating Weston's internal modifier_state, also update
our xkb_state object, in preparation for serialising modifier values to
clients. This also makes update_modifier_state return 1 if the
modifier/group state has changed, or 0 if not.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Daniel Stone [Wed, 30 May 2012 15:31:39 +0000 (16:31 +0100)]
Update pointer and keyboard focus on new listeners
If we get a new wl_pointer or wl_keyboard listener from the client
currently owning the focus resource, issue another
wl_{pointer,keyboard}_set_focus so the focus_resource can be updated and
the client can receive an enter event.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Pekka Paalanen [Wed, 30 May 2012 12:53:45 +0000 (15:53 +0300)]
Add Android backend
The Android backend provides basic EGL/GLES2 graphics, where everything
is always composited. Overlays are not used. Input is stubbed, therefore
there is no input yet.
This adds the first C++ source file into Weston compositor. The Android
gralloc and fb HAL glue code to the Android EGL library is in C++, and
there is no way to access it from plain C. We have a simple wrapper to
the required C++ class API. Android forces the C++ file name extension
to .cpp.
The android backend is compiled by default. However, all Android
specific calls are protected with #ifdef ANDROID, so it will build also
without Android headers. The binary produced without the Android build
system is useless, but allows build-testing generic Weston changes.
Therefore the android backend is not installed.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
Pekka Paalanen [Wed, 30 May 2012 12:53:44 +0000 (15:53 +0300)]
tests, wcap: update ignores
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
Pekka Paalanen [Wed, 30 May 2012 12:53:43 +0000 (15:53 +0300)]
window: add wrapper for EPOLL_CLOEXEC
Android does not have EPOLL_CLOEXEC, so add a fallback.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
Pekka Paalanen [Wed, 30 May 2012 12:53:42 +0000 (15:53 +0300)]
compositor: check for execinfo.h
Some systems may not have execinfo.h. Add a configure test for it, and
if it is not found, make the backtrace() call a no-operation.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
Pekka Paalanen [Wed, 30 May 2012 12:53:41 +0000 (15:53 +0300)]
compositor: work around missing SOCK_CLOEXEC
Android does not have SOCK_CLOEXEC, so implement a wrapper that falls
back.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
Scott Moreau [Sun, 27 May 2012 20:25:02 +0000 (14:25 -0600)]
Implement text cursor position protocol.
Here we create a new client/compositor interface in weston to allow
clients to report their x/y cursor position to the compositor. These
values are then used to center the zoom area on this point. This
is useful for everyone, especially people who are visually impaired.
Kristian Høgsberg [Thu, 31 May 2012 14:33:43 +0000 (10:33 -0400)]
xwm: Just ignore the synthetic unmap_notify
As per ICCCM 4.1.4 we're supposed to withdraw the window when we see
the real unmap or the synthetic unmap, whichever comes first. The
synthetic unmap may come after the window has been destroyed, so let's
just only handle the real unmap.
Kristian Høgsberg [Wed, 30 May 2012 19:01:03 +0000 (15:01 -0400)]
wcap: Convert argb to yv12 using integer math instead
Drop from 8% in the profile to 1.8%.
Kristian Høgsberg [Wed, 30 May 2012 17:00:54 +0000 (13:00 -0400)]
wcap: Fix README typo
Thanks to Jonas Kulla <nyocurio@googlemail.com> for spotting it.
Kristian Høgsberg [Wed, 30 May 2012 16:15:44 +0000 (12:15 -0400)]
xwm: Set WM_STATE window property
xprop and gtk+ dnd is now working.
Kristian Høgsberg [Wed, 30 May 2012 15:46:29 +0000 (11:46 -0400)]
xwm: Bring back synthetic events and handle synthetic unmap notify as per ICCCM
Kristian Høgsberg [Wed, 30 May 2012 15:34:35 +0000 (11:34 -0400)]
xwm: Don't try to read deleted properties
Kristian Høgsberg [Wed, 30 May 2012 15:28:24 +0000 (11:28 -0400)]
xwm: Handle reparenting windows
Kristian Høgsberg [Wed, 30 May 2012 14:09:21 +0000 (10:09 -0400)]
xwm: Don't select for XCB_EXPOSE
We don't need expose events. All windows are redirected and we know
exactly when we need to repaint them.
Kristian Høgsberg [Wed, 30 May 2012 14:06:59 +0000 (10:06 -0400)]
xwm: Don't dispatch for events coming from XSendEvent
GTK+ sends an unmap_notify to the root window when a toplevel GTK+ window
gets unmapped. That may be a GTK+ bug, but we should just ignore events
from XSendEvent.
Kristian Høgsberg [Wed, 30 May 2012 14:05:41 +0000 (10:05 -0400)]
xwm: Destroy frame resources and reparent back to root in unmap_notify
The frame window and the wayland surface needs to go away when then
X window is unmapped, not when it's destroyed.
Kristian Høgsberg [Wed, 30 May 2012 14:04:15 +0000 (10:04 -0400)]
xwm: Remove pointless change set request
Kristian Høgsberg [Wed, 30 May 2012 14:02:58 +0000 (10:02 -0400)]
xwm: Don't select for STRUCTURE_NOTIFY or RESIZE_REDIRECT
We get all that information through SUBSTRUCTURE_NOTIFY on the parent
windows.
Kristian Høgsberg [Wed, 30 May 2012 13:59:56 +0000 (09:59 -0400)]
xwm: Ignore map request for already mapped window
If a client sends another map request before the server has seen our
reply to the first map request event, we might get a map request for an
already mapped window. Just ignore that.
Kristian Høgsberg [Wed, 30 May 2012 13:58:02 +0000 (09:58 -0400)]
xwm: Reduce window property debug output
We just print properties when they change now instead of dumping all
properties whenever we re-read them. Also, make the property output a
little more concise.
Kristian Høgsberg [Tue, 29 May 2012 20:49:45 +0000 (16:49 -0400)]
compositor: Only fini region if it's not the undef region
Kristian Høgsberg [Tue, 29 May 2012 19:35:29 +0000 (15:35 -0400)]
xwm: Reset wm->focus_window when the focused window is destroyed
Kristian Høgsberg [Tue, 29 May 2012 16:15:47 +0000 (12:15 -0400)]
wcap: Compute per-component deltas
Kristian Høgsberg [Tue, 29 May 2012 15:36:27 +0000 (11:36 -0400)]
wcap: Add wcap README, with a bit of documentation
Kristian Høgsberg [Tue, 29 May 2012 14:51:55 +0000 (10:51 -0400)]
wcap-decode: Fix setting framerate
Default to 30fps instead of crashing if we don't get a framerate on the
command line.
Kristian Høgsberg [Tue, 29 May 2012 14:51:21 +0000 (10:51 -0400)]
wcap-decode: Fix timestamp overflow
Ander Conselvan de Oliveira [Tue, 29 May 2012 07:58:27 +0000 (10:58 +0300)]
dnd: implement option for not offering data to other clients
Add option --self-only to dnd client. If this options is passed, the
drag will be started with no data source so that no drag and drop
events are sent to other clients.
David Herrmann [Tue, 29 May 2012 07:37:02 +0000 (09:37 +0200)]
terminal: add glyphs to character list
This adds the actual glyphs/utf-8 characters to the comments of CS_SPECIAL
(DEC special graphics set). They all work on my system with "Monospace" or
"Bitstream" font. But keep the mnemonics so if the UTF8 characters are not
displayed correctly, the comments are still readable.
I don't know if gcc actually reads data as UTF-8 or if C code actually
allows all UTF8 characters. However, unless it reads as "*/" in ASCII, it
shouldn't matter inside of comments.
Anyway, it compiles fine with gcc-4.7.0/amd64 here.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
David Herrmann [Tue, 29 May 2012 07:37:01 +0000 (09:37 +0200)]
terminal: fix up horizontal scan-line characters
The DEC special graphics set defines entries 0x6f to 0x73 to be:
Horizontal Scan Line 1
Horizontal Scan Line 3
Horizontal Scan Line 5
Horizontal Scan Line 7
Horizontal Scan Line 9
However, the first Unicode drafts included only Scan-Line 5. Since
Unicode-3.2 the other Scan-Lines were added and are available in most
Unicode fonts now.
The codes are listed here:
http://www.fileformat.info/info/unicode/block/miscellaneous_technical/images.htm?start=9089
Or more precisely:
Scan 1: http://www.fileformat.info/info/unicode/char/23ba/index.htm
Scan 3: http://www.fileformat.info/info/unicode/char/23bb/index.htm
Scan 7: http://www.fileformat.info/info/unicode/char/23bc/index.htm
Scan 9: http://www.fileformat.info/info/unicode/char/23bd/index.htm
Scan 5 is kept the same as before as it wasn't added separately and was
already correct before.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Yan Wang [Mon, 28 May 2012 06:07:25 +0000 (14:07 +0800)]
Weston: Free allocated cursors array when destroying
This array is allocated in create_cursors(). It should be freed in
destroy_cursors().
Kristian Høgsberg [Sat, 26 May 2012 17:41:06 +0000 (13:41 -0400)]
shell: Add keybinding to force-close (SIGKILL) inactive clients
Kristian Høgsberg [Sat, 26 May 2012 17:19:22 +0000 (13:19 -0400)]
wcap: Add option to disable building wcap tools
Ander Conselvan de Oliveira [Fri, 25 May 2012 13:03:06 +0000 (16:03 +0300)]
dnd: work around cairo-gl brokenness
If cairo-gl is used, display_create_surface() will create an
wl_egl_window for each surface and this will result in errors if this
surface is used as a source. Also, one can't get a wl_buffer for such
a surface wich led to crashes when trying to do so for the drag icon.
This patch works around both problems by forcing the item and drag icon
surfaces to use shm.
Ander Conselvan de Oliveira [Fri, 25 May 2012 13:01:41 +0000 (16:01 +0300)]
window: rename enum pointer_type to cursor_type
This avoids confusion with the pointer devices (struct wl_pointer).
Ander Conselvan de Oliveira [Fri, 25 May 2012 06:30:02 +0000 (09:30 +0300)]
window: track changes in libwayland-cursor api
libwayland-cursor does not provide enum wl_cursor_type anymore so this
brings back enum pointer_type.
This partially revers commit
1042dc15e0ca69a4d8d4d23b862f1e3d3c8e054f.
Chad Versace [Thu, 24 May 2012 06:42:15 +0000 (23:42 -0700)]
compositor: Fix buggy snprintf that sets module path
If the MODULEDIR string contains '%', then
snprintf(path, sizeof(path), MODULEDIR "/%s", name);
does not do what you want.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Tiago Vignatti [Wed, 23 May 2012 20:04:14 +0000 (23:04 +0300)]
xwayland: change library name
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
Tiago Vignatti [Wed, 23 May 2012 19:06:28 +0000 (22:06 +0300)]
clients: desktop-shell: show tooltip for panel items
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
Tiago Vignatti [Wed, 23 May 2012 19:06:27 +0000 (22:06 +0300)]
window: add simple text tooltip handlers
Using set_transient.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
Tiago Vignatti [Wed, 23 May 2012 19:06:26 +0000 (22:06 +0300)]
shell: use transient flags for activate or not new surfaces
Inactive surfaces doesn't set keyboard focus, so it can be used for tooltips,
toolbars and some other type of windows.
This requires protocol side changes.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
Kristian Høgsberg [Sat, 26 May 2012 02:33:35 +0000 (22:33 -0400)]
wcap: Space out frames according to timestamps
Kristian Høgsberg [Sat, 26 May 2012 01:51:25 +0000 (21:51 -0400)]
wcap: Support the other pixel format we may write
Kristian Høgsberg [Sat, 26 May 2012 01:32:58 +0000 (21:32 -0400)]
wcap: Commit Makefile.am
Kristian Høgsberg [Fri, 25 May 2012 22:08:29 +0000 (18:08 -0400)]
wcap: Move old wcap-encode to wcap/ as wcap-snapshot
Kristian Høgsberg [Fri, 25 May 2012 22:03:52 +0000 (18:03 -0400)]
wcap: Rename wcap-encode to just wcap
Kristian Høgsberg [Fri, 25 May 2012 22:00:49 +0000 (18:00 -0400)]
wcap: Add COPYING for vpxenc derived wcap-decode tool
Kristian Høgsberg [Fri, 25 May 2012 21:58:12 +0000 (17:58 -0400)]
wcap: Add wcap support to webm encoder
Kristian Høgsberg [Fri, 25 May 2012 21:55:20 +0000 (17:55 -0400)]
wcap: Move wcap structs and constants to a shader header
Kristian Høgsberg [Fri, 25 May 2012 21:50:42 +0000 (17:50 -0400)]
wcap: Discard first frame since it doesn't have a full frame of damage
Kristian Høgsberg [Fri, 25 May 2012 21:45:39 +0000 (17:45 -0400)]
wcap: Add a file format magic number and add the pixel format to the header
Kristian Høgsberg [Fri, 25 May 2012 16:04:43 +0000 (12:04 -0400)]
Make it compile
Kristian Høgsberg [Fri, 25 May 2012 15:59:53 +0000 (11:59 -0400)]
Import vpxenc from libvpx as a starting point
Kristian Høgsberg [Thu, 24 May 2012 16:29:46 +0000 (12:29 -0400)]
Add screen recorder tool
This commit adds a new, built-in screen recorder tool. The tool UI is
still very simple, start with mod-r and stop it again with mod-r.
The recording is written to capture.wcap, in a simple run-length encoded
adhoc format. The wcap-decode tool can be used to extract a single frame
from the capture, for now, but the plan is to hook this up to libvpx and
generate webm output.
Kristian Høgsberg [Tue, 22 May 2012 21:09:40 +0000 (17:09 -0400)]
xwm: Handle resize cases of _NET_WM_MOVERESIZE
Kristian Høgsberg [Tue, 22 May 2012 20:56:23 +0000 (16:56 -0400)]
xwm: Implement resizing by frame borders
Kristian Høgsberg [Tue, 22 May 2012 20:38:53 +0000 (16:38 -0400)]
Share code to to classify pointer location in frame
Kristian Høgsberg [Tue, 22 May 2012 20:05:52 +0000 (16:05 -0400)]
xwm: Add window resize support
Scott Moreau [Tue, 22 May 2012 16:18:50 +0000 (10:18 -0600)]
compositor: Address blending for XRGB surfaces with alpha < 1.0.
Kristian Høgsberg [Tue, 22 May 2012 16:55:18 +0000 (12:55 -0400)]
shell: Add back mod+pageup/down keybindings for zoom
This way we can use zoom without a scrollwheel/touchpad.
Scott Moreau [Mon, 21 May 2012 21:21:25 +0000 (15:21 -0600)]
Restructure output zoom.
A quick clean-up of zoom to prepare for the other patches in this series.
Scott Moreau [Mon, 21 May 2012 21:49:14 +0000 (15:49 -0600)]
xwm: Fold weston_wm_activate into weston_wm_window_activate
Scott Moreau [Mon, 21 May 2012 21:49:13 +0000 (15:49 -0600)]
xwayland/window-manager.c: Use container_of to get the wm pointer since window may be NULL.
Scott Moreau [Tue, 22 May 2012 07:54:10 +0000 (01:54 -0600)]
shell: Update relevant bits to work with recent alpha value changes.