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 1024x768
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
Visual Class: DirectColor
Border width: 0
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
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...ie
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
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
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"
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.