• Marco Trevisan's avatar
    tests: Add take_focus command to runner and client · 32940c0e
    Marco Trevisan authored
    Allow to set/unset WM_TAKE_FOCUS from client window.
    This is added by default by gtk, but this might not happen in other toolkits,
    so add an ability to (un)set this.
    
    So fetch the protocols with XGetWMProtocols and unset the atom.
    
    test-client now needs to depend on Xlib directly in meson build.
    
    GNOME/mutter!307
    32940c0e
meson.build 3.21 KB