Drew DeVault
4e89a21397
Merge pull request #1283 from swaywm/revert-1282-fix-idle-frame
...
Revert "Prevent excessive frame events when compositor doesn't swap buffers"
6 years ago
Drew DeVault
1e70b4cea2
Revert "Prevent excessive frame events when compositor doesn't swap buffers"
6 years ago
Drew DeVault
1280b4920d
Merge pull request #1282 from RyanDwyer/fix-idle-frame
...
Prevent excessive frame events when compositor doesn't swap buffers
6 years ago
Ryan Dwyer
b7b781ff44
Prevent excessive frame events when compositor doesn't swap buffers
...
When we send an output frame event, we should not assume that the
compositor is going to call wlr_output_swap_buffers in response to it.
If the compositor does not swap the buffers, the idle event source still
exists and is executed every time the Wayland event loop becomes idle,
which means we send frame events repeatedly until the buffers are
swapped.
This moves the removal of the idle event source out of
wlr_output_swap_buffers and into wlr_output_send_frame, where it is
guaranteed to be removed.
6 years ago
Drew DeVault
24a48d4858
Merge pull request #1272 from emersion/presentation-time
...
Implement presentation-time
6 years ago
emersion
eac7c2ad2f
output: add presentation refresh prediction
6 years ago
emersion
abd3e995ab
rootston: send presentation events
6 years ago
emersion
ba63d77ec1
rootston: add output_for_each_surface
6 years ago
emersion
0aafd6e234
rootston: add layer_for_each_surface
6 years ago
emersion
b0635bf3e7
Rename get_present_clock to get_presentation clock, use it
6 years ago
emersion
abddfc99f2
output: fix clock_gettime return value handling
6 years ago
emersion
54e1287f30
backend: add get_present_clock
6 years ago
emersion
9203bfdd4f
output: document signals
6 years ago
emersion
26b9d6dbb1
output: send present event from all backends
6 years ago
emersion
78389fe722
output: add present event
6 years ago
emersion
3aad9fd6a9
presentation-time: add protocol implementation
6 years ago
emersion
c67ce71fdd
Merge pull request #1281 from aereaux/edid-sizes
...
Update sizes for new EDID database.
6 years ago
Drew DeVault
841d04db99
Merge pull request #1262 from nyorain/session_fix
...
Improve session handling
6 years ago
Aidan Epstein
0036161867
Update sizes for new EDID database.
6 years ago
Drew DeVault
0d23fb7b6d
Merge pull request #1279 from emersion/update-edid-manufacturers
...
backend/drm: update EDID manufacturers database
6 years ago
nyorain
b4d46aa9c2
Use sd_bus_get_property_trivial & remove numbering
6 years ago
emersion
7ab37bf152
backend/drm: update EDID manufacturers database
6 years ago
Scott Anderson
43af104fa3
Merge pull request #1277 from emersion/reset-gamma
...
backend/drm: reset gamma table on VT switch
6 years ago
emersion
e88db9a3fb
backend/drm: reset gamma table on VT switch
6 years ago
emersion
2beb68007e
output: make gamma size a size_t and gamma table const
6 years ago
Drew DeVault
1dd523c34c
Merge pull request #1275 from linkmauve/fix-xdg-decoration-destroy-crash
...
Fix a crash on zxdg_decoration_manager_v1 destroy
6 years ago
Emmanuel Gil Peyrot
130bf15cfa
Fix a crash on zxdg_decoration_manager_v1 destroy
...
When this request was called from a client, the unimplemented callback
was NULL and thus was crashing rootston.
6 years ago
emersion
890bbd7b5c
Merge pull request #1271 from emersion/gamma-control-destroy
...
gamma-control-v1: add missing destroy handler
6 years ago
emersion
f5ff702a69
gamma-control-v1: add missing destroy handler
6 years ago
emersion
0347d542ee
Merge pull request #1265 from sghctoma/conditional-b_lundef
...
Set b_lundef to false on FreeBSD in meson.build
6 years ago
sghctoma
65359718c4
Use == to check system instead of a prefix match
6 years ago
sghctoma
1d017c1cc1
Set minimum Meson version to 0.48.0
...
This commit sets the required Meson version to >=0.48.0, and removes the
comment about building on FreeBSD requires an extra flag.
6 years ago
Drew DeVault
936ec02266
Merge pull request #1268 from emersion/drm-connector-disappeared
...
backend/drm: don't free connector immediately
6 years ago
emersion
132f08175d
Merge pull request #1269 from ivyl/remove_xcb_image
...
xwayland/xwm: Stop including xcb_image.h
6 years ago
Arkadiusz Hiler
ae7c3f3d1c
xwayland/xwm: Stop including xcb_image.h
...
It's not used (XCB_IMAGE_FORMAT_Z_PIXMAP comes from xproto.h) and we
don't even have a pkg-config dependency on xcb-image, making the build
to fail on that inclusion on systems without the package.
6 years ago
emersion
79dd9ba151
backend/drm: don't free connector immediately
...
When a pageflip is pending, we'll get a DRM event for the connector
in the future. We don't want to free the connector immediately
otherwise we'll use-after-free in the pageflip handler.
This commit adds a new state, "DISAPPEARED". This asks the pageflip
handler to destroy the output after it's done pageflipping.
6 years ago
Drew DeVault
19f3804548
Merge pull request #1266 from Ongy/xdc_tablet_fix
...
Fix tablet_tool tilt and send proximity_out
6 years ago
Markus Ongyerth
3e494efc5c
Fix tablet_tool tilt and send proximity_out
...
Originally I asumed tilt_x and tilt_y are very unlikely to change
independent, I was proven wrong.
And while investigating Krita not using the Erasor tool, I found a bug,
which is unrelated though.
6 years ago
Drew DeVault
5e9959daaa
Merge pull request #852 from Laaas/master
...
Implement pointer-constraints-unstable-v1 protocol
6 years ago
emersion
1b598f67ca
pointer-constraints: add unstable header
6 years ago
emersion
fadbdcd13c
seat: remove unused keyboard focus_change event
6 years ago
emersion
d98181dab8
pointer-constraints: use proper wayland-scanner functions
6 years ago
emersion
792b1f5cbf
rootston: remove broken rotated pointer constraint handling
6 years ago
emersion
dac4f8e19f
pointer-constraints: refactoring
...
* Rename the constraint_create signal to new_constraint for
consistency
* Move the constraint_destroy signal to the constraint itself
* Use rotate_child_position instead of duplicating logic
* Fix inert constraint resource handling
* Style fixes
6 years ago
emersion
31cc2fa4f9
pointer-constraints: make region not a pointer, add committed bitfield
6 years ago
sghctoma
aacf0c427f
Adjust README to reflect change regarding b_lundef
...
With Meson >=0.48.0 it is no longer necessary to pass the flag
"-D b_lundef=false" on FreeBSD.
6 years ago
sghctoma
57ce896688
Add b_lundef=false Meson option on FreeBSD
...
The Meson option "b_lundef" need to be set to false on FreeBSD, because
the symbol "environ" is in crt1.o, which is not linked with shared
libraries. With Meson >=0.48.0 it is possible to set this option only
for FreeBSD. This patch changes meson.build to do that.
6 years ago
emersion
c89cd4945b
pointer-constraints: rename wl_{global,resources}
6 years ago
emersion
e3736d4acc
examples/pointer-constraints: style fixes
6 years ago
Drew DeVault
e47b8cd629
Merge pull request #1264 from emersion/examples-unknown-cursor
...
Fix unknown cursor in layer-shell example
6 years ago