Drew DeVault
8ada41c272
Merge pull request #777 from emersion/fix-surface-buffer-not-updated
...
surface: fix texture not updated on commit
2018-03-29 20:48:10 -04:00
emersion
6bbf507082
surface: fix texture not updated on commit
...
When a client attaches a wl_drm or a linux_dmabuf buffer, we only
update it if the size is different from the one of the old buffer.
This means that if the client attaches a new, updated buffer with
the same size as the old buffer, the texture won't get updated.
This commit changes this behavior and re-creates the texture if
the client attaches a new buffer, without requiring the size to be
different.
2018-03-29 19:44:57 -04:00
Drew DeVault
4137d9fc80
Destroy layer surfaces on client destroyed
2018-03-29 16:30:09 -04:00
Drew DeVault
b887af9a60
Fix maximized windows interaction with layer shell
...
If there were no layer surfaces the usable area of the output would be
an empty box.
2018-03-29 12:18:50 -04:00
emersion
a316396eab
Merge pull request #720 from acrisci/xdg-positioner
...
xdg-positioner
2018-03-29 01:02:40 -04:00
Tony Crisci
2e63d1a0ca
toplevel_box to toplevel_sx_box
2018-03-28 23:24:39 -04:00
Tony Crisci
27f450ac0e
add todo for rotated unconstrained popup
2018-03-28 22:26:56 -04:00
Tony Crisci
71da20dbde
add comment for output box in toplevel coords
2018-03-28 20:51:25 -04:00
Tony Crisci
cf13a6d9c6
address toplevel coords issue
2018-03-28 20:09:20 -04:00
Tony Crisci
967bccffcd
remove xdg-positioner wlr wrappers
2018-03-28 19:42:17 -04:00
Tony Crisci
8b967fc573
bug: dont slide over too far
2018-03-28 19:00:49 -04:00
Tony Crisci
bf5ae85683
return early when no dest_x/y in output layout closest point
2018-03-28 18:40:55 -04:00
Tony Crisci
67c8aec77f
popup constraint handle empty output layout
2018-03-28 18:36:48 -04:00
Tony Crisci
bd828e23de
dont allocate xdg-positioner attrs
2018-03-28 18:33:21 -04:00
Tony Crisci
376d1cc0da
rename xdg-positioner structs
2018-03-28 18:30:38 -04:00
Tony Crisci
4ab88a5330
xdg-positioner bugfix
2018-03-28 17:04:55 -04:00
Tony Crisci
0bfcce50a9
xdg-positioner: honor constraint flags
2018-03-28 16:55:16 -04:00
Tony Crisci
dbffda7549
xdg-positioner wlr abstractions
2018-03-28 16:27:08 -04:00
emersion
5dd022da13
Merge pull request #765 from swaywm/transformed-events
...
Use libinput transformed events instead of width_mm/height_mm
2018-03-28 14:11:39 -04:00
Drew DeVault
3813121fef
Fix wayland output absolute input handling
2018-03-28 14:04:23 -04:00
Drew DeVault
52d621e097
Merge pull request #763 from emersion/x11-backend-kbd-modifiers
...
backend/x11: correctly update keyboard modifiers
2018-03-28 12:51:08 -04:00
Tony Crisci
c5cd805098
positioner rootston cleanup and bugfix
2018-03-28 12:46:41 -04:00
Drew DeVault
32bdcdf719
Address review feedback
2018-03-28 12:33:17 -04:00
Tony Crisci
e2c4e1ef54
fix xdg-positioner left constrain bug
2018-03-28 12:12:00 -04:00
Drew DeVault
ac219cbda6
Remove width_mm from tablet events
2018-03-28 12:05:37 -04:00
Tony Crisci
738f5e3344
cleanup xdg-positioner rootston code
2018-03-28 11:42:01 -04:00
Drew DeVault
324b9d910d
Remove width_mm from wlr_touch events
2018-03-28 11:04:40 -04:00
Drew DeVault
a35a5786b0
Remove width_mm from wlr_pointer events
2018-03-28 10:46:50 -04:00
emersion
f033f717a2
backend/x11: make xcb-xkb optional, remove global state
2018-03-28 00:26:15 -04:00
Tony Crisci
41e54ba632
Merge branch 'master' into xdg-positioner
2018-03-28 00:20:39 -04:00
Tony Crisci
330ee08126
Merge pull request #744 from emersion/texture-redesign
...
Redesign wlr_texture
2018-03-28 00:14:57 -04:00
emersion
8d1b5c7600
backend/x11: correctly update keyboard modifiers
2018-03-28 00:04:32 -04:00
Tony Crisci
48e8202883
Merge pull request #731 from swaywm/layer-surfaces
...
Implement wlr-layer-shell protocol & rendering
2018-03-27 23:37:37 -04:00
Drew DeVault
7d89e7e58d
Assign layer surface role
2018-03-27 23:08:41 -04:00
Drew DeVault
96a8df2f9a
Fix ack configure/configure flow
...
Prevents FOUC/improves frame perfect rendering goal
2018-03-27 22:50:55 -04:00
Drew DeVault
3e5131e664
Address further review feedback
2018-03-27 21:28:22 -04:00
Drew DeVault
a1d5d20914
Address some more feedback
2018-03-27 18:51:41 -04:00
Drew DeVault
52fe2688ea
Address @emersion's feedback
2018-03-27 18:51:41 -04:00
Drew DeVault
13edb19a6c
Fix issue starting up client EGL on X11 backend
2018-03-27 18:51:38 -04:00
Drew DeVault
776b81d499
Fix surface layer damage tracking
2018-03-27 18:50:32 -04:00
Drew DeVault
e841e5602b
Address @emersion's feedback
2018-03-27 18:50:32 -04:00
Drew DeVault
0e318df13d
Add margin animation to the example demo
2018-03-27 18:50:32 -04:00
Drew DeVault
86ca4bea6d
Fix layer rendering/layout bugs
2018-03-27 18:50:32 -04:00
Drew DeVault
097e87ca9f
Handle usable area for maximized windows
...
Also fixes some bugs
2018-03-27 18:50:32 -04:00
Drew DeVault
ab6c2bf584
Reset exclusivity after shell layer
...
Also fixes an issue which was applying exclusivity to all edges
2018-03-27 18:50:32 -04:00
Drew DeVault
df9dbf3170
Fix rebase issues; rearrange layers on destroy
2018-03-27 18:50:32 -04:00
Drew DeVault
11c57d22b0
Use 0 for default width/height (rather than -1)
2018-03-27 18:50:32 -04:00
Drew DeVault
d1c0e6fe2c
Add layer_surface.close
2018-03-27 18:50:32 -04:00
Drew DeVault
b73c4f48c1
Fix exclusive zone among other layers
2018-03-27 18:50:32 -04:00
Drew DeVault
0f7e78f6aa
Fix issue with multiple outputs in layer example
2018-03-27 18:50:32 -04:00