Guido Günther
15afef6cbc
x11 backend: set window title
...
This makes windows identifiable in the window list
2018-02-18 23:42:04 +01:00
Drew DeVault
4ded535354
Merge pull request #634 from agx/glvendor
...
Log GL and EGL vendor
2018-02-15 08:32:51 -05:00
Guido Günther
4d496802dd
Log GL and EGL vendor
...
useful for debugging
2018-02-15 10:40:19 +01:00
Drew DeVault
31dde23e40
Merge pull request #631 from rzlourenco/master
...
Add missing dependencies
2018-02-14 13:47:27 -05:00
Rodrigo Lourenço
168e26489a
Add missing dependencies
2018-02-14 18:42:39 +00:00
Drew DeVault
71cba94e73
Merge pull request #627 from emersion/wlr-signal-emit-safe
...
Remove wlr_backend.events.{output_remove,device_remove}
2018-02-13 08:30:54 -05:00
emersion
c2e1474010
Reformat all #include directives
2018-02-12 21:29:23 +01:00
emersion
36ead80cd1
Make wlr_signal_emit_safe private
2018-02-12 19:52:47 +01:00
emersion
10ecf871f2
Remove wlr_backend.events.{output_remove,device_remove}
2018-02-12 10:36:43 +01:00
emersion
5e58d46cc1
Add wlr_signal_emit_safe
2018-02-12 09:12:31 +01:00
Drew DeVault
3497e53516
Merge pull request #625 from emersion/wlr-output-damage
...
Add wlr_output_damage
2018-02-11 15:49:51 -05:00
emersion
a9632341bf
output_damage: listen to transform and scale output events
2018-02-11 13:07:00 +01:00
emersion
5a8f098eea
output, output_damage: add docs
2018-02-11 13:04:00 +01:00
emersion
ec837e3c9e
Introduce wlr_output_damage
2018-02-11 12:49:30 +01:00
Drew DeVault
664d7bfe4e
Merge pull request #618 from VincentVanlaer/atomic-gamma
...
Add atomic gamma control
2018-02-10 09:51:09 -05:00
Drew DeVault
8fc7edd636
Merge pull request #623 from martinetd/mesonopt
...
Meson option enhancements
2018-02-10 09:49:13 -05:00
Drew DeVault
07856580c4
Merge pull request #619 from emersion/swap-with-damage
...
Swap buffers with damage
2018-02-10 09:45:18 -05:00
Dominique Martinet
435aec0033
meson build: only link with deps when required by options
2018-02-10 11:30:47 +01:00
emersion
039f112c31
Merge pull request #622 from martinetd/smallscale
...
rootston: allow scale < 1 as well
2018-02-10 11:27:46 +01:00
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
2018-02-10 10:46:27 +01:00
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.
2018-02-10 10:44:42 +01:00
Vincent Vanlaer
7cb828ac70
Fallback gamma on legacy if properties don't exist
2018-02-10 10:24:49 +01:00
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)
2018-02-10 09:28:54 +01:00
emersion
bf6d245400
Swap buffers with damage
2018-02-09 22:54:14 +01:00
Vincent Vanlaer
dd69d7b764
Use VLA instead of heap alloc
2018-02-09 19:37:01 +01:00
Vincent Vanlaer
0232269a2d
Fix style
2018-02-09 19:35:44 +01:00
Vincent Vanlaer
b2f6941617
Free gamma when property blob creation fails
2018-02-09 18:54:56 +01:00
Vincent Vanlaer
2df97ed16a
Set needs_swap on output when gamma changes
2018-02-09 17:29:14 +01:00
Vincent Vanlaer
f5e5d1983b
Do not allow gamma control without a crtc
2018-02-09 17:29:14 +01:00
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.
2018-02-09 17:29:14 +01:00
Vincent Vanlaer
cc1229e75e
Add atomic gamma setting
2018-02-09 17:29:04 +01:00
Drew DeVault
34489dca16
Merge pull request #571 from emersion/output-damage
...
Output damage tracking
2018-02-09 09:38:48 -05:00
emersion
cdd55b5d19
Merge remote-tracking branch 'upstream/master' into output-damage
2018-02-09 14:50:26 +01:00
Tony Crisci
09c2626e32
Merge pull request #609 from VincentVanlaer/cancel-grab
...
Cancel rootson move/resize/rotate on escape
2018-02-08 13:38:50 -05:00
Vincent Vanlaer
74264d4f62
Rename roots_seat_cancel_transform
2018-02-08 13:13:33 +01:00
Vincent Vanlaer
84234b4311
Merge branch 'master' into cancel-grab
2018-02-08 13:07:39 +01:00
Drew DeVault
78dc0c7de1
Merge pull request #611 from DonOregano/fix-resize-freeze
...
Make pointer button release outside window still count down the button_count
2018-02-07 21:00:09 -05:00
emersion
e13b13ff1d
Merge pull request #612 from VincentVanlaer/fix-move-resize
...
Fix jitter when quickly resizing windows
2018-02-07 22:43:41 +01:00
Vincent Vanlaer
712665b83b
Fix style error
2018-02-07 20:26:30 +01:00
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.
2018-02-07 18:36:08 +01:00
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...)
2018-02-07 17:42:31 +01:00
Drew DeVault
9d7a9fc9d4
Merge pull request #610 from Ongy/drm_reuse
...
prevents reuse of outdated wlr_output state
2018-02-06 19:14:16 -05:00
Vincent Vanlaer
90eb50d9aa
Merge roots_seat_cancel_* into one function
2018-02-06 22:55:56 +01:00
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.
2018-02-06 22:45:37 +01:00
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.
2018-02-06 13:57:03 +01:00
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.
2018-02-06 12:53:51 +01:00
Vincent Vanlaer
7ae8800a63
Cancel rootston move/resize/rotate on escape press
2018-02-06 12:36:38 +01:00
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.
2018-02-06 12:36:04 +01:00
Drew DeVault
b10269e513
Merge pull request #607 from VincentVanlaer/cursor-bug
...
Prevent cursor from getting stuck at infinity
2018-02-04 22:56:20 -05:00
Vincent Vanlaer
8dcb2f2d6b
Prevent cursor from getting stuck at infinity
2018-02-04 22:40:24 +01:00