mirror of
https://github.com/swaywm/sway.git
synced 2026-04-02 07:15:50 -04:00
Update for swaywm/wlroots#1126
This commit is contained in:
parent
ebcdce457a
commit
63b4bf5000
85 changed files with 391 additions and 385 deletions
|
|
@ -9,7 +9,7 @@
|
|||
static void handle_destroy(struct wl_listener *listener, void *data) {
|
||||
struct sway_idle_inhibitor_v1 *inhibitor =
|
||||
wl_container_of(listener, inhibitor, destroy);
|
||||
wlr_log(L_DEBUG, "Sway idle inhibitor destroyed");
|
||||
wlr_log(WLR_DEBUG, "Sway idle inhibitor destroyed");
|
||||
wl_list_remove(&inhibitor->link);
|
||||
wl_list_remove(&inhibitor->destroy.link);
|
||||
idle_inhibit_v1_check_active(inhibitor->manager);
|
||||
|
|
@ -20,7 +20,7 @@ void handle_idle_inhibitor_v1(struct wl_listener *listener, void *data) {
|
|||
struct wlr_idle_inhibitor_v1 *wlr_inhibitor = data;
|
||||
struct sway_idle_inhibit_manager_v1 *manager =
|
||||
wl_container_of(listener, manager, new_idle_inhibitor_v1);
|
||||
wlr_log(L_DEBUG, "New sway idle inhibitor");
|
||||
wlr_log(WLR_DEBUG, "New sway idle inhibitor");
|
||||
|
||||
struct sway_idle_inhibitor_v1 *inhibitor =
|
||||
calloc(1, sizeof(struct sway_idle_inhibitor_v1));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue