aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/surface.c
Commit message (Collapse)AuthorAge
* Make handle_destroy and output_repaint_timer_handler staticLibravatar Simon Ser2020-03-04
|
* desktop/surface: Fix crash when timer is NULLLibravatar Manuel Stoeckl2019-12-24
| | | | | | | | | | | | | When many surfaces are created, sway can run out of file descriptors, making wl_event_loop_add_timer (which creates a timerfd) fail and return NULL. This patch posts a "no memory" error when that is the case, and only removes the timer if it was created. (Why "no memory"? It is not easy to distinguish between failures due to running out of memory and failures due to running out of file descriptors. Also, using the newer `wl_client_post_implementation_error` function would lead to an increased version requirement for the libwayland-server dependency.)
* view: add max_render_timeLibravatar Ivan Molodetskikh2019-11-17
|
* Add sway_surfaceLibravatar Ivan Molodetskikh2019-11-17
For extending wlr_surface with additional things.