aboutsummaryrefslogtreecommitdiff
path: root/include/ipc-client.h
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2024-08-19 13:02:55 +0200
committerAlexander Orzechowski <alex@ozal.ski>2024-08-19 12:03:48 -0400
commitf9c0f043e5ec39574c9d9b0fb3dece6169a0e67d (patch)
tree5b3dec18e113f59297f5cc0bd676c386fa55ae1b /include/ipc-client.h
parentae7c1b139a3c71d3e11fe2477d8b21c36de6770e (diff)
config/output: Skip search if config has a mode
When doing an output configuration search, the intent is to only look for modes if the output's configuration does not contain a specific mode. This was done by testing if config_has_auto_mode returned false. config_has_auto_mode had its return values backwards, leading to other modes being tested if the output configuration had specified modes or modelines, leading to unwanted modes being selected. Invert the function to config_has_manual_mode to give it a clearer name, and fix the return values in the process.
Diffstat (limited to 'include/ipc-client.h')
0 files changed, 0 insertions, 0 deletions