emersion
3bd1d876ae
examples: simplify screenshot client
2018-03-14 19:21:36 +01:00
Drew DeVault
85da9df807
Merge pull request #719 from acrisci/xdg-toplevel-role
...
differentiate xdg-toplevel roles
2018-03-13 19:18:47 -04:00
Tony Crisci
b2926a6c62
differentiate xdg-toplevel roles
2018-03-13 19:11:02 -04:00
emersion
dd8a7a29e1
rootston: don't center view if maximized
2018-03-14 00:01:28 +01:00
emersion
ace738dbca
xdg-shell-v6: next_geometry and geometry fields are not longer pointers in wlr_xdg_surface_v6
2018-03-13 22:17:25 +01:00
emersion
149209b72e
xdg-shell-v6: rename toplevel and popup fields in wlr_xdg_surface_v6 for consistency
2018-03-13 22:09:44 +01:00
emersion
657e5c8c0d
xdg-shell-v6: changed wlr_xdg_surface_v6_configure.toplevel_state to be NULL if surface isn't a toplevel
2018-03-13 22:05:35 +01:00
emersion
e74ddaaf10
xdg-shell-v6: redesign the configure/ack_configure workflow
2018-03-13 19:57:21 +01:00
emersion
125138f1a0
rootston: unmap view after emitting destroy signal in view_destroy
2018-03-13 12:34:29 +01:00
emersion
c1c88bfe5d
rootston: destroy seat view on unmap
2018-03-13 12:31:45 +01:00
Tony Crisci
efa9eeb5d5
Merge pull request #716 from emersion/fix-cursor-hotspot-update
...
Fix cursor hotspot update
2018-03-12 21:50:07 -04:00
Tony Crisci
647c2e68ba
Merge pull request #696 from emersion/fix-output-layout-destroy-global
...
output-layout: fix output global not destroyed
2018-03-12 21:41:45 -04:00
emersion
d24f868bbe
backend/drm: fix cursor hotspot not updated
2018-03-12 19:34:43 +01:00
emersion
7cdad5cde4
Merge pull request #710 from emersion/dont-move-hidden-cursors
...
output: don't move hidden cursors
2018-03-12 14:25:20 +01:00
Drew DeVault
90409b9692
Merge pull request #718 from emersion/wlroots-subproject
...
meson: use current_source_dir instead of source_root
2018-03-12 09:16:17 -04:00
emersion
375e1bdf2b
meson: use current_source_dir instead of source_root
...
Use source_root breaks the build when used as a subproject.
2018-03-12 12:15:26 +01:00
emersion
42637a52cf
rootston: don't segfault when getting size of an unmapped xdg-shell view
2018-03-12 10:42:41 +01:00
emersion
adec3f5c0f
xdg-shell-v6: add unmap support, add more protocol errors
2018-03-12 10:41:57 +01:00
emersion
6ac3534df6
rootston: add destroy to view interface
2018-03-12 09:17:06 +01:00
emersion
1f8854f217
rootston: remove xdg-shell-v6 map/unmap listeners on destroy
2018-03-12 09:00:59 +01:00
Guido Günther
2d0db16942
render: Flip textures in case of inverted_y
2018-03-11 19:02:05 +01:00
Drew DeVault
1c5e035884
Merge pull request #715 from emersion/fix-rootston-tablet-tool-destroy
...
rootston: fix segfault in handle_tablet_tool_destroy
2018-03-11 11:18:55 -04:00
emersion
9d6e17fb11
rootston: fix segfault in handle_tablet_tool_destroy
2018-03-11 11:58:59 +01:00
emersion
92ca4ad474
backend/drm: refactor wlr_drm_connector_set_cursor
2018-03-11 11:40:03 +01:00
emersion
8e3d294d6a
output: fix trailing cursor at (0, 0) on startup
2018-03-11 11:21:40 +01:00
emersion
3f072bedd9
xdg-shell-v6: add map signal
2018-03-10 11:18:50 +01:00
Cedric Sodhi
ebdabc2030
Make X11 fully optional
...
Make X11 Backend (in addition to XWayland) optional and small bug fix on XWayland includes.
2018-03-09 15:17:15 +01:00
emersion
c27fd1e1ee
rootston: add view_map and view_unmap
2018-03-09 10:29:22 +01:00
Drew DeVault
bfc0e95d2c
Add mode support to libinput backend
...
And extend tablet example with tilt and ring support
2018-03-07 20:57:55 -05:00
emersion
a951fbb264
output: don't move hidden cursors
...
When using the DRM backend and multiple outputs, that reduces the
number of commits.
2018-03-07 10:22:39 +01:00
emersion
36dcad13d0
Merge pull request #707 from ascent12/xcb_fixes
...
Xcb fixes
2018-03-06 21:50:00 +01:00
Scott Anderson
3c9fc7c68e
Add const to x11 and input interfaces
2018-03-06 21:16:18 +13:00
Scott Anderson
902d6cc240
Use xcb atoms properly
2018-03-06 21:15:47 +13:00
Drew DeVault
c986cc24a9
Merge pull request #703 from swaywm/drop-travis
...
Remove Travis in favor of builds.sr.ht
2018-03-04 16:37:17 -05:00
Drew DeVault
925d7a4987
Remove Travis in favor of builds.sr.ht
2018-03-04 16:33:45 -05:00
Drew DeVault
3a291b189b
Merge pull request #699 from martinetd/xcb_errors
...
Print xcb errors
2018-03-04 08:39:14 -05:00
Dominique Martinet
2910972b25
xwm.h: fix guard ifdef and remove wlr_ prefix from xwm_atoms_contains
2018-03-04 11:16:18 +01:00
Drew DeVault
0713cb043f
Change .build.yml upstream to GitHub
2018-03-03 23:11:06 -05:00
Dominique Martinet
d9a724c4a2
xcb errors: init errors context at start
...
`xcb_errors_context_new` is more than just a malloc, it does a few
xcb requests so we benefit from not generating a new context everytime
2018-03-03 17:06:30 +01:00
Dominique Martinet
7d1870c6f1
move xwm.h out of include/wlr
...
xwm.h was meant to be private, so move it to include/xwayland/xwm.h
We had an ifdef WLR_HAS_XCB_ICCCM in xwayland.h which was easy to move
to xwm, it is not safe to use the WLR_HAS_* in the public headers.
I checked a few of our current users and none rely on xwm.h being
public as expected (rootston, sway, hsroots)
2018-03-03 17:03:21 +01:00
Drew DeVault
9a37a33f05
Merge pull request #701 from mikkeloscar/fix-arch-travis
...
Enable docker service in travis
2018-03-03 10:28:40 -05:00
Dominique Martinet
f481791669
xcb error: get unhandled events names
...
This provides more friendly debug messages for unhandled events,
for example:
[xwayland/xwm.c:1033] unhandled X11 event: FocusOut (10)
[xwayland/xwm.c:1033] unhandled X11 event: MappingNotify (34)
2018-03-03 16:27:29 +01:00
Mikkel Oscar Lyderik Larsen
2c10344f8f
Enable docker service in travis
...
Adds the docker service in travis which is now required by arch-travis.
See: https://github.com/mikkeloscar/arch-travis/pull/40
2018-03-03 16:18:05 +01:00
Dominique Martinet
8026cd2a06
xcb error: always log sequence
2018-03-03 16:13:45 +01:00
Drew DeVault
0775d00c39
Merge pull request #700 from martinetd/gitignore
...
Update .gitignore
2018-03-03 09:27:41 -05:00
Dominique Martinet
69697e55a1
update .gitignore
...
- Remove old cmake ignores
- Add rootston.ini (example is rootston.ini.example)
2018-03-03 15:23:26 +01:00
Dominique Martinet
6f9da97565
xcb errors: address declare-assign style
2018-03-03 12:00:32 +01:00
Dominique Martinet
f8428d1063
xcb errors: optional dependency with improved messages
...
Now message can look like:
[xwayland/xwm.c:991] xcb error: op ChangeProperty (no minor), code Window (no extension), value 6291465
instead of this one when the lib is not available:
[xwayland/xwm.c:999] xcb error: op 18:0, code 3, sequence 103, value 6291465
The value in case of Window is the window id, so we can tell what
function applied on which window which is a good start.
The sequence ought to be able to tell us more precisely which
invocation it was, but we never log it when calling functions
so is useless in practice and no longer logged.
2018-03-03 11:46:04 +01:00
Dominique Martinet
2a9ba5c8dc
xcb errors: log raw values
2018-03-03 11:43:23 +01:00
emersion
3d176fcd1a
Merge pull request #697 from martinetd/xwm_values
...
xwm: fix call of xcb_change_window_attributes for old gcc versions
2018-03-01 21:44:52 +01:00