Commit Graph

1737 Commits

Author SHA1 Message Date
Drew DeVault 8ce9237c92 Create WAYLAND_DISPLAY socket 2017-06-21 14:33:39 -04:00
Drew DeVault b93f00b92f Utilize wlr_log in example logging 2017-06-21 14:15:06 -04:00
Drew DeVault 3d71969b2a Make event names consistent 2017-06-21 14:07:09 -04:00
Drew DeVault f4453d104d Reorganize wlr-common 2017-06-21 12:10:07 -04:00
Drew DeVault fd91244e83 Update everyone to use new headers 2017-06-21 10:27:45 -04:00
Drew DeVault 53a8b4f127 Split out types.h and wlr/types.h
TODO: Update the code accordingly and move other types into the same
paradigm
2017-06-21 10:10:04 -04:00
Drew DeVault fd5ad15894 Merge pull request #18 from ascent12/session
Fix VT switching with libinput backend
2017-06-21 09:58:15 -04:00
Scott Anderson d87574948e Added VT switching to every example 2017-06-21 13:40:09 +12:00
Scott Anderson fa6b3b290c Removed excessive debug logging 2017-06-21 13:33:31 +12:00
Scott Anderson 55854565dc Fixed VT switching 2017-06-21 13:31:29 +12:00
Scott Anderson 091de12bf4 Changed session signal to only emit on DRM changes 2017-06-21 12:47:53 +12:00
Drew DeVault d1493b2391 Actually make a2x optional
We might not even write man pages tbh
2017-06-20 18:52:13 -04:00
Drew DeVault c2d0090ad7 Support multiple wl backend outputs 2017-06-20 18:22:21 -04:00
Drew DeVault b2bf5b23b9 Implement output_transform for wl backend 2017-06-20 18:02:00 -04:00
Drew DeVault 33f2c66fca Merge pull request #17 from nyorain/wayland-backend
Basic Wayland backend
2017-06-20 17:54:33 -04:00
Drew DeVault b9d36c8149 Add dynamic output resizing for Wayland backend
This allows outputs to:
- Not support modesetting
- Resize themselves
2017-06-20 17:51:45 -04:00
Drew DeVault c9d5a0b2fb Clean up Wayland backend GL context and such 2017-06-20 15:29:27 -04:00
nyorain 51f35e7af0 Cleanup some leaks/incorrect destructions 2017-06-20 19:01:20 +02:00
nyorain a96d90dec4 Merge branch 'master' 2017-06-20 18:44:45 +02:00
nyorain 500e9184f1 Fix egl workaround; Test with weston 2017-06-20 18:44:11 +02:00
nyorain 50ce35e9da Implement wayland backend output 2017-06-20 18:27:05 +02:00
nyorain 62b1421635 Make egl_error function part of the egl interface
The function may be useful for backends using egl.
2017-06-20 18:26:29 +02:00
Scott Anderson 2f03ea0a6b Change from C99 to C11. 2017-06-20 13:18:41 +12:00
nyorain e22626ef6a Adapt codestyle 2017-06-19 22:39:20 +02:00
nyorain 792d535225 Rework wayland backend output implementation 2017-06-19 22:36:40 +02:00
nyorain e65ca967f9 Merge branch 'master' into wayland-backend 2017-06-19 21:22:42 +02:00
Drew DeVault 41b5294013 Merge pull request #16 from nyorain/master
Make logging ninja friendly
2017-06-19 15:18:48 -04:00
Drew DeVault fa4a04da22 Merge pull request #11 from SirCmpwn/libinput
[WIP] libinput backend
2017-06-19 15:16:40 -04:00
Drew DeVault 632a04f1b7 Implement keyboard LEDs 2017-06-19 15:15:37 -04:00
Drew DeVault ecb04afcad Implement tablet pads 2017-06-19 14:49:07 -04:00
nyorain 2414722574 Make log:_strip_path more efficient 2017-06-19 20:17:40 +02:00
Drew DeVault e9609e9adf Allocate framebuffers for hardware cursors
Still doesn't fix cursors though
2017-06-19 14:02:25 -04:00
nyorain acbc0a019a Make logging ninja friendly
When building with ninja instead of make __FILE__ will be relative
and logging therefore break. This moves stripping the path
from __FILE__ to runtime and handles a relative filepath as
well as a full one.
2017-06-19 20:01:35 +02:00
nyorain 10526de444 Fix furhter wayland backend issues 2017-06-19 19:40:58 +02:00
nyorain 8fbf1ca3ff Continue wayland backend update
Update wayland backend to new api.
Start to use the input interfaces.
Compiling now, not tested.
2017-06-19 19:05:10 +02:00
nyorain 41a477375c Merge branch 'libinput' into wayland-backend 2017-06-19 17:49:26 +02:00
nyorain 904739c405 Start to fix wayland backend
Starts to update the wayland backend to the new backend api.
Not yet updated to libinput branch (not yet compiling).
2017-06-19 17:46:50 +02:00
Drew DeVault 7e038a6110 Add (broken) DRM hardware cursors 2017-06-16 15:38:34 -04:00
Drew DeVault def3d7c64f Add tablet example 2017-06-15 16:15:12 -04:00
Drew DeVault 2443a070e7 Add colored quad and ellipse rendering primitives 2017-06-15 15:31:13 -04:00
Drew DeVault 4a9966b1a4 Implement wlr_tablet_tool 2017-06-15 14:32:53 -04:00
Drew DeVault e65f83d7f2 Add more DRM info to wlr_output
Yes I know this is the libinput branch, I thought this would be useful
for a libinput feature (but it wasn't)
2017-06-14 16:17:05 -04:00
Drew DeVault 3f24f8a1be Flesh out touch events and add demo 2017-06-14 14:50:09 -04:00
Drew DeVault d6905f86cb Allocate wlr_touch devices 2017-06-14 11:40:03 -04:00
Drew DeVault 7dfc2c28f1 Add axis events to pointer example 2017-06-13 12:38:57 -04:00
Drew DeVault 8f284ec0b2 Demonstrate pointer button event in example 2017-06-13 12:31:24 -04:00
Drew DeVault 2f9fd72fdc Add pointer example 2017-06-13 12:21:36 -04:00
Drew DeVault a63230e59c Implement libinput wlr_pointer 2017-06-13 11:05:45 -04:00
Drew DeVault 0dbfe56c89 Simplify examples 2017-06-13 10:13:11 -04:00
Drew DeVault 6bf7e095cf Flesh out keyboard support in examples 2017-06-13 08:10:36 -04:00