From a0c887c7cc85dd278de13159b9b71aebf750017c Mon Sep 17 00:00:00 2001 From: Bert Gijsbers Date: Sat, 3 Feb 2024 22:06:07 +0100 Subject: [PATCH] Revert "Force taskbar on XineramaPrimaryScreen" 617b375b79b54602f0848ceff6a654dc7c5b0204. --- src/wmtaskbar.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/wmtaskbar.cc b/src/wmtaskbar.cc index 9199d418f..5d9f004ef 100644 --- a/src/wmtaskbar.cc +++ b/src/wmtaskbar.cc @@ -692,10 +692,7 @@ void TaskBar::updateLocation() { int dx, dy; unsigned dw, dh; - int screen = - inrange(xineramaPrimaryScreen, 0, desktop->getScreenCount() - 1) - ? xineramaPrimaryScreen : -1; - desktop->getScreenGeometry(&dx, &dy, &dw, &dh, screen); + desktop->getScreenGeometry(&dx, &dy, &dw, &dh, -1); int x = dx; unsigned int w = 0;