Commit Graph

51 Commits

Author SHA1 Message Date
Simon Ser ca45f4490c Remove all wayland-server.h includes
The documentation for wayland-server.h says:

> Use of this header file is discouraged. Prefer including
> wayland-server-core.h instead, which does not include the server protocol
> header and as such only defines the library PI, excluding the deprecated API
> below.

Replacing wayland-server.h with wayland-server-core.h allows us to drop the
WL_HIDE_DEPRECATED declaration.
2019-07-27 15:49:32 -04:00
Las fa2e6e7d9d Implement pointer-constraints protocol in wlroots and rootston 2018-09-18 10:14:33 +02:00
Ilia Bozhinov 2e6eb097b6 rootston: focus newly-created surfaces
Whenever a new surface is created, we have to update the cursor focus,
even if there's no input event. So, we generate one motion event, and
reuse the code to update the proper cursor focus. We need to do this
for all surface roles - toplevels, popups, subsurfaces.

Fixes #1162
2018-07-29 21:58:33 +03:00
Drew DeVault edbf4a2f60 Implement output auto-selection in rootston 2018-04-22 19:15:49 +02:00
emersion c2e1474010
Reformat all #include directives 2018-02-12 21:29:23 +01:00
emersion 10ecf871f2
Remove wlr_backend.events.{output_remove,device_remove} 2018-02-12 10:36:43 +01:00
Tony Crisci b0683874e9 xwm: send selection data 2017-11-22 08:10:06 -05:00
Tony Crisci 27a3a810ab rootston: fix multiseat focus 2017-11-10 08:27:45 -05:00
Tony Crisci 428bf18ec7 rootston: request set cursor 2017-11-08 15:23:56 -05:00
Tony Crisci 992f931ae9 rootston: cleanup for multiseat 2017-11-08 14:53:08 -05:00
Tony Crisci 09c6092423 multiseat: somewhat working 2017-11-07 15:56:11 -05:00
Tony Crisci 5354fe8729 move keyboard to seat 2017-11-04 09:23:57 -04:00
Tony Crisci 53021f8ed4 rootston: break up input.h 2017-11-02 20:31:19 -04:00
Tony Crisci 1a756b3123 bugfix: dnd force cancel 2017-11-01 08:05:02 -04:00
Drew DeVault 4281aefbf8
Merge pull request #324 from acrisci/feature/keyboard-redesign
wlr-seat: keyboard redesign
2017-10-28 10:56:41 -04:00
Drew DeVault 9f1ed70b81
Merge pull request #344 from emersion/compositor-action-cursors
Set compositor cursor for move, resize and rotate
2017-10-27 13:42:53 -04:00
emersion 315c01ba0f
Remove input.last_active_view 2017-10-27 19:21:26 +02:00
emersion ec5beeb8b8
Move xcursor stuff into its own file 2017-10-27 19:09:38 +02:00
Tony Crisci d33a9f8eaa wlr-seat: keyboard redesign 2017-10-24 07:18:11 -04:00
Tony Crisci 6fcac087fe rootston: remove mostly unused mapped icon param 2017-10-21 09:59:35 -04:00
Tony Crisci a87b60e31e Merge branch 'master' into feature/data-device-selection 2017-10-21 09:37:58 -04:00
Drew DeVault 1782d5e7b7 Implement simple touch support for rootston 2017-10-20 23:19:41 -04:00
Tony Crisci c00a94ca76 data-device: fix drag icon position 2017-10-17 17:21:11 -04:00
Tony Crisci b7c622a319 Merge branch 'master' into feature/data-device-selection 2017-10-17 16:01:17 -04:00
Tony Crisci df0a8d3abe wlr-data-device: drag icons 2017-10-15 11:06:03 -04:00
emersion 29abf93bb6
Check pointer focused surface instead of view at cursor 2017-10-12 14:28:37 +02:00
emersion 8492174088
Switch back to compositor cursor when switching from one view to another 2017-10-09 13:12:38 +02:00
emersion 4d157fe5de
Switch back to compositor cursor when leaving view 2017-10-09 12:51:28 +02:00
emersion 65d57920e5
rootston: handle request_set_cursor 2017-10-08 20:37:47 +02:00
emersion 518ef46ef2
Activate new views 2017-10-08 18:19:05 +02:00
Tony Crisci 4f848000af Merge branch 'master' into feature/xdg-popup 2017-10-07 13:04:04 -04:00
emersion 972e9dbd1b
Add close command, add close for xwayland 2017-10-06 16:03:35 +02:00
Tony Crisci 48ae4fc588 rootston: handle grab end 2017-10-06 07:32:59 -04:00
Drew DeVault d74a6d254f Merge pull request #198 from emersion/rootston-move-resize-rotate
rootston: force move, resize and rotate
2017-10-05 13:12:29 -04:00
Versus Void c5df6ca900 Fix memory leaks 2017-10-05 20:01:56 +00:00
emersion 9b88f25208
rootston: rotate views! 2017-10-03 21:06:32 +02:00
emersion d32018f1ac
Use keysyms instead of keycodes 2017-10-03 08:46:10 +02:00
emersion ab6c1f88e6
Add keyboard state to rootston 2017-10-03 08:46:09 +02:00
Drew DeVault f2ea691b93 Add basic drawing tablet support to rootston 2017-10-01 11:21:55 -04:00
emersion 77d28183b5
Partially fix resize offset 2017-09-30 13:54:51 +02:00
emersion 28d4b475dc
Add edges support, remove get_input_bounds 2017-09-30 13:22:42 +02:00
emersion 33a97576ca
Add view_resize 2017-09-30 11:57:39 +02:00
emersion 97679b8e12
React to xdg shell resize requests 2017-09-30 10:39:06 +02:00
Drew DeVault ada7fde6fb DRY up focus and implement z ordering 2017-09-28 19:48:55 -04:00
Drew DeVault 10240af6ea Handle input device removal 2017-09-28 19:05:38 -04:00
Drew DeVault 906a816abf Fix rootston keyboard, add Xwayland 2017-09-28 08:54:57 -04:00
Drew DeVault b84d59403f Initial keyboard support in rootston 2017-09-23 18:32:03 -04:00
Drew DeVault 57c50c78f0 Implement wlr_cursor in rootston 2017-09-23 14:53:15 -04:00
Drew DeVault 7523de7c61 Wire up pointer, start on cursor 2017-09-23 10:36:32 -04:00
Drew DeVault 0699aa62d8 Initial pass on roots_input 2017-09-23 10:13:05 -04:00