mirror of
https://github.com/swaywm/sway.git
synced 2026-02-05 04:06:25 -05:00
commands/floating: commit changes
forces for_window floating enable to render immediately rather than on mouse click / keyboard focus. fixes #8711
This commit is contained in:
parent
60aa6aec0c
commit
554605bf99
1 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include "sway/commands.h"
|
||||
#include "sway/desktop/transaction.h"
|
||||
#include "sway/input/seat.h"
|
||||
#include "sway/ipc-server.h"
|
||||
#include "sway/output.h"
|
||||
|
|
@ -53,6 +54,7 @@ struct cmd_results *cmd_floating(int argc, char **argv) {
|
|||
// Floating containers in the scratchpad should be ignored
|
||||
if (container->pending.workspace) {
|
||||
arrange_workspace(container->pending.workspace);
|
||||
transaction_commit_dirty();
|
||||
}
|
||||
|
||||
return cmd_results_new(CMD_SUCCESS, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue