mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 05:48:01 +01:00
fixed wmaker failing to compile with gnome support enabled after the xinerama add
This commit is contained in:
@@ -879,7 +879,8 @@ wScreenUpdateUsableArea(WScreen *scr)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef GNOME_STUFF
|
#ifdef GNOME_STUFF
|
||||||
area = scr->reservedAreas;
|
{
|
||||||
|
WReservedArea *area = scr->reservedAreas;
|
||||||
|
|
||||||
while (area) {
|
while (area) {
|
||||||
int th, bh;
|
int th, bh;
|
||||||
@@ -920,6 +921,7 @@ wScreenUpdateUsableArea(WScreen *scr)
|
|||||||
|
|
||||||
area = area->next;
|
area = area->next;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif /* GNOME_STUFF */
|
#endif /* GNOME_STUFF */
|
||||||
|
|
||||||
if (scr->totalUsableArea.x2 - scr->totalUsableArea.x1 < scr->scr_width/2) {
|
if (scr->totalUsableArea.x2 - scr->totalUsableArea.x1 < scr->scr_width/2) {
|
||||||
|
|||||||
Reference in New Issue
Block a user