Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-04-15 | x11 backend: Expose events mean "needs swap" | Uli Schlachter | |
When the X11 server sends an expose event, that means that "this rectangle here (the event contains x,y,width,height) has undefined contents on your window; please redraw that". This means that we need a swap. However, so far the code does not actually enforce that a swap happens. For example, start rootston, switch to another workspace and then switch back. The rootston window will not be redrawn (before commit 52b058c2a31fb, it would just be fully white; after that commit it will show whatever was visible on the old workspace). This is because the drawing code concludes that nothing needs to be done. However, in fact a swap is necessary. This reverts commit e79d92458852373, because its optimisation is already done now: wlr_output_update_needs_swap() emits a signal, which is handled by wlr_output_damage with a call to wlr_output_schedule_frame(). This function does nothing if a frame is already pending. Thus, the optimisation from commit e79d92458852373 now happens implicitly. Signed-off-by: Uli Schlachter <psychon@znc.in> | |||
2018-04-15 | Merge pull request #869 from psychon/x11-cleanups | emersion | |
Some changes to the x11 backend | |||
2018-04-15 | x11 backend: Ignore expose if frame is pending | Uli Schlachter | |
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> | |||
2018-04-15 | x11 backend: Do not set a back pixel on windows | Uli Schlachter | |
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> | |||
2018-04-15 | x11_handle_input_event: Remove return value | Uli Schlachter | |
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> | |||
2018-04-15 | handle_x11_event: Remove return value | Uli Schlachter | |
This function always returns "false", so its return type can simply be changed to void. Signed-off-by: Uli Schlachter <psychon@znc.in> | |||
2018-04-13 | Merge pull request #862 from emersion/renderer-scissor-upside-down | Drew DeVault | |
Make wlr_renderer_scissor take normal coords instead of upside-down ones | |||
2018-04-13 | Merge pull request #866 from emersion/xwayland-unmapped-on-create | emersion | |
xwayland: emit new_surface when unmapped | |||
2018-04-13 | xwayland: emit new_surface when unmapped | emersion | |
2018-04-13 | Merge pull request #864 from martinetd/wl_scanner_code | Drew DeVault | |
Use 'private-code' for wayland-scanner code generation | |||
2018-04-13 | Merge pull request #865 from martinetd/str_truncation | Drew DeVault | |
Fix gcc string truncation warnings | |||
2018-04-13 | Merge pull request #857 from emersion/shell-always-unmap | Drew DeVault | |
Always unmap before destroying surface | |||
2018-04-13 | Use 'private-code' for wayland-scanner code generation | Dominique Martinet | |
They deprecated 'code' for 'public-code', but suggest using 'private-code'... | |||
2018-04-13 | Fix gcc string truncation warnings | Dominique Martinet | |
2018-04-12 | Update README.md | Drew DeVault | |
2018-04-12 | Update README.md | Drew DeVault | |
2018-04-12 | Update LICENSE year (MIT license) | Drew DeVault | |
2018-04-12 | Make wlr_renderer_scissor take normal coords instead of upside-down ones | emersion | |
2018-04-12 | Merge pull request #861 from emersion/fix-output-transform-compose | Drew DeVault | |
Fix wlr_output_transform_compose | |||
2018-04-12 | Fix wlr_output_transform_compose | emersion | |
2018-04-12 | Merge pull request #860 from emersion/fix-xdg-popup-at | Drew DeVault | |
Fix wlr_xdg_surface_surface_at for popups | |||
2018-04-12 | Fix wlr_xdg_surface_surface_at for popups | emersion | |
2018-04-11 | Always unmap before destroying surface | emersion | |
2018-04-08 | Merge pull request #853 from emersion/xwayland-client-timeout | Drew DeVault | |
Add wlr_xwayland_surface_ping | |||
2018-04-08 | Add wlr_xwayland_surface_ping | emersion | |
2018-04-08 | Fix syntax errors | Drew DeVault | |
Build before you commit, dumbass | |||
2018-04-08 | Fix assertions with side-effects | Drew DeVault | |
Fixes #1725 | |||
2018-04-08 | Merge pull request #851 from emersion/xwayland-window-type-menu | Drew DeVault | |
xwayland: add _NET_WM_WINDOW_TYPE_MENU support | |||
2018-04-08 | xwayland: add _NET_WM_WINDOW_TYPE_MENU support | emersion | |
2018-04-08 | Merge pull request #850 from emersion/remove-backend-egl | Drew DeVault | |
backend: remove wlr_backend_get_egl | |||
2018-04-08 | backend: remove wlr_backend_get_egl | emersion | |
2018-04-07 | Merge pull request #847 from bpinto/bugfix/compilation-without-xwayland-support | Drew DeVault | |
rootston: fix compilation without XWayland support | |||
2018-04-07 | rootston: fix compilation without XWayland support | Bruno | |
2018-04-07 | Fix destruction of popups without grabs | Drew DeVault | |
Fixes #846 | |||
2018-04-07 | Merge pull request #843 from emersion/fix-xwayland-unmap-signal | Drew DeVault | |
Emit xwayland unmap signal before unmapping | |||
2018-04-06 | Emit xwayland unmap signal before unmapping | emersion | |
This allows compositors to access the surface being unmapped. This is also more consistent with the destroy signal. | |||
2018-04-05 | Merge pull request #825 from emersion/surface-iterators | Drew DeVault | |
Add surface iterators | |||
2018-04-05 | Merge pull request #842 from emersion/custom-mode-invalid-refresh | Drew DeVault | |
backend/{x11,headless}: use default if supplied refresh is invalid | |||
2018-04-05 | backend/{x11,headless}: use default if supplied refresh is invalid | emersion | |
2018-04-05 | Merge pull request #840 from swaywm/xdg-output-updates | emersion | |
Fix sending updates to xdg-output resources | |||
2018-04-05 | Fix sending updates to xdg-output resources | Drew DeVault | |
Fixes #836 | |||
2018-04-05 | Merge pull request #760 from emersion/xwayland-dnd | Drew DeVault | |
xwayland: add drag'n'drop support | |||
2018-04-05 | Merge branch 'master' into xwayland-dnd | Drew DeVault | |
2018-04-05 | Remove rootston surface iterator | emersion | |
2018-04-05 | Add surface iterators | emersion | |
2018-04-05 | Merge pull request #834 from emersion/surface-is-subsurface | emersion | |
Add wlr_surface_is_subsurface and wlr_subsurface_from_surface | |||
2018-04-05 | Add wlr_surface_is_subsurface and wlr_subsurface_from_surface | emersion | |
2018-04-05 | Merge pull request #830 from swaywm/xdg-output | Drew DeVault | |
Add wlr_xdg_output_manager | |||
2018-04-05 | Merge pull request #832 from turlando/fix/rootston-uninitialized-variable | emersion | |
Initialize rootston _surface | |||
2018-04-05 | Initialize rootston _surface | Tancredi Orlando | |