Skip to content

Commit

Permalink
Revert "Force taskbar on XineramaPrimaryScreen" 617b375.
Browse files Browse the repository at this point in the history
  • Loading branch information
gijsbers committed Feb 3, 2024
1 parent 617b375 commit a0c887c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/wmtaskbar.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a0c887c

Please sign in to comment.