So obviously this is a known bug and literally every panel-like application is affected. It also seems there is no good solution so far apart from the aforementioned workaround of switching away from xinput2 via the environment variable.
** Bug watch added: freedesktop.org Bugzilla #92681 https://bugs.freedesktop.org/show_bug.cgi?id=92681 ** Also affects: greybird-gtk-theme via https://bugs.freedesktop.org/show_bug.cgi?id=92681 Importance: Unknown Status: Unknown ** Project changed: greybird-gtk-theme => xorg-server ** Package changed: greybird-gtk-theme (Ubuntu) => xorg-server (Ubuntu) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1795135 Title: Window buttons are not clickable at the top of the screen Status in X.Org X server: Unknown Status in xorg-server package in Ubuntu: Confirmed Bug description: This bug affects greybird-gtk-theme and xfce4-panel in Xubuntu Cosmic. With Cosmic, it is not possible to click on the window buttons after moving the mouse cursor to the top of the screen. Unlike similar bugs, no amount of moving left or right triggers the hover event or the ability to click on the window button. With Adwaita and Numix, we see the same issues we see elsewhere, where the buttons can sometimes be clicked, but also have issue with the topmost part of the screen. ProblemType: Bug DistroRelease: Ubuntu 18.10 Package: greybird-gtk-theme 3.22.9-0ubuntu1 ProcVersionSignature: Ubuntu 4.18.0-7.8-generic 4.18.5 Uname: Linux 4.18.0-7-generic x86_64 ApportVersion: 2.20.10-0ubuntu11 Architecture: amd64 CurrentDesktop: XFCE Date: Sat Sep 29 09:05:24 2018 InstallationDate: Installed on 2018-09-29 (0 days ago) InstallationMedia: Xubuntu 18.10 "Cosmic Cuttlefish" - Beta amd64 (20180929) PackageArchitecture: all SourcePackage: greybird-gtk-theme UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1795135/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp