Dominique Martinet
6ae96c4832
wlr_xdg_shell: (style) add break to final switch case
7 years ago
Tony Crisci
85871cb666
add wlr_output_layout_adjacent_output
7 years ago
Drew DeVault
31dde23e40
Merge pull request #631 from rzlourenco/master
...
Add missing dependencies
7 years ago
Rodrigo Lourenço
168e26489a
Add missing dependencies
7 years ago
Dominique Martinet
db9c2c11f6
meson: require wayland-protocols >=1.12 for xdg-shell stable
7 years ago
Dominique Martinet
1080bf69f8
xdg_shell: add input validatoin for positioner anchor/gravity
7 years ago
Dominique Martinet
7d26a6debd
xdg-shell stable: copy-pasta implementation
7 years ago
emersion
392d54a35d
Wrap wl_resource_get_user_data into safer helper functions
...
This ensures we're not incorrectly casting a resource.
Fixes #628
7 years ago
Drew DeVault
71cba94e73
Merge pull request #627 from emersion/wlr-signal-emit-safe
...
Remove wlr_backend.events.{output_remove,device_remove}
7 years ago
emersion
c2e1474010
Reformat all #include directives
7 years ago
emersion
36ead80cd1
Make wlr_signal_emit_safe private
7 years ago
emersion
10ecf871f2
Remove wlr_backend.events.{output_remove,device_remove}
7 years ago
emersion
5e58d46cc1
Add wlr_signal_emit_safe
7 years ago
Drew DeVault
3497e53516
Merge pull request #625 from emersion/wlr-output-damage
...
Add wlr_output_damage
7 years ago
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