mirror of
https://github.com/swaywm/sway.git
synced 2026-04-23 06:46:27 -04:00
correct patch
This commit is contained in:
parent
66c93fc5af
commit
d2a4e37722
1 changed files with 9 additions and 0 deletions
|
|
@ -559,6 +559,7 @@ static void update_title_texture(struct sway_container *con,
|
|||
output->wlr_output->backend);
|
||||
*texture = wlr_texture_from_pixels(
|
||||
renderer, DRM_FORMAT_ARGB8888, stride, width, height, data);
|
||||
|
||||
cairo_surface_destroy(surface);
|
||||
g_object_unref(pango);
|
||||
cairo_destroy(cairo);
|
||||
|
|
@ -1036,6 +1037,14 @@ bool container_has_urgent_child(struct sway_container *container) {
|
|||
return container_find_child(container, find_urgent_iterator, NULL);
|
||||
}
|
||||
|
||||
static bool find_focused_iterator(struct sway_container *con, void *data) {
|
||||
return con->current.focused;
|
||||
}
|
||||
|
||||
bool container_has_focused_child(struct sway_container *container) {
|
||||
return container_find_child(container, find_focused_iterator, NULL);
|
||||
}
|
||||
|
||||
void container_end_mouse_operation(struct sway_container *container) {
|
||||
struct sway_seat *seat;
|
||||
wl_list_for_each(seat, &server.input->seats, link) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue