doesn’t work? I tried it here and the SDL window becomes fullscreen, with a small margin and the mplayer window inside, with the same margin as before.If you want to make MPlayer window fullscreen (without the margin), probably you’ll have to use XMoveResizeWindow, with x and y being 0 and width and height being the SDL window size, which you can get with XGetWindowAttributes.You can use XGetWindowAttributes + XMoveResizeWindow to do great things, like moving or resizing the player window inside SDL. |