emersion
f86f1daf9a
Fix build on FreeBSD
6 years ago
Drew DeVault
ec20afd6d8
Add README
6 years ago
Drew DeVault
b2c9675140
CC0
6 years ago
Drew DeVault
20e55f9458
Implement Alt+F1 (next window) and Alt+Esc (exit)
6 years ago
Drew DeVault
9e6ef44deb
Fix uninitialized variable
6 years ago
Drew DeVault
09c8a048da
Fix various bugs
6 years ago
Drew DeVault
5f4c64fbeb
Tiny Wayland compositor
6 years ago
emersion
1a73baac94
Merge pull request #1187 from ammen99/master
...
move wlr_drm_connector_add_mode to wlr/backend/drm.h
6 years ago
Ilia Bozhinov
4486b52aa8
move wlr_drm_connector_add_mode to wlr/backend/drm.h
6 years ago
emersion
4ed6ee0a4d
Merge pull request #1184 from sdilts/add-default-output-size
...
Keep X11 backend windows from having an invalid size
6 years ago
sdilts
8e7df5eb88
Fix xcb_create_window parameters
...
Set the window width and height, not the location of the window.
6 years ago
Genki Sky
11d440972d
rootston: Double fork for keyboard bindings
...
This avoids leaving around zombies, without having to setup SIGCHLD
handler (which interferes with other fork/waitpid calls).
6 years ago
sdilts
da79fef5f7
Add guard for changing the size of X11 backend windows
...
Events that set the window to either a width or height of zero are now
ignored and logged.
6 years ago
sdilts
55cca6deaa
Set default output size for X11 backend
...
Fixes issue #1170
Also set the created window size to match the output size.
6 years ago
emersion
d2814c1795
Merge pull request #1183 from ammen99/master
...
remove dangling declaration of wlr_xdg_surface_popup_get_position()
6 years ago
Ilia Bozhinov
88e9dbe32e
remove dangling declaration of wlr_xdg_surface_popup_get_position()
6 years ago
Scott Anderson
ce0ab4d4b5
Merge pull request #1182 from ammen99/master
...
session: load GPU devices even if they have zero connectors
6 years ago
Ilia Bozhinov
cb42e16f64
session: load GPU devices even if they have zero crtcs/connectors/encoders
...
On some systems (most notably laptops with two GPUs) there are GPUs that
don't have attached outputs. However, we still want to load those GPUs
because they could still be used by the compositor for rendering.
6 years ago
Drew DeVault
28b0a4065b
Merge pull request #1179 from emersion/rootston-toggle-decoration-mode
...
rootston: add keybinding to toggle decoration mode
6 years ago
emersion
9d0e37f768
rootston: add keybinding to toggle decoration mode
6 years ago
Markus Ongyerth
3ad7b146eb
Fix typos/order in tablet-v2
6 years ago
Markus Ongyerth
f64962ace8
tablet-v2 tool: Implement implicit grab
...
Implement the tablet-v2 tablet tool's implicit grab semantics for
buttons and tip.
This avoids losing focus (to other [sub]surfaces) when a button is held,
or the tip is down.
This should help when the device is used close to a surface's border and
would otherwise have to be very precise.
6 years ago
emersion
84e87be6df
Merge pull request #1177 from ascent12/check_prime
...
Check for DRM prime
6 years ago
Scott Anderson
2d8f53affd
Check for DRM prime
...
This will indicate the user properly when multi-GPU is not supported by
their GPU driver.
6 years ago
Drew DeVault
e8fa25e027
Merge pull request #1168 from manio/multi-gpu
...
Fix support for multiple GPU
6 years ago
Scott Anderson
1a2b3445dc
Remove unused data from gbm_bo userdata
...
These aren't used anymore and crashes when the gbm_bo tries to get
destroyed (e.g. on hotplug).
6 years ago
Scott Anderson
4bee710c30
Fix hardware cursor on secondary GPU
...
Create rendering resources on parent GPU, so that we can sample the
passed in texture properly. The cursor buffer needs to remain on the
same GPU.
6 years ago
Ryan Dwyer
23e2c3c759
Merge pull request #1175 from emersion/fix-xdg-output-layout-destroy
...
xdg-output: fix segfault in handle_layout_destroy
6 years ago
emersion
c4522062f6
xdg-output: fix segfault in handle_layout_destroy
6 years ago
Mariusz Bialonczyk
e547e55be0
multi-gpu: do not flip screens on secondary GPU
...
All screens on secondary GPU in multiple GPU configurations
was flipped 180.
The flipped screens was always on secondary card (the primary card
was always correct).
Tested on nouveau with:
WLR_DRM_DEVICES=/dev/dri/card1:/dev/dri/card2
WLR_DRM_DEVICES=/dev/dri/card2:/dev/dri/card1
The commit is fixing this problem. Now all screens are "normal".
6 years ago
Mariusz Bialonczyk
ad406db21c
gles2: change context when it is not current
...
Texture functions, that create and manipulate textures should switch
the current context if necessary.
thanks to: @emersion
Fixes #934
6 years ago
Mariusz Bialonczyk
15dacebc36
multi-backend: do not expose internal renderers
...
backend_get_renderer() is now returning the renderer of the primary GPU, instead
of its own renderer, since that's the thing which actually does all of the "real"
rendering
wlr_multi_backend_add() is now adding all subbackends (otherwise only one GPU
is handled).
credits: @ascent12
6 years ago
Scott Anderson
eb9c9d8852
Merge pull request #1173 from sdilts/add-missing-libinput
...
Add missing dependency libinput to types/meson.build
6 years ago
sdilts
c95078320c
Add missing dependency libinput to types/meson.build
...
The file `types/tablet_v2/wlr_tablet_v2.c` includes <libinput.h>.
Without this change, libinput.h may not be found on
some systems.
6 years ago
Drew DeVault
1654fc80eb
Merge pull request #1157 from emersion/wlr-gamma-control
...
Implement wlr-gamma-control-unstable-v1
6 years ago
Drew DeVault
0780d7856a
Merge pull request #1171 from emersion/xwayland-document-sigusr1
...
xwayland: document SIGUSR1 handler
6 years ago
emersion
c3afe4f42e
gamma-control-v1: improve error handling
6 years ago
emersion
bbd0fbe573
gamma-control-v1: fix fds not closed
6 years ago
emersion
2ae0575631
examples/gamma-control: fix brightness formula
6 years ago
emersion
b0c32019c3
examples/gamma-control: clamp values, default brightness to 1
6 years ago
emersion
1d97202ec2
examples: add gamma-control
6 years ago
emersion
364afced3e
backend/drm: remove unnecessary casts
6 years ago
emersion
1705316fa7
gamma-control-v1: set O_NONBLOCK, improve error handling style
6 years ago
emersion
73b7111846
gamma-control-v1: reset gamma table when control is destroyed
6 years ago
emersion
2ebecb6727
backend/drm: allow to pass empty gamma ramp to reset it
6 years ago
emersion
e21563ec76
output: document gamma functions
6 years ago
emersion
6e8892d4d7
gamma-control-v1: don't insert control in the list before checking unicity
6 years ago
emersion
a5cab82a0f
rootston: fire up wlr-gamma-control-unstable-v1
6 years ago
emersion
a149c2370a
Implement wlr-gamma-control-unstable-v1
6 years ago
emersion
9dd4388ed9
xwayland: document SIGUSR1 handler
6 years ago