<table><tr><td style="">jacopods added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D13178">View Revision</a></tr></table><br /><div><div><p>Short story: It just feels more right to me to compress several configuration calls in one, although it does not give an advantage in terms of speed or anything.</p>

<p>Long story:</p>

<p>In fact, I have been experimenting a bit with the daemon.  One of the things that I experimented with was to let it execute a script to fix some corner cases (xkbcomp +xcape users).  In case the configuration bit is run several times simultaneously we can get into some race conditions, so I figured that one needs to compress the calls. <br />
Since I don't see why one wouldn't want to compress the calls even without the scripting  (what is the point of running xmodmap 5 times in a row with the same parameters?) I have proposed this patch. I don't think it adds too much complexity and it feels cleaner.</p></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D13178">https://phabricator.kde.org/D13178</a></div></div><br /><div><strong>To: </strong>jacopods, Plasma (Plasma 5.13), hein, broulik, drosca<br /><strong>Cc: </strong>plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>