I'm trying to figure out if an application that is running is running fullscreen.
By querying the application with xwininfo I get this
This doesn't give me much to go by as my current resolution is 1024x768. Please note that even though this is a fullscreen app running at 800x600 - xdpyinfo and xrandr both report the screen res at 1024x768Code:xwininfo: Window id: 0x300000e "PlanetPenguin Racer 0.3.1" Absolute upper-left X: 6 Absolute upper-left Y: 48 Relative upper-left X: 6 Relative upper-left Y: 25 Width: 800 Height: 600 Depth: 24 Visual Class: DirectColor Border width: 0 Class: InputOutput Colormap: 0x300000c (installed) Bit Gravity State: ForgetGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +6+48 -218+48 -218-120 +6-120 -geometry 800x600+0+23
I then run xprop on the same app:
So from what I can see all I get from this is that it has focus, but what I don't get is any indication that it is fullscreen...ieCode:WM_ICON_NAME(UTF8_STRING) = "PlanetPenguin Racer 0.3.1" WM_NAME(UTF8_STRING) = "PlanetPenguin Racer 0.3.1" _NET_WM_ICON_GEOMETRY(CARDINAL) = 555, 741, 26, 27 XKLAVIER_STATE(INTEGER) = 0, 3 _NET_WM_STATE(ATOM) = WM_STATE(WM_STATE): window state: Normal icon window: 0x0 _NET_FRAME_EXTENTS(CARDINAL) = 6, 6, 25, 6 _NET_WM_DESKTOP(CARDINAL) = 0 _NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE WM_NORMAL_HINTS(WM_SIZE_HINTS): user specified location: 0, 0 program specified minimum size: 800 by 600 program specified maximum size: 800 by 600 WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW WM_CLASS(STRING) = "SDL_App", "SDL_App" WM_HINTS(WM_HINTS): Client accepts input or input focus: True
Can anybody help me with this task? Perhaps you know what some of these other info's are and they mean it is fullscreen.
Thanks in advance.