Skip to content
  • Carlos Garnacho's avatar
    gdk: Fix toplevel calculation on pointer grab switch · 9564cba4
    Carlos Garnacho authored
    This check used to read if (grab || device_type != GDK_DEVICE_TYPE_PHYSICAL),
    the grab check was only reserved to physical devices, which the current
    pointer device definitely doesn't act like. So the condition was "fixed" the
    wrong way around, and the latter check is now moot, so the condition should
    really go away. We always want to check the new toplevel under the pointer
    here.
    
    Fixes: #2970
    9564cba4