mirror of
https://github.com/swaywm/sway.git
synced 2026-03-21 05:33:56 -04:00
commit dirty transactions upon window attribute changes
This commit is contained in:
parent
842ea06773
commit
897e7688bb
2 changed files with 7 additions and 0 deletions
|
|
@ -354,6 +354,7 @@ static void handle_set_title(struct wl_listener *listener, void *data) {
|
||||||
struct sway_view *view = &xdg_shell_view->view;
|
struct sway_view *view = &xdg_shell_view->view;
|
||||||
view_update_title(view, false);
|
view_update_title(view, false);
|
||||||
view_execute_criteria(view);
|
view_execute_criteria(view);
|
||||||
|
transaction_commit_dirty();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void handle_set_app_id(struct wl_listener *listener, void *data) {
|
static void handle_set_app_id(struct wl_listener *listener, void *data) {
|
||||||
|
|
@ -362,6 +363,7 @@ static void handle_set_app_id(struct wl_listener *listener, void *data) {
|
||||||
struct sway_view *view = &xdg_shell_view->view;
|
struct sway_view *view = &xdg_shell_view->view;
|
||||||
view_update_app_id(view);
|
view_update_app_id(view);
|
||||||
view_execute_criteria(view);
|
view_execute_criteria(view);
|
||||||
|
transaction_commit_dirty();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void handle_new_popup(struct wl_listener *listener, void *data) {
|
static void handle_new_popup(struct wl_listener *listener, void *data) {
|
||||||
|
|
@ -594,4 +596,5 @@ void xdg_toplevel_tag_manager_v1_handle_set_tag(struct wl_listener *listener, vo
|
||||||
free(xdg_shell_view->tag);
|
free(xdg_shell_view->tag);
|
||||||
xdg_shell_view->tag = strdup(event->tag);
|
xdg_shell_view->tag = strdup(event->tag);
|
||||||
view_execute_criteria(view);
|
view_execute_criteria(view);
|
||||||
|
transaction_commit_dirty();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -689,6 +689,7 @@ static void handle_set_title(struct wl_listener *listener, void *data) {
|
||||||
}
|
}
|
||||||
view_update_title(view, false);
|
view_update_title(view, false);
|
||||||
view_execute_criteria(view);
|
view_execute_criteria(view);
|
||||||
|
transaction_commit_dirty();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void handle_set_class(struct wl_listener *listener, void *data) {
|
static void handle_set_class(struct wl_listener *listener, void *data) {
|
||||||
|
|
@ -700,6 +701,7 @@ static void handle_set_class(struct wl_listener *listener, void *data) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
view_execute_criteria(view);
|
view_execute_criteria(view);
|
||||||
|
transaction_commit_dirty();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void handle_set_role(struct wl_listener *listener, void *data) {
|
static void handle_set_role(struct wl_listener *listener, void *data) {
|
||||||
|
|
@ -711,6 +713,7 @@ static void handle_set_role(struct wl_listener *listener, void *data) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
view_execute_criteria(view);
|
view_execute_criteria(view);
|
||||||
|
transaction_commit_dirty();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void handle_set_startup_id(struct wl_listener *listener, void *data) {
|
static void handle_set_startup_id(struct wl_listener *listener, void *data) {
|
||||||
|
|
@ -747,6 +750,7 @@ static void handle_set_window_type(struct wl_listener *listener, void *data) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
view_execute_criteria(view);
|
view_execute_criteria(view);
|
||||||
|
transaction_commit_dirty();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void handle_set_hints(struct wl_listener *listener, void *data) {
|
static void handle_set_hints(struct wl_listener *listener, void *data) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue