emersion
a9632341bf
output_damage: listen to transform and scale output events
7 years ago
emersion
5a8f098eea
output, output_damage: add docs
7 years ago
emersion
ec837e3c9e
Introduce wlr_output_damage
7 years ago
Drew DeVault
664d7bfe4e
Merge pull request #618 from VincentVanlaer/atomic-gamma
...
Add atomic gamma control
7 years ago
Drew DeVault
8fc7edd636
Merge pull request #623 from martinetd/mesonopt
...
Meson option enhancements
7 years ago
Drew DeVault
07856580c4
Merge pull request #619 from emersion/swap-with-damage
...
Swap buffers with damage
7 years ago
Dominique Martinet
435aec0033
meson build: only link with deps when required by options
7 years ago
emersion
039f112c31
Merge pull request #622 from martinetd/smallscale
...
rootston: allow scale < 1 as well
7 years ago
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