Kristian Høgsberg
c9571fbd3a
xwm: Reset wm->focus_window when the focused window is destroyed
13 years ago
Kristian Høgsberg
053be42a4e
wcap: Compute per-component deltas
13 years ago
Kristian Høgsberg
db0623a5f0
wcap: Add wcap README, with a bit of documentation
13 years ago
Kristian Høgsberg
f40d5d893f
wcap-decode: Fix setting framerate
...
Default to 30fps instead of crashing if we don't get a framerate on the
command line.
13 years ago
Kristian Høgsberg
f4b5a4d12e
wcap-decode: Fix timestamp overflow
13 years ago
Ander Conselvan de Oliveira
08bcf14903
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.
13 years ago
David Herrmann
a6128d6183
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>
13 years ago
David Herrmann
516b9e1753
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>
13 years ago
Yan Wang
a261f7e6dc
Weston: Free allocated cursors array when destroying
...
This array is allocated in create_cursors(). It should be freed in
destroy_cursors().
13 years ago
Kristian Høgsberg
92a57db6f2
shell: Add keybinding to force-close (SIGKILL) inactive clients
13 years ago
Kristian Høgsberg
61cfa66d6f
wcap: Add option to disable building wcap tools
13 years ago
Ander Conselvan de Oliveira
210eb9d2ba
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.
13 years ago
Ander Conselvan de Oliveira
dc8c8fce72
window: rename enum pointer_type to cursor_type
...
This avoids confusion with the pointer devices (struct wl_pointer).
13 years ago
Ander Conselvan de Oliveira
d8f527c845
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 1042dc15e0
.
13 years ago
Chad Versace
bf38190744
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>
13 years ago
Tiago Vignatti
629ce23bd0
xwayland: change library name
...
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
13 years ago
Tiago Vignatti
6150072283
clients: desktop-shell: show tooltip for panel items
...
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
13 years ago
Tiago Vignatti
82db9d80e6
window: add simple text tooltip handlers
...
Using set_transient.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
13 years ago
Tiago Vignatti
99aeb1e72d
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>
13 years ago
Kristian Høgsberg
11374d2a7d
wcap: Space out frames according to timestamps
13 years ago
Kristian Høgsberg
2255eb0816
wcap: Support the other pixel format we may write
13 years ago
Kristian Høgsberg
b2aa91c164
wcap: Commit Makefile.am
13 years ago
Kristian Høgsberg
bf17130144
wcap: Move old wcap-encode to wcap/ as wcap-snapshot
13 years ago
Kristian Høgsberg
2bcb2fc1fd
wcap: Rename wcap-encode to just wcap
13 years ago
Kristian Høgsberg
b0be6075ca
wcap: Add COPYING for vpxenc derived wcap-decode tool
13 years ago
Kristian Høgsberg
93b11c8e12
wcap: Add wcap support to webm encoder
13 years ago
Kristian Høgsberg
894e0b544c
wcap: Move wcap structs and constants to a shader header
13 years ago
Kristian Høgsberg
e012c829af
wcap: Discard first frame since it doesn't have a full frame of damage
13 years ago
Kristian Høgsberg
3b969608cb
wcap: Add a file format magic number and add the pixel format to the header
13 years ago
Kristian Høgsberg
ee85ae9c13
Make it compile
13 years ago
Kristian Høgsberg
89060c0a8b
Import vpxenc from libvpx as a starting point
13 years ago
Kristian Høgsberg
5fb70bf301
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.
13 years ago
Kristian Høgsberg
e68fd10f87
xwm: Handle resize cases of _NET_WM_MOVERESIZE
13 years ago
Kristian Høgsberg
c1693f209a
xwm: Implement resizing by frame borders
13 years ago
Kristian Høgsberg
f96e6c00d9
Share code to to classify pointer location in frame
13 years ago
Kristian Høgsberg
a61ca06b49
xwm: Add window resize support
13 years ago
Scott Moreau
9fb9824c17
compositor: Address blending for XRGB surfaces with alpha < 1.0.
13 years ago
Kristian Høgsberg
9b68af0608
shell: Add back mod+pageup/down keybindings for zoom
...
This way we can use zoom without a scrollwheel/touchpad.
13 years ago
Scott Moreau
850ca42b9b
Restructure output zoom.
...
A quick clean-up of zoom to prepare for the other patches in this series.
13 years ago
Scott Moreau
85ecac0a4e
xwm: Fold weston_wm_activate into weston_wm_window_activate
13 years ago
Scott Moreau
1b3984c3cc
xwayland/window-manager.c: Use container_of to get the wm pointer since window may be NULL.
13 years ago
Scott Moreau
02709afb51
shell: Update relevant bits to work with recent alpha value changes.
13 years ago
Ander Conselvan de Oliveira
1042dc15e0
window: use libwayland-cursor instead of libXcursor
13 years ago
Kristian Høgsberg
eaee784160
xwm: Use SUBSTRUCTURE_REDIRECT on frame window too
...
This lets us intercept and handle client attempts to resize their window
within the frame window.
13 years ago
Kristian Høgsberg
380deee3c7
xwayland: Add window-manager.c
...
Used mv instead of git mv to rename file...
13 years ago
Kristian Høgsberg
4714558e3d
xwayland: Rename xserver-launcher.c to window-manager.c
...
It's what it is now.
13 years ago
Kristian Høgsberg
e10b124ef5
xwayland: Move socket and launcher code to it's own file
13 years ago
Kristian Høgsberg
102bf0335d
xwayland: Split selection code into its own file
13 years ago
Kristian Høgsberg
a921901369
Move xwayland integration into xwayland subdirectory
13 years ago
Kristian Høgsberg
9540ea61a0
shell: Fix broken indentation in shell_get_shell_surface()
13 years ago