aboutsummaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-07-31 10:19:52 +0200
committerSimon Ser <contact@emersion.fr>2023-07-31 16:25:01 +0200
commitf8ddd97e0e5a72392e3dda34d03ef11c036d0234 (patch)
treee99f06abd9454c32948db11513ef31dad72d05c2 /sway/tree
parent170598d71b59b6cae767e20679369ac3250ef2e9 (diff)
output: drop current_mode
This is now unused.
Diffstat (limited to 'sway/tree')
-rw-r--r--sway/tree/output.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/tree/output.c b/sway/tree/output.c
index eccab2f7..0960f413 100644
--- a/sway/tree/output.c
+++ b/sway/tree/output.c
@@ -271,7 +271,6 @@ void output_disable(struct sway_output *output) {
list_del(root->outputs, index);
output->enabled = false;
- output->current_mode = NULL;
arrange_root();