Permalink
Browse files

one-seat-desktop: memory mappings: prefer "active" label over "media"…

… if a process is tagged with both
  • Loading branch information...
1 parent daa58ff commit 5131e5eede593621268b2d826a3a4af6d1b0d722 @gajdusek gajdusek committed Jan 13, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 conf/scheduler/20-one-seat-desktop.lua
@@ -328,11 +328,6 @@ SCHEDULER_MAPPING_ONE_SEAT_DESKTOP["memory"] =
label = { "user.bg_high" },
},
{
- name = "media",
- param = { ["?memory.swappiness"] = "40" },
- label = { "user.media" },
- },
- {
name = "ui",
param = { ["?memory.swappiness"] = "10" },
label = { "user.ui" }
@@ -351,6 +346,11 @@ SCHEDULER_MAPPING_ONE_SEAT_DESKTOP["memory"] =
end
},
{
+ name = "media",
+ param = { ["?memory.swappiness"] = "40" },
+ label = { "user.media" },
+ },
+ {
name = "idle",
param = { ["?memory.swappiness"] = "100" },
label = { "user.idle", "daemon.idle" },

0 comments on commit 5131e5e

Please sign in to comment.