Dominique Martinet
161ae2fcb4
meson build: make enable options work as auto/true/false
...
This makes meson fail if -Denable_systemd=true was set but not found
The default is now auto which is the old behaviour
7 years ago
Dominique Martinet
19d7edb430
meson.build status: print actual build options in message
...
We were printing the option intent (true by default for all), but
some are disabled when a component is not found and this was not
reflected.
7 years ago
Vincent Vanlaer
7cb828ac70
Fallback gamma on legacy if properties don't exist
7 years ago
Dominique Martinet
5aee2afc7b
rootston: allow scale < 1 as well
...
Since we support fractional scale, having scale=0.5 can make sense
(and, as far as I can tell, works fine)
7 years ago
emersion
bf6d245400
Swap buffers with damage
7 years ago
Vincent Vanlaer
dd69d7b764
Use VLA instead of heap alloc
7 years ago
Vincent Vanlaer
0232269a2d
Fix style
7 years ago
Vincent Vanlaer
b2f6941617
Free gamma when property blob creation fails
7 years ago
Vincent Vanlaer
2df97ed16a
Set needs_swap on output when gamma changes
7 years ago
Vincent Vanlaer
f5e5d1983b
Do not allow gamma control without a crtc
7 years ago
Vincent Vanlaer
ab011406ad
Add atomic gamma lut size fetching
...
Legacy gamma lut size now uses the new legacy_crtc member of
wlr_drm_crtc. This was Previously doen using old_crtc in
wlr_drm_connector, but since this refers to the crtc that was connected to
the ouput, this could give the wrong result.
7 years ago
Vincent Vanlaer
cc1229e75e
Add atomic gamma setting
7 years ago
Drew DeVault
34489dca16
Merge pull request #571 from emersion/output-damage
...
Output damage tracking
7 years ago
emersion
cdd55b5d19
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago
Tony Crisci
09c2626e32
Merge pull request #609 from VincentVanlaer/cancel-grab
...
Cancel rootson move/resize/rotate on escape
7 years ago
Vincent Vanlaer
74264d4f62
Rename roots_seat_cancel_transform
7 years ago
Vincent Vanlaer
84234b4311
Merge branch 'master' into cancel-grab
7 years ago
Drew DeVault
78dc0c7de1
Merge pull request #611 from DonOregano/fix-resize-freeze
...
Make pointer button release outside window still count down the button_count
7 years ago
emersion
e13b13ff1d
Merge pull request #612 from VincentVanlaer/fix-move-resize
...
Fix jitter when quickly resizing windows
7 years ago
Vincent Vanlaer
712665b83b
Fix style error
7 years ago
Vincent Vanlaer
099c80e7d6
Fix jitter when quickly resizing windows
...
Surfaces and views get resized only on commit, therefore we may only
change the position of a window if there are no pending commits.
7 years ago
Lars Hagström
b181f793c3
Make pointer button release outside window still count down the button_count.
...
When double-clicking a maximized window title, so that the windows size is restored and the mouse pointer ends up _outside_ the window it becomes impossible to move windows.
The reason is that the button_count variable is not counted down if the mouse button is released outside the window, so the button_count remains incremented even after the button is released.
This patch adds a call to wlr_seat_pointer_notify_button if the mouse button is released outside the window.
(I am a complete noob to wlroots, so be kind...)
7 years ago
Drew DeVault
9d7a9fc9d4
Merge pull request #610 from Ongy/drm_reuse
...
prevents reuse of outdated wlr_output state
7 years ago
Vincent Vanlaer
90eb50d9aa
Merge roots_seat_cancel_* into one function
7 years ago
Markus Ongyerth
08fda567d2
prevents reuse of outdated wlr_output state
...
On the drm output the wlr_drm_connector structs are reused.
This struct contains the wlr_output struct, which is reused as well.
The old code kept modes/edid and output state persistent over hotplug.
This nulls the relevant strings, reads newer edid data and removes old
modes on unplug.
7 years ago
Vincent Vanlaer
147e5c0f8f
Refactor roots_cursor_press_button
...
Removed the button_count check when resizing/moving/rotating ends,
since all buttons presses are now properly tracked.
7 years ago
Vincent Vanlaer
6567a35903
Update seat pointer on meta move/resize/rotate
...
This will send the button pressed event to the client. This shouldn't
be a problem since sebsequent pointer movements are not sent to the
client. Thus the client will not for example start selecting text when
it is being resized using the compositor keybindigns.
7 years ago
Vincent Vanlaer
7ae8800a63
Cancel rootston move/resize/rotate on escape press
7 years ago
Vincent Vanlaer
7e3bb39d49
Always notify seat on button press
...
When the cursor is not over a view, wlr_seat_pointer_notify_button is
not called. However, this function does the bookkeeping of the pointer
state with regards to the number of pressed buttons. Because this
function also sends updates to the focused view, it has been moved
down, after the focus has been updated.
7 years ago
Drew DeVault
b10269e513
Merge pull request #607 from VincentVanlaer/cursor-bug
...
Prevent cursor from getting stuck at infinity
7 years ago
Vincent Vanlaer
8dcb2f2d6b
Prevent cursor from getting stuck at infinity
7 years ago
emersion
d33a113f67
Merge pull request #606 from FabianGeiselhart/fix-typo
...
Fix typo in rootston config
7 years ago
Fabian Geiselhart
ee6cbe2efd
Comments should talk about colons not semicolons
7 years ago
emersion
1cea73d2d8
rootston: fix rotated views damage tracking
7 years ago
emersion
1842487d61
rootston: fix crash when closing a fullscreened xwayland view
7 years ago
emersion
6ba36cc52f
rootston: do not rely on current view size when accumulating damage
7 years ago
emersion
faa57341ca
output: replace raw GL calls by wlr_renderer_* calls
7 years ago
emersion
ddb1779f9f
render: make wlr_renderer_clear take a float[4] for the color
7 years ago
emersion
402587ed65
rootston: use output renderer
7 years ago
emersion
3d3ea32137
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago
Drew DeVault
86a404f2cd
Merge pull request #601 from emersion/output-modeset-enabled
...
backend/drm: update output enabled property on modeset
7 years ago
emersion
bb39277e97
backend/drm: update output enabled property on modeset
7 years ago
emersion
bb4aeb3b2f
backend/drm: support updating cursor when session is paused
7 years ago
emersion
5aa642485d
rootston: do not render views fullscreened on other outputs
7 years ago
emersion
4d6e7f510e
rootston: fix artifacts when leaving fullscreen in a rotated view
7 years ago
Drew DeVault
39d5e78d37
Fix typo in xcursor.h
7 years ago
Drew DeVault
8cf622f074
Improve xcursor docs
7 years ago
emersion
a43555d7f5
Merge pull request #598 from Ongy/screenshot_transform
...
Screenshot transform
7 years ago
Markus Ongyerth
cd925f496c
fixes the off by one errors in examples/screenshot
...
The inverse loop iterations for the transformed outputs had an off by
one error, iterating 1 based, not 0 based. This commit fixes that.
7 years ago
emersion
42ec696b82
Merge pull request #599 from emersion/output-cursor-destroy-signal
...
output: add destroy signal for wlr_output_cursor
7 years ago