Skip to content
  • Roman Gilg's avatar
    [server] Cache current mode · 77730f7f
    Roman Gilg authored
    Summary:
    Instead of looping over all modes for retrieving current mode data copy it
    to a separate variable.
    
    Test Plan:
    KWin auto tests pass and KScreen in Wayland nested session shows correct
    information.
    
    Reviewers: #kwin, davidedmundson
    
    Reviewed By: #kwin, davidedmundson
    
    Subscribers: davidedmundson, kde-frameworks-devel
    
    Tags: #frameworks
    
    Maniphest Tasks: T11459
    
    Differential Revision: https://phabricator.kde.org/D23493
    77730f7f