Skip to content
  • Ismael Asensio's avatar
    kwinrules: Improvements on Detect Properties button · bf7e7b21
    Ismael Asensio authored
    Slight UX and code improvents:
    
    - Disable the detection button when property sheet is open.
    
    - Add a minimum limit (smallDuration) to the delay before detecting
    a window. Otherwise we freeze the window before even showing the
    button release feedback, which can feel unexpected
    
    - Prefer Q_INVOKABLE over public slot to expose method to QML
    bf7e7b21