Skip to content
  • Roman Gilg's avatar
    fix(kwayland): move blocking tablet init before timer start · 13b631ea
    Roman Gilg authored
    Summary:
    On init of the tablet mode the d-bus connection to KWin for receiving tablet
    mode information is blocking for some reason for over one second. This leads
    to the single shot timer timing out before the Wayland interfaces can be
    received.
    
    For now move the blocking call before the timer is started such that we do
    not fail anymore.
    
    Note that the d-bus call is only blocking unusual long on session startup.
    Later d-bus calls return without prolonged delay.
    
    Test Plan: Starts without seg fault on output management object in applyConfig.
    
    Reviewers: #plasma, davidedmundson
    
    Reviewed By: #plasma, davidedmundson
    
    Subscribers: plasma-devel
    
    Tags: #plasma
    
    Differential Revision: https://phabricator.kde.org/D26658
    13b631ea