Drew DeVault
6025fcaa09
Update required meson version to 0.47.1
6 years ago
Drew DeVault
8ecf9224f5
Merge pull request #1198 from ascent12/meson_feature
...
Fix meson changes
6 years ago
Scott Anderson
dc37194291
Change how glgen.sh outputs files
...
This fixes building wlroots as a subproject.
6 years ago
Scott Anderson
fd3fa760d3
Revert "Revert "Merge pull request #1194 from ascent12/meson_feature""
...
This reverts commit 9c886f20b9
.
6 years ago
Drew DeVault
9c886f20b9
Revert "Merge pull request #1194 from ascent12/meson_feature"
...
This breaks wlroots when used as a meson subproject.
This reverts commit dea311992e
, reversing
changes made to 6db9c4b746
.
6 years ago
Drew DeVault
dea311992e
Merge pull request #1194 from ascent12/meson_feature
...
Build system changes
6 years ago
Scott Anderson
39ac21401f
Replace generator with custom_target
...
This stops the protocol header constantly being regenerated for every
target using them.
6 years ago
Scott Anderson
f41c411980
Use input file for configure_file
...
This is so we can potentially add comments to it, and so if a user looks
at the installed header, they can see the /* #undef WLR_HAS_FEATURE */
line to see every option, even if not available.
6 years ago
Scott Anderson
653ea512c2
Use current_source_dir instead of source_root
...
This is so that log messages are printed properly when wlroots is build
as a subproject.
6 years ago
Scott Anderson
b1ed61b649
Use pkg-config to find wayland-scanner
6 years ago
Dorota Czaplejewicz
6db9c4b746
wlr_virtual_keyboard: use wlr_input_device_destroy
6 years ago
Dorota Czaplejewicz
2929f0f8dd
wlr_input_device: fix keyboard destruction
...
After destroying a keyboard input device, seat's listeners could still be pointing to destroyed wlr_input_device signals. This patch makes sure the references are removed while the input device is being destroyed.
6 years ago
Scott Anderson
51892e0d74
Install headers explicitly
6 years ago
Scott Anderson
a2bbf2c1f7
Make style more consistent
6 years ago
Scott Anderson
869dca1bce
Remove unnecessary project arguments
...
Meson handles rpath properly, and we don't need to use -I ourselves by
using include_directories with '.'.
6 years ago
Scott Anderson
1358d80ab9
Add link dependency on symbols file
...
So the library is rebuilt properly when it's updated.
6 years ago
Scott Anderson
584a3f8b6e
Update examples to use new option
...
We use a dictionary to remove some code duplication.
6 years ago
Scott Anderson
560e96aa57
Update rootston to use new option
6 years ago
Scott Anderson
784c20c82f
Use new options for X11 backend and Xwayland
6 years ago
Scott Anderson
94ed2fc7bb
Use feature options for libcap/logind
...
We now use a combo choice between systemd/elogind as they are mutually
exclusive anyway.
6 years ago
Scott Anderson
3fa3dca6d5
Add new feature options
...
Bump minimum meson version to 0.47 for the feature.
6 years ago
Scott Anderson
66064a07a6
Remove unneeded mesa-specific header
6 years ago
Drew DeVault
d7c027d3e3
Merge pull request #1191 from emersion/drm-conn-dpi
...
backend/drm: add support for DRM_MODE_CONNECTOR_DPI
6 years ago
emersion
7a3f7b3c8a
backend/drm: add support for DRM_MODE_CONNECTOR_DPI
6 years ago
emersion
24212df830
rootston: fix again FreeBSD build
...
Had an outdated copy of wlroots, so missed that one.
6 years ago
emersion
56600804ff
Merge pull request #1189 from agx/ctags-f
...
ctags: use -f instead of -o
6 years ago
emersion
d66d33f5a2
Merge pull request #1188 from emersion/freebsd-fixes
...
Fix build on FreeBSD
6 years ago
Guido Günther
570970db64
ctags: use -f instead of -o
...
The later does not exist on FreeBSD
See #725
6 years ago
emersion
f86f1daf9a
Fix build on FreeBSD
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
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