Philipp Brüschweiler
5418a904ca
toytoolkit: don't ignore resizes with negative width or height
...
E.g. this can happen when you grab the lower right corner of a window
and move over the top of the window when resizing. In this case, the
changed width is still important and should be acted upon.
https://bugs.freedesktop.org/show_bug.cgi?id=53560
13 years ago
Philipp Brüschweiler
97cb62afb7
weston-info: an output can have multiple modes
13 years ago
Philipp Brüschweiler
bb0d4b9218
weston-info: remove timerfd termination hack
...
Use wl_display_roundtrip to listen exactly as long as necessary.
13 years ago
Kristian Høgsberg
70fc4a4cd6
clients: Move weston-info to bin_PROGRAMS
...
It's properly prefixed and pretty useful; let's install it.
13 years ago
Philipp Brüschweiler
585acb0013
weston-info: client that print out information about the running compositor
...
This includes seat capabilities, shm formats and output information.
13 years ago
Philipp Brüschweiler
7e0cc54fca
toytoolkit: add axis handler
13 years ago
Philipp Brüschweiler
b8a8aff357
toytoolkit: remove unused actions from titlebar menu
...
They were introduced in b3cca0a411
but never actually implemented. Removing them should at least stop
users from wondering if weston is broken.
https://bugs.freedesktop.org/show_bug.cgi?id=52455
13 years ago
Philipp Brüschweiler
70cc73b8d8
eventdemo: add axis logging
...
https://bugs.freedesktop.org/show_bug.cgi?id=52453
13 years ago
Philipp Brüschweiler
a306a2691a
eventdemo: fix --no-border
...
This was broken by commit 29af3ebce6
13 years ago
Philipp Brüschweiler
850f504aa2
eventdemo: fix incorrect comments
13 years ago
Kristian Høgsberg
86adef9d54
window.c: Handle multiple keyboard foci
...
Keep a count of number of wl_keyboard focus we have instead of
tracking the more recent wl_keyboard.
13 years ago
Philipp Brüschweiler
1f54f17ef8
image: handle multiple images correctly
...
Don't stop the application when only one window is closed. Don't stall
indefinitely if no valid image file is given as input.
13 years ago
Philipp Brüschweiler
f22d0ecd97
dnd: fix segfault on grabbing
...
Some cursor themes don't include a "grabbing" icon, causing a segfault.
This patch fixes this by just reverting to the stardard cursor instead.
https://bugs.freedesktop.org/show_bug.cgi?id=50487
13 years ago
Christopher Michael
ac3e5f2feb
Add support in Weston for X cursor themes.
...
This patch, along with the wayland patch, adds the ability to specify
a cursor theme in the weston.ini file:
[cursors]
theme=THEME_NAME
If specified, than Weston can use a specific X cursor theme for the
pointer. This relies on the 0001-Add-support-for-X-cursor-themes.patch
for wayland.
[krh: edited to use shell section and key name cursor-theme]
13 years ago
Kristian Høgsberg
b29798bcab
window.c: Rearrange input handlers so they appear in the right order
...
They were all over the place before, now they appear in protocol order.
13 years ago
Jan Arne Petersen
e829adc514
text: Assign text_model to a wl_seat
...
Add a wl_seat argument to the activate and deactivate requests of
text_method.
On activation a text_model gets assigned to the input_method of the
wl_seat specified in the activate request.
13 years ago
Jan Arne Petersen
de3b6a15c0
text: Add activate/deactivate events
...
Let the client know when a text model gets activated or deactiavted.
13 years ago
Jan Arne Petersen
5196374218
text: Rename text_model_manager to factory
...
The text_model_manager interface is just used to create text_model
instances. It is more a factory than a manager so rename it to
text_model_factory.
13 years ago
Jan Arne Petersen
72f6082313
text: Add missing callbacks for text_model events
...
Add all required callbacks for the text_model_listener in the editor
example.
13 years ago
Juan Zhao
19a4c2db26
image: Don't segfault when the file doesn't exist
...
Don't create a window when the file doesn't exist.
https://bugs.freedesktop.org/show_bug.cgi?id=52450
13 years ago
Kristian Høgsberg
bcf4864bb7
simple-egl: Add help message
13 years ago
Kristian Høgsberg
45ce98829b
simple-egl: Set opaque region when running opaque
13 years ago
Pekka Paalanen
b6df4f7de4
desktop-shell: use the standard 'environ' variable
...
The variable '__environ' seems to be libc implementation specific, and
not avaible on Android.
Use the POSIX standard variable 'environ', which also luckily happens to
be available on Android, which is not POSIX.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
13 years ago
Andre Heider
552d12b10e
terminal: Don't crash on non-ascii chars
...
isalpha() and isdigit() don't like huge values.
Noticed with ascii-art in the shell prompt.
13 years ago
Kristian Høgsberg
2a1aa4efce
terminal: Don't output @ for ASCII NUL
...
Fixes visual bell in screen.
13 years ago
Kristian Høgsberg
ae27737b28
window.c: Use pointer enter serial for setting cursor
13 years ago
Pekka Paalanen
76fc57e75c
simple-touch: use proper damage in touch_paint()
...
Should reduce update overhead.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
13 years ago
Pekka Paalanen
0768419393
simple-touch: fix off-by-one in position checks
...
Fix the off by one error in checking whether we can draw the marker
without exceeding buffer dimensions.
Fixes a segfault.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
13 years ago
Pekka Paalanen
55b7cb24e0
simple-touch: more colors and thicker marks
...
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
13 years ago
Pekka Paalanen
7e94a98e07
simple-touch: respond to ping protocol
...
Without this, it won't get any input anymore.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
13 years ago
Pekka Paalanen
e288a0f415
window: warn on cursor load failure
13 years ago
Kristian Høgsberg
023be102d7
window.c: Set input region after (potentially) adjusting the surface size
...
Regressed in dd263e546b
, spotted by Scott Moreau <oreaus@gmail.com>
13 years ago
Kristian Høgsberg
321e8b7fd3
gears: Exit on ESC
13 years ago
Ander Conselvan de Oliveira
69f9840bed
simple-egl: Add keyboard fullscreen toggle
...
Make simple-egl toggle the fullscreen state whenever the key F11 is
pressed. A sync callback is used to stop drawing while the surface has
not received the configure event, to prevent a buffer with the windowed
size to be attached to the surface after the set_fullscreen request.
13 years ago
Kristian Høgsberg
2995c517c5
gears: Keep gears inside screen in fullscreen mode
13 years ago
Olivier Blin
7679d9a62e
gears: add a warning about refresh rate limitation
13 years ago
Olivier Blin
a1d0cf5d69
gears: show FPS count (as in glxgears from mesa/demos)
13 years ago
Kristian Høgsberg
4fc1535c0a
window: Handle Alt-F4 to close windows
13 years ago
Andre Heider
82b4c1bc6b
window.c: Remove xkb leftovers
13 years ago
Olivier Blin
fa820efaf0
gears: add fullscreen support
13 years ago
Kristian Høgsberg
d1936b9e2b
desktop-shell: Break command lines into env vars, executable and arguments
...
We now support specifying environment variables and arguments in launchers
by saying
path=GDK_BACKEND=wayland gnome-terminal --full-screen
for example.
https://bugs.freedesktop.org/show_bug.cgi?id=47920
13 years ago
Kristian Høgsberg
df0faf7983
image: Add fullscreen support
13 years ago
Kristian Høgsberg
67ace20f8e
window.c: Add fullscreen handler to keep fullscreen state consistent
13 years ago
Kristian Høgsberg
0fd49aa886
dnd: Clip flowers to window content area
...
https://bugs.freedesktop.org/show_bug.cgi?id=52420
13 years ago
Scott Moreau
ec116022ec
desktop-shell: Declare grab_cursor as enum cursor_type.
13 years ago
Kristian Høgsberg
0e696478a9
Handle new transform argument in wl_output.geometry event
13 years ago
Philipp Brüschweiler
f25602bdc0
Extract the text_model_manager interface from input_method
...
This is necessary because all clients need a way to create
text_models, but only one client at a time can be bound to
the input_method global (else we don't know to whom we are
supposed to send events).
13 years ago
Philipp Brüschweiler
591cfca4e8
editor: deactivate old text model before activating the new one
13 years ago
Kristian Høgsberg
d3a1965a3d
clients: Implement minimum size for toy toolkit clients
...
We default to setting the minimum size to the initial size. To set a
different minimum size than the initial size, set the minimum size first
then then initial size. Good enough for a toy toolkit.
https://bugs.freedesktop.org/show_bug.cgi?id=50263
13 years ago
Ander Conselvan de Oliveira
07a91cd9fd
desktop-shell: Don't get a shell surface for the grab surface
...
The grab surface does not depend on any of the shell surface
functionality, so don't allocated one.
13 years ago