Adjust screen height to allow for a task bar

This commit is contained in:
Ray Chason
2026-08-24 12:02:35 -04:00
committed by Ray Chason
parent a575fccf08
commit f3e0dc49b8
+1 -1
View File
@@ -2792,7 +2792,7 @@ init_standard_windows(void)
* Resize to at most full-screen.
*/
{
#define TITLEBAR_SPACE 18 /* Leave SOME screen for window decorations */
#define TITLEBAR_SPACE 100 /* Leave SOME screen for window decorations and task bar */
int screen_width = WidthOfScreen(XtScreen(wp->w));
int screen_height = HeightOfScreen(XtScreen(wp->w)) - TITLEBAR_SPACE;