Uli Schlachter
e79d924588
x11 backend: Ignore expose if frame is pending
...
When resizing rootston with the mouse, the result is really slow. One
can see that rootston needs quite a while for drawing the newly visible
area. This is because every single expose event is handled on its own
and causes (apparently) a full repaint or at least a swap.
This commit improves things by only causing a new frame if none is
pending already.
With this change, there is almost no delay in rootston drawing the newly
visible area.
Signed-off-by: Uli Schlachter <psychon@znc.in>
7 years ago
Uli Schlachter
52b058c2a3
x11 backend: Do not set a back pixel on windows
...
Before this commit, the x11 server would fill any exposed area with
white before the wlroots x11 backend got a chance to do anything. This
was e.g. visible when running rootston and resizing the window: When the
window becomes larger, the new area is filled with black.
By just not setting a back pixel value, this commit gets rid of this
behaviour.
Signed-off-by: Uli Schlachter <psychon@znc.in>
7 years ago
Uli Schlachter
98f8ec6a08
x11_handle_input_event: Remove return value
...
handle_x11_event() and x11_handle_input_event() react to different kinds
of events, so it does not make much of a difference if
x11_handle_input_event() signals if it handled an event or not.
Signed-off-by: Uli Schlachter <psychon@znc.in>
7 years ago
Uli Schlachter
3728abd1fc
handle_x11_event: Remove return value
...
This function always returns "false", so its return type can simply be
changed to void.
Signed-off-by: Uli Schlachter <psychon@znc.in>
7 years ago
Drew DeVault
63763d3279
Merge pull request #862 from emersion/renderer-scissor-upside-down
...
Make wlr_renderer_scissor take normal coords instead of upside-down ones
7 years ago
emersion
bcf5da5cd7
Merge pull request #866 from emersion/xwayland-unmapped-on-create
...
xwayland: emit new_surface when unmapped
7 years ago
emersion
fa02e30adf
xwayland: emit new_surface when unmapped
7 years ago
Drew DeVault
7433d2f1de
Merge pull request #864 from martinetd/wl_scanner_code
...
Use 'private-code' for wayland-scanner code generation
7 years ago
Drew DeVault
4dbf7f8b88
Merge pull request #865 from martinetd/str_truncation
...
Fix gcc string truncation warnings
7 years ago
Drew DeVault
65903d2677
Merge pull request #857 from emersion/shell-always-unmap
...
Always unmap before destroying surface
7 years ago
Dominique Martinet
cd66d4732f
Use 'private-code' for wayland-scanner code generation
...
They deprecated 'code' for 'public-code', but suggest using 'private-code'...
7 years ago
Dominique Martinet
555206cf60
Fix gcc string truncation warnings
7 years ago
Drew DeVault
99b92b4104
Update README.md
7 years ago
Drew DeVault
26b993749d
Update README.md
7 years ago
Drew DeVault
bc0dc93e02
Update LICENSE year (MIT license)
7 years ago
emersion
1b802d9251
Make wlr_renderer_scissor take normal coords instead of upside-down ones
7 years ago
Drew DeVault
8f4039d799
Merge pull request #861 from emersion/fix-output-transform-compose
...
Fix wlr_output_transform_compose
7 years ago
emersion
31c8bdc277
Fix wlr_output_transform_compose
7 years ago
Drew DeVault
5c2d923718
Merge pull request #860 from emersion/fix-xdg-popup-at
...
Fix wlr_xdg_surface_surface_at for popups
7 years ago
emersion
fa0be972bb
Fix wlr_xdg_surface_surface_at for popups
7 years ago
emersion
8dec7036d0
Always unmap before destroying surface
7 years ago
Drew DeVault
7efd9885b6
Merge pull request #853 from emersion/xwayland-client-timeout
...
Add wlr_xwayland_surface_ping
7 years ago
emersion
17d0440b75
Add wlr_xwayland_surface_ping
7 years ago
Drew DeVault
902d859c67
Fix syntax errors
...
Build before you commit, dumbass
7 years ago
Drew DeVault
7bb8512afb
Fix assertions with side-effects
...
Fixes #1725
7 years ago
Drew DeVault
cedd151e17
Merge pull request #851 from emersion/xwayland-window-type-menu
...
xwayland: add _NET_WM_WINDOW_TYPE_MENU support
7 years ago
emersion
c55ad11d96
xwayland: add _NET_WM_WINDOW_TYPE_MENU support
7 years ago
Drew DeVault
bef5c1fd56
Merge pull request #850 from emersion/remove-backend-egl
...
backend: remove wlr_backend_get_egl
7 years ago
emersion
d2ebbd103c
backend: remove wlr_backend_get_egl
7 years ago
Drew DeVault
5f48c7fddd
Merge pull request #847 from bpinto/bugfix/compilation-without-xwayland-support
...
rootston: fix compilation without XWayland support
7 years ago
Bruno
ba5c0903f9
rootston: fix compilation without XWayland support
7 years ago
Drew DeVault
bf68854a38
Fix destruction of popups without grabs
...
Fixes #846
7 years ago
Drew DeVault
f4125220a5
Merge pull request #843 from emersion/fix-xwayland-unmap-signal
...
Emit xwayland unmap signal before unmapping
7 years ago
emersion
8b07a4d055
Emit xwayland unmap signal before unmapping
...
This allows compositors to access the surface being unmapped. This
is also more consistent with the destroy signal.
7 years ago
Drew DeVault
ae4cef9e41
Merge pull request #825 from emersion/surface-iterators
...
Add surface iterators
7 years ago
Drew DeVault
87eb10c849
Merge pull request #842 from emersion/custom-mode-invalid-refresh
...
backend/{x11,headless}: use default if supplied refresh is invalid
7 years ago
emersion
03563b61a8
backend/{x11,headless}: use default if supplied refresh is invalid
7 years ago
emersion
ce09537a9a
Merge pull request #840 from swaywm/xdg-output-updates
...
Fix sending updates to xdg-output resources
7 years ago
Drew DeVault
ec0ce8ae1c
Fix sending updates to xdg-output resources
...
Fixes #836
7 years ago
Drew DeVault
89138e5fb8
Merge pull request #760 from emersion/xwayland-dnd
...
xwayland: add drag'n'drop support
7 years ago
Drew DeVault
6710de9878
Merge branch 'master' into xwayland-dnd
7 years ago
emersion
285cf12e37
Remove rootston surface iterator
7 years ago
emersion
4a9a9eae9a
Add surface iterators
7 years ago
emersion
19b576734e
Merge pull request #834 from emersion/surface-is-subsurface
...
Add wlr_surface_is_subsurface and wlr_subsurface_from_surface
7 years ago
emersion
aced024819
Add wlr_surface_is_subsurface and wlr_subsurface_from_surface
7 years ago
Drew DeVault
da73b4f60b
Merge pull request #830 from swaywm/xdg-output
...
Add wlr_xdg_output_manager
7 years ago
emersion
b6482bacf4
Merge pull request #832 from turlando/fix/rootston-uninitialized-variable
...
Initialize rootston _surface
7 years ago
Tancredi Orlando
74a4b1702b
Initialize rootston _surface
7 years ago
Drew DeVault
abfe7923c4
Add wlr_xdg_output_manager
7 years ago
emersion
c168665043
Merge pull request #828 from Timidger/wlr_output_layout_data
...
Added userdata to wlr_output_layout
7 years ago