X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e5804ce70a3fce7ca0234855bb496adb819c8bb5..ba8eb933c4dfce54d2f540c6895b04f6724f401f:/src/unix/displayx11.cpp?ds=sidebyside diff --git a/src/unix/displayx11.cpp b/src/unix/displayx11.cpp index 93e52b192d..08cf56f9f0 100644 --- a/src/unix/displayx11.cpp +++ b/src/unix/displayx11.cpp @@ -119,6 +119,7 @@ wxDisplay::wxDisplay(size_t index) : wxDisplayBase ( index ), m_priv( new wxDisp XineramaScreenInfo *screenarr; int numscreens; screenarr = XineramaQueryScreens(disp, &numscreens); + m_priv->m_rect = wxRect(screenarr[index].x_org, screenarr[index].y_org, screenarr[index].width, screenarr[index].height); m_priv->m_depth = DefaultDepth(disp, DefaultScreen(disp));