{"payload":{"allShortcutsEnabled":false,"fileTree":{"src/video/x11":{"items":[{"name":"SDL_x11dyn.c","path":"src/video/x11/SDL_x11dyn.c","contentType":"file"},{"name":"SDL_x11dyn.h","path":"src/video/x11/SDL_x11dyn.h","contentType":"file"},{"name":"SDL_x11events.c","path":"src/video/x11/SDL_x11events.c","contentType":"file"},{"name":"SDL_x11events.h","path":"src/video/x11/SDL_x11events.h","contentType":"file"},{"name":"SDL_x11gamma.c","path":"src/video/x11/SDL_x11gamma.c","contentType":"file"},{"name":"SDL_x11gamma.h","path":"src/video/x11/SDL_x11gamma.h","contentType":"file"},{"name":"SDL_x11keyboard.c","path":"src/video/x11/SDL_x11keyboard.c","contentType":"file"},{"name":"SDL_x11keyboard.h","path":"src/video/x11/SDL_x11keyboard.h","contentType":"file"},{"name":"SDL_x11modes.c","path":"src/video/x11/SDL_x11modes.c","contentType":"file"},{"name":"SDL_x11modes.h","path":"src/video/x11/SDL_x11modes.h","contentType":"file"},{"name":"SDL_x11mouse.c","path":"src/video/x11/SDL_x11mouse.c","contentType":"file"},{"name":"SDL_x11mouse.h","path":"src/video/x11/SDL_x11mouse.h","contentType":"file"},{"name":"SDL_x11opengl.c","path":"src/video/x11/SDL_x11opengl.c","contentType":"file"},{"name":"SDL_x11opengl.h","path":"src/video/x11/SDL_x11opengl.h","contentType":"file"},{"name":"SDL_x11sym.h","path":"src/video/x11/SDL_x11sym.h","contentType":"file"},{"name":"SDL_x11video.c","path":"src/video/x11/SDL_x11video.c","contentType":"file"},{"name":"SDL_x11video.h","path":"src/video/x11/SDL_x11video.h","contentType":"file"},{"name":"SDL_x11window.c","path":"src/video/x11/SDL_x11window.c","contentType":"file"},{"name":"SDL_x11window.h","path":"src/video/x11/SDL_x11window.h","contentType":"file"},{"name":"imKStoUCS.c","path":"src/video/x11/imKStoUCS.c","contentType":"file"},{"name":"imKStoUCS.h","path":"src/video/x11/imKStoUCS.h","contentType":"file"}],"totalCount":21},"src/video":{"items":[{"name":"Xext","path":"src/video/Xext","contentType":"directory"},{"name":"ataricommon","path":"src/video/ataricommon","contentType":"directory"},{"name":"bwindow","path":"src/video/bwindow","contentType":"directory"},{"name":"cocoa","path":"src/video/cocoa","contentType":"directory"},{"name":"dc","path":"src/video/dc","contentType":"directory"},{"name":"directfb","path":"src/video/directfb","contentType":"directory"},{"name":"dummy","path":"src/video/dummy","contentType":"directory"},{"name":"fbcon","path":"src/video/fbcon","contentType":"directory"},{"name":"gapi","path":"src/video/gapi","contentType":"directory"},{"name":"gem","path":"src/video/gem","contentType":"directory"},{"name":"ipod","path":"src/video/ipod","contentType":"directory"},{"name":"nanox","path":"src/video/nanox","contentType":"directory"},{"name":"os2fslib","path":"src/video/os2fslib","contentType":"directory"},{"name":"photon","path":"src/video/photon","contentType":"directory"},{"name":"ps2gs","path":"src/video/ps2gs","contentType":"directory"},{"name":"riscos","path":"src/video/riscos","contentType":"directory"},{"name":"svga","path":"src/video/svga","contentType":"directory"},{"name":"vgl","path":"src/video/vgl","contentType":"directory"},{"name":"win32","path":"src/video/win32","contentType":"directory"},{"name":"wscons","path":"src/video/wscons","contentType":"directory"},{"name":"x11","path":"src/video/x11","contentType":"directory"},{"name":"xbios","path":"src/video/xbios","contentType":"directory"},{"name":"SDL_RLEaccel.c","path":"src/video/SDL_RLEaccel.c","contentType":"file"},{"name":"SDL_RLEaccel_c.h","path":"src/video/SDL_RLEaccel_c.h","contentType":"file"},{"name":"SDL_blit.c","path":"src/video/SDL_blit.c","contentType":"file"},{"name":"SDL_blit.h","path":"src/video/SDL_blit.h","contentType":"file"},{"name":"SDL_blit_0.c","path":"src/video/SDL_blit_0.c","contentType":"file"},{"name":"SDL_blit_1.c","path":"src/video/SDL_blit_1.c","contentType":"file"},{"name":"SDL_blit_A.c","path":"src/video/SDL_blit_A.c","contentType":"file"},{"name":"SDL_blit_N.c","path":"src/video/SDL_blit_N.c","contentType":"file"},{"name":"SDL_blit_auto.c","path":"src/video/SDL_blit_auto.c","contentType":"file"},{"name":"SDL_blit_auto.h","path":"src/video/SDL_blit_auto.h","contentType":"file"},{"name":"SDL_blit_copy.c","path":"src/video/SDL_blit_copy.c","contentType":"file"},{"name":"SDL_blit_copy.h","path":"src/video/SDL_blit_copy.h","contentType":"file"},{"name":"SDL_blit_slow.c","path":"src/video/SDL_blit_slow.c","contentType":"file"},{"name":"SDL_bmp.c","path":"src/video/SDL_bmp.c","contentType":"file"},{"name":"SDL_fill.c","path":"src/video/SDL_fill.c","contentType":"file"},{"name":"SDL_gamma.c","path":"src/video/SDL_gamma.c","contentType":"file"},{"name":"SDL_glfuncs.h","path":"src/video/SDL_glfuncs.h","contentType":"file"},{"name":"SDL_leaks.h","path":"src/video/SDL_leaks.h","contentType":"file"},{"name":"SDL_pixels.c","path":"src/video/SDL_pixels.c","contentType":"file"},{"name":"SDL_pixels_c.h","path":"src/video/SDL_pixels_c.h","contentType":"file"},{"name":"SDL_rect.c","path":"src/video/SDL_rect.c","contentType":"file"},{"name":"SDL_rect_c.h","path":"src/video/SDL_rect_c.h","contentType":"file"},{"name":"SDL_renderer_gl.c","path":"src/video/SDL_renderer_gl.c","contentType":"file"},{"name":"SDL_renderer_gl.h","path":"src/video/SDL_renderer_gl.h","contentType":"file"},{"name":"SDL_renderer_sw.c","path":"src/video/SDL_renderer_sw.c","contentType":"file"},{"name":"SDL_renderer_sw.h","path":"src/video/SDL_renderer_sw.h","contentType":"file"},{"name":"SDL_stretch.c","path":"src/video/SDL_stretch.c","contentType":"file"},{"name":"SDL_stretch_c.h","path":"src/video/SDL_stretch_c.h","contentType":"file"},{"name":"SDL_surface.c","path":"src/video/SDL_surface.c","contentType":"file"},{"name":"SDL_sysvideo.h","path":"src/video/SDL_sysvideo.h","contentType":"file"},{"name":"SDL_video.c","path":"src/video/SDL_video.c","contentType":"file"},{"name":"SDL_yuv_mmx.c","path":"src/video/SDL_yuv_mmx.c","contentType":"file"},{"name":"SDL_yuv_sw.c","path":"src/video/SDL_yuv_sw.c","contentType":"file"},{"name":"SDL_yuv_sw_c.h","path":"src/video/SDL_yuv_sw_c.h","contentType":"file"},{"name":"e_log.h","path":"src/video/e_log.h","contentType":"file"},{"name":"e_pow.h","path":"src/video/e_pow.h","contentType":"file"},{"name":"e_sqrt.h","path":"src/video/e_sqrt.h","contentType":"file"},{"name":"math_private.h","path":"src/video/math_private.h","contentType":"file"},{"name":"mmx.h","path":"src/video/mmx.h","contentType":"file"},{"name":"sdlgenblit.pl","path":"src/video/sdlgenblit.pl","contentType":"file"}],"totalCount":62},"src":{"items":[{"name":"audio","path":"src/audio","contentType":"directory"},{"name":"cdrom","path":"src/cdrom","contentType":"directory"},{"name":"cpuinfo","path":"src/cpuinfo","contentType":"directory"},{"name":"events","path":"src/events","contentType":"directory"},{"name":"file","path":"src/file","contentType":"directory"},{"name":"joystick","path":"src/joystick","contentType":"directory"},{"name":"loadso","path":"src/loadso","contentType":"directory"},{"name":"main","path":"src/main","contentType":"directory"},{"name":"stdlib","path":"src/stdlib","contentType":"directory"},{"name":"thread","path":"src/thread","contentType":"directory"},{"name":"timer","path":"src/timer","contentType":"directory"},{"name":"video","path":"src/video","contentType":"directory"},{"name":"SDL.c","path":"src/SDL.c","contentType":"file"},{"name":"SDL_compat.c","path":"src/SDL_compat.c","contentType":"file"},{"name":"SDL_error.c","path":"src/SDL_error.c","contentType":"file"},{"name":"SDL_error_c.h","path":"src/SDL_error_c.h","contentType":"file"},{"name":"SDL_fatal.c","path":"src/SDL_fatal.c","contentType":"file"},{"name":"SDL_fatal.h","path":"src/SDL_fatal.h","contentType":"file"}],"totalCount":18},"":{"items":[{"name":"VisualC","path":"VisualC","contentType":"directory"},{"name":"VisualCE","path":"VisualCE","contentType":"directory"},{"name":"Xcode","path":"Xcode","contentType":"directory"},{"name":"build-scripts","path":"build-scripts","contentType":"directory"},{"name":"docs","path":"docs","contentType":"directory"},{"name":"include","path":"include","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":".indent.pro","path":".indent.pro","contentType":"file"},{"name":"BUGS","path":"BUGS","contentType":"file"},{"name":"Borland.html","path":"Borland.html","contentType":"file"},{"name":"Borland.zip","path":"Borland.zip","contentType":"file"},{"name":"COPYING","path":"COPYING","contentType":"file"},{"name":"CREDITS","path":"CREDITS","contentType":"file"},{"name":"INSTALL","path":"INSTALL","contentType":"file"},{"name":"Makefile.dc","path":"Makefile.dc","contentType":"file"},{"name":"Makefile.in","path":"Makefile.in","contentType":"file"},{"name":"Makefile.minimal","path":"Makefile.minimal","contentType":"file"},{"name":"NOTES","path":"NOTES","contentType":"file"},{"name":"README","path":"README","contentType":"file"},{"name":"README-SDL.txt","path":"README-SDL.txt","contentType":"file"},{"name":"README.BeOS","path":"README.BeOS","contentType":"file"},{"name":"README.CVS","path":"README.CVS","contentType":"file"},{"name":"README.DC","path":"README.DC","contentType":"file"},{"name":"README.DirectFB","path":"README.DirectFB","contentType":"file"},{"name":"README.MacOSX","path":"README.MacOSX","contentType":"file"},{"name":"README.MiNT","path":"README.MiNT","contentType":"file"},{"name":"README.NanoX","path":"README.NanoX","contentType":"file"},{"name":"README.OS2","path":"README.OS2","contentType":"file"},{"name":"README.Porting","path":"README.Porting","contentType":"file"},{"name":"README.QNX","path":"README.QNX","contentType":"file"},{"name":"README.RISCOS","path":"README.RISCOS","contentType":"file"},{"name":"README.SVN","path":"README.SVN","contentType":"file"},{"name":"README.Watcom","path":"README.Watcom","contentType":"file"},{"name":"README.WinCE","path":"README.WinCE","contentType":"file"},{"name":"README.wscons","path":"README.wscons","contentType":"file"},{"name":"SDL.qpg.in","path":"SDL.qpg.in","contentType":"file"},{"name":"SDL.spec.in","path":"SDL.spec.in","contentType":"file"},{"name":"TODO","path":"TODO","contentType":"file"},{"name":"UNDER_CONSTRUCTION.txt","path":"UNDER_CONSTRUCTION.txt","contentType":"file"},{"name":"VisualC.html","path":"VisualC.html","contentType":"file"},{"name":"Watcom-OS2.zip","path":"Watcom-OS2.zip","contentType":"file"},{"name":"Watcom-Win32.zip","path":"Watcom-Win32.zip","contentType":"file"},{"name":"WhatsNew","path":"WhatsNew","contentType":"file"},{"name":"acinclude.m4","path":"acinclude.m4","contentType":"file"},{"name":"autogen.sh","path":"autogen.sh","contentType":"file"},{"name":"configure.in","path":"configure.in","contentType":"file"},{"name":"docs.html","path":"docs.html","contentType":"file"},{"name":"sdl-config.in","path":"sdl-config.in","contentType":"file"},{"name":"sdl.m4","path":"sdl.m4","contentType":"file"},{"name":"sdl.pc.in","path":"sdl.pc.in","contentType":"file"}],"totalCount":51}},"fileTreeProcessingTime":25.453973,"foldersToFetch":[],"repo":{"id":337752652,"defaultBranch":"main","name":"SDL-historical-archive","ownerLogin":"libsdl-org","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-02-10T14:40:23.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/77683370?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"49fd00c84f1ed0c7b8451a07769e7c9ab6fa3310","listCacheKey":"v0:1612970265.696589","canEdit":false,"refType":"tree","currentOid":"49fd00c84f1ed0c7b8451a07769e7c9ab6fa3310"},"path":"src/video/x11/SDL_x11modes.c","currentUser":null,"blob":{"rawLines":["/*"," SDL - Simple DirectMedia Layer"," Copyright (C) 1997-2006 Sam Lantinga",""," This library is free software; you can redistribute it and/or"," modify it under the terms of the GNU Lesser General Public"," License as published by the Free Software Foundation; either"," version 2.1 of the License, or (at your option) any later version.",""," This library is distributed in the hope that it will be useful,"," but WITHOUT ANY WARRANTY; without even the implied warranty of"," MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU"," Lesser General Public License for more details.",""," You should have received a copy of the GNU Lesser General Public"," License along with this library; if not, write to the Free Software"," Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA",""," Sam Lantinga"," slouken@libsdl.org","*/","#include \"SDL_config.h\"","","#include \"SDL_x11video.h\"","","","static int","get_visualinfo(Display * display, int screen, XVisualInfo * vinfo)","{"," const char *visual_id = SDL_getenv(\"SDL_VIDEO_X11_VISUALID\");"," int use_directcolor = 1;"," int depth;",""," /* Look for an exact visual, if requested */"," if (visual_id) {"," XVisualInfo *vi, template;"," int nvis;",""," SDL_zero(template);"," template.visualid = SDL_strtol(visual_id, NULL, 0);"," vi = XGetVisualInfo(display, VisualIDMask, &template, &nvis);"," if (vi) {"," *vinfo = *vi;"," XFree(vi);"," return 0;"," }"," }",""," depth = DefaultDepth(display, screen);"," if ((use_directcolor &&"," XMatchVisualInfo(display, screen, depth, DirectColor, vinfo)) ||"," XMatchVisualInfo(display, screen, depth, TrueColor, vinfo) ||"," XMatchVisualInfo(display, screen, depth, PseudoColor, vinfo) ||"," XMatchVisualInfo(display, screen, depth, StaticColor, vinfo)) {"," return 0;"," }"," return -1;","}","","void","X11_InitModes(_THIS)","{"," SDL_VideoData *data = (SDL_VideoData *) _this->driverdata;"," int screen;"," int n;"," XPixmapFormatValues *p;",""," p = XListPixmapFormats(data->display, &n);"," for (screen = 0; screen < ScreenCount(data->display); ++screen) {"," XVisualInfo vinfo;"," int i, bpp;"," Uint32 Rmask, Gmask, Bmask, Amask;"," SDL_VideoDisplay display;"," SDL_DisplayData *displaydata;"," SDL_DisplayMode mode;",""," if (get_visualinfo(data->display, screen, &vinfo) < 0) {"," continue;"," }",""," bpp = vinfo.depth;"," for (i = 0; i < n; ++i) {"," if (p[i].depth == vinfo.depth) {"," bpp = p[i].bits_per_pixel;"," break;"," }"," }"," Rmask = vinfo.visual->red_mask;"," Gmask = vinfo.visual->green_mask;"," Bmask = vinfo.visual->blue_mask;"," if (vinfo.depth == 32) {"," Amask = (0xFFFFFFFF & ~(Rmask | Gmask | Bmask));"," } else {"," Amask = 0;"," }"," mode.format ="," SDL_MasksToPixelFormatEnum(bpp, Rmask, Gmask, Bmask, Amask);"," mode.w = DisplayWidth(data->display, screen);"," mode.h = DisplayHeight(data->display, screen);"," mode.refresh_rate = 0;"," mode.driverdata = NULL;",""," displaydata = (SDL_DisplayData *) SDL_malloc(sizeof(*displaydata));"," if (!displaydata) {"," continue;"," }"," displaydata->screen = screen;"," displaydata->visual = vinfo.visual;"," displaydata->depth = vinfo.depth;",""," SDL_zero(display);"," display.desktop_mode = mode;"," display.current_mode = mode;"," display.driverdata = displaydata;"," SDL_AddVideoDisplay(&display);"," }"," XFree(p);","}","","void","X11_GetDisplayModes(_THIS)","{"," SDL_DisplayData *data = (SDL_DisplayData *) SDL_CurrentDisplay.driverdata;"," SDL_DisplayMode mode;"," //SDL_AddDisplayMode(_this->current_display, &mode);","}","","int","X11_SetDisplayMode(_THIS, SDL_DisplayMode * mode)","{"," //SDL_DisplayModeData *data = (SDL_DisplayModeData *) mode->driverdata;"," return -1;","}","","void","X11_QuitModes(_THIS)","{","}","","/* vi: set ts=4 sw=4 expandtab: */"],"stylingDirectives":[[{"start":0,"end":2,"cssClass":"pl-c"}],[{"start":0,"end":34,"cssClass":"pl-c"}],[{"start":0,"end":40,"cssClass":"pl-c"}],[{"start":0,"end":0,"cssClass":"pl-c"}],[{"start":0,"end":65,"cssClass":"pl-c"}],[{"start":0,"end":62,"cssClass":"pl-c"}],[{"start":0,"end":64,"cssClass":"pl-c"}],[{"start":0,"end":70,"cssClass":"pl-c"}],[{"start":0,"end":0,"cssClass":"pl-c"}],[{"start":0,"end":67,"cssClass":"pl-c"}],[{"start":0,"end":66,"cssClass":"pl-c"}],[{"start":0,"end":69,"cssClass":"pl-c"}],[{"start":0,"end":51,"cssClass":"pl-c"}],[{"start":0,"end":0,"cssClass":"pl-c"}],[{"start":0,"end":68,"cssClass":"pl-c"}],[{"start":0,"end":71,"cssClass":"pl-c"}],[{"start":0,"end":78,"cssClass":"pl-c"}],[{"start":0,"end":0,"cssClass":"pl-c"}],[{"start":0,"end":16,"cssClass":"pl-c"}],[{"start":0,"end":22,"cssClass":"pl-c"}],[{"start":0,"end":2,"cssClass":"pl-c"}],[{"start":0,"end":8,"cssClass":"pl-k"},{"start":9,"end":23,"cssClass":"pl-s"}],[],[{"start":0,"end":8,"cssClass":"pl-k"},{"start":9,"end":25,"cssClass":"pl-s"}],[],[],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":10,"cssClass":"pl-smi"}],[{"start":0,"end":14,"cssClass":"pl-en"},{"start":15,"end":22,"cssClass":"pl-smi"},{"start":23,"end":24,"cssClass":"pl-c1"},{"start":25,"end":32,"cssClass":"pl-s1"},{"start":34,"end":37,"cssClass":"pl-smi"},{"start":38,"end":44,"cssClass":"pl-s1"},{"start":46,"end":57,"cssClass":"pl-smi"},{"start":58,"end":59,"cssClass":"pl-c1"},{"start":60,"end":65,"cssClass":"pl-s1"}],[],[{"start":4,"end":9,"cssClass":"pl-k"},{"start":10,"end":14,"cssClass":"pl-smi"},{"start":15,"end":16,"cssClass":"pl-c1"},{"start":16,"end":25,"cssClass":"pl-s1"},{"start":26,"end":27,"cssClass":"pl-c1"},{"start":28,"end":38,"cssClass":"pl-en"},{"start":39,"end":63,"cssClass":"pl-s"}],[{"start":4,"end":7,"cssClass":"pl-smi"},{"start":8,"end":23,"cssClass":"pl-s1"},{"start":24,"end":25,"cssClass":"pl-c1"},{"start":26,"end":27,"cssClass":"pl-c1"}],[{"start":4,"end":7,"cssClass":"pl-smi"},{"start":8,"end":13,"cssClass":"pl-s1"}],[],[{"start":4,"end":48,"cssClass":"pl-c"}],[{"start":4,"end":6,"cssClass":"pl-k"},{"start":8,"end":17,"cssClass":"pl-s1"}],[{"start":8,"end":19,"cssClass":"pl-smi"},{"start":20,"end":21,"cssClass":"pl-c1"},{"start":21,"end":23,"cssClass":"pl-s1"},{"start":25,"end":33,"cssClass":"pl-s1"}],[{"start":8,"end":11,"cssClass":"pl-smi"},{"start":12,"end":16,"cssClass":"pl-s1"}],[],[{"start":8,"end":16,"cssClass":"pl-en"},{"start":17,"end":25,"cssClass":"pl-s1"}],[{"start":8,"end":16,"cssClass":"pl-s1"},{"start":17,"end":25,"cssClass":"pl-c1"},{"start":26,"end":27,"cssClass":"pl-c1"},{"start":28,"end":38,"cssClass":"pl-en"},{"start":39,"end":48,"cssClass":"pl-s1"},{"start":50,"end":54,"cssClass":"pl-c1"},{"start":56,"end":57,"cssClass":"pl-c1"}],[{"start":8,"end":10,"cssClass":"pl-s1"},{"start":11,"end":12,"cssClass":"pl-c1"},{"start":13,"end":27,"cssClass":"pl-en"},{"start":28,"end":35,"cssClass":"pl-s1"},{"start":37,"end":49,"cssClass":"pl-s1"},{"start":51,"end":52,"cssClass":"pl-c1"},{"start":52,"end":60,"cssClass":"pl-s1"},{"start":62,"end":63,"cssClass":"pl-c1"},{"start":63,"end":67,"cssClass":"pl-s1"}],[{"start":8,"end":10,"cssClass":"pl-k"},{"start":12,"end":14,"cssClass":"pl-s1"}],[{"start":12,"end":13,"cssClass":"pl-c1"},{"start":13,"end":18,"cssClass":"pl-s1"},{"start":19,"end":20,"cssClass":"pl-c1"},{"start":21,"end":22,"cssClass":"pl-c1"},{"start":22,"end":24,"cssClass":"pl-s1"}],[{"start":12,"end":17,"cssClass":"pl-en"},{"start":18,"end":20,"cssClass":"pl-s1"}],[{"start":12,"end":18,"cssClass":"pl-k"},{"start":19,"end":20,"cssClass":"pl-c1"}],[],[],[],[{"start":4,"end":9,"cssClass":"pl-s1"},{"start":10,"end":11,"cssClass":"pl-c1"},{"start":12,"end":24,"cssClass":"pl-en"},{"start":25,"end":32,"cssClass":"pl-s1"},{"start":34,"end":40,"cssClass":"pl-s1"}],[{"start":4,"end":6,"cssClass":"pl-k"},{"start":9,"end":24,"cssClass":"pl-s1"},{"start":25,"end":27,"cssClass":"pl-c1"}],[{"start":9,"end":25,"cssClass":"pl-en"},{"start":26,"end":33,"cssClass":"pl-s1"},{"start":35,"end":41,"cssClass":"pl-s1"},{"start":43,"end":48,"cssClass":"pl-s1"},{"start":50,"end":61,"cssClass":"pl-s1"},{"start":63,"end":68,"cssClass":"pl-s1"},{"start":71,"end":73,"cssClass":"pl-c1"}],[{"start":8,"end":24,"cssClass":"pl-en"},{"start":25,"end":32,"cssClass":"pl-s1"},{"start":34,"end":40,"cssClass":"pl-s1"},{"start":42,"end":47,"cssClass":"pl-s1"},{"start":49,"end":58,"cssClass":"pl-s1"},{"start":60,"end":65,"cssClass":"pl-s1"},{"start":67,"end":69,"cssClass":"pl-c1"}],[{"start":8,"end":24,"cssClass":"pl-en"},{"start":25,"end":32,"cssClass":"pl-s1"},{"start":34,"end":40,"cssClass":"pl-s1"},{"start":42,"end":47,"cssClass":"pl-s1"},{"start":49,"end":60,"cssClass":"pl-s1"},{"start":62,"end":67,"cssClass":"pl-s1"},{"start":69,"end":71,"cssClass":"pl-c1"}],[{"start":8,"end":24,"cssClass":"pl-en"},{"start":25,"end":32,"cssClass":"pl-s1"},{"start":34,"end":40,"cssClass":"pl-s1"},{"start":42,"end":47,"cssClass":"pl-s1"},{"start":49,"end":60,"cssClass":"pl-s1"},{"start":62,"end":67,"cssClass":"pl-s1"}],[{"start":8,"end":14,"cssClass":"pl-k"},{"start":15,"end":16,"cssClass":"pl-c1"}],[],[{"start":4,"end":10,"cssClass":"pl-k"},{"start":11,"end":13,"cssClass":"pl-c1"}],[],[],[{"start":0,"end":4,"cssClass":"pl-smi"}],[{"start":0,"end":13,"cssClass":"pl-en"},{"start":14,"end":19,"cssClass":"pl-smi"}],[],[{"start":4,"end":17,"cssClass":"pl-smi"},{"start":18,"end":19,"cssClass":"pl-c1"},{"start":19,"end":23,"cssClass":"pl-s1"},{"start":24,"end":25,"cssClass":"pl-c1"},{"start":27,"end":40,"cssClass":"pl-smi"},{"start":41,"end":42,"cssClass":"pl-c1"},{"start":44,"end":49,"cssClass":"pl-s1"},{"start":49,"end":51,"cssClass":"pl-c1"},{"start":51,"end":61,"cssClass":"pl-c1"}],[{"start":4,"end":7,"cssClass":"pl-smi"},{"start":8,"end":14,"cssClass":"pl-s1"}],[{"start":4,"end":7,"cssClass":"pl-smi"},{"start":8,"end":9,"cssClass":"pl-s1"}],[{"start":4,"end":23,"cssClass":"pl-smi"},{"start":24,"end":25,"cssClass":"pl-c1"},{"start":25,"end":26,"cssClass":"pl-s1"}],[],[{"start":4,"end":5,"cssClass":"pl-s1"},{"start":6,"end":7,"cssClass":"pl-c1"},{"start":8,"end":26,"cssClass":"pl-en"},{"start":27,"end":31,"cssClass":"pl-s1"},{"start":31,"end":33,"cssClass":"pl-c1"},{"start":33,"end":40,"cssClass":"pl-c1"},{"start":42,"end":43,"cssClass":"pl-c1"},{"start":43,"end":44,"cssClass":"pl-s1"}],[{"start":4,"end":7,"cssClass":"pl-k"},{"start":9,"end":15,"cssClass":"pl-s1"},{"start":16,"end":17,"cssClass":"pl-c1"},{"start":18,"end":19,"cssClass":"pl-c1"},{"start":21,"end":27,"cssClass":"pl-s1"},{"start":28,"end":29,"cssClass":"pl-c1"},{"start":30,"end":41,"cssClass":"pl-en"},{"start":42,"end":46,"cssClass":"pl-s1"},{"start":46,"end":48,"cssClass":"pl-c1"},{"start":48,"end":55,"cssClass":"pl-c1"},{"start":58,"end":60,"cssClass":"pl-c1"},{"start":60,"end":66,"cssClass":"pl-s1"}],[{"start":8,"end":19,"cssClass":"pl-smi"},{"start":20,"end":25,"cssClass":"pl-s1"}],[{"start":8,"end":11,"cssClass":"pl-smi"},{"start":12,"end":13,"cssClass":"pl-s1"},{"start":15,"end":18,"cssClass":"pl-s1"}],[{"start":8,"end":14,"cssClass":"pl-smi"},{"start":15,"end":20,"cssClass":"pl-s1"},{"start":22,"end":27,"cssClass":"pl-s1"},{"start":29,"end":34,"cssClass":"pl-s1"},{"start":36,"end":41,"cssClass":"pl-s1"}],[{"start":8,"end":24,"cssClass":"pl-smi"},{"start":25,"end":32,"cssClass":"pl-s1"}],[{"start":8,"end":23,"cssClass":"pl-smi"},{"start":24,"end":25,"cssClass":"pl-c1"},{"start":25,"end":36,"cssClass":"pl-s1"}],[{"start":8,"end":23,"cssClass":"pl-smi"},{"start":24,"end":28,"cssClass":"pl-s1"}],[],[{"start":8,"end":10,"cssClass":"pl-k"},{"start":12,"end":26,"cssClass":"pl-en"},{"start":27,"end":31,"cssClass":"pl-s1"},{"start":31,"end":33,"cssClass":"pl-c1"},{"start":33,"end":40,"cssClass":"pl-c1"},{"start":42,"end":48,"cssClass":"pl-s1"},{"start":50,"end":51,"cssClass":"pl-c1"},{"start":51,"end":56,"cssClass":"pl-s1"},{"start":58,"end":59,"cssClass":"pl-c1"},{"start":60,"end":61,"cssClass":"pl-c1"}],[{"start":12,"end":20,"cssClass":"pl-k"}],[],[],[{"start":8,"end":11,"cssClass":"pl-s1"},{"start":12,"end":13,"cssClass":"pl-c1"},{"start":14,"end":19,"cssClass":"pl-s1"},{"start":20,"end":25,"cssClass":"pl-c1"}],[{"start":8,"end":11,"cssClass":"pl-k"},{"start":13,"end":14,"cssClass":"pl-s1"},{"start":15,"end":16,"cssClass":"pl-c1"},{"start":17,"end":18,"cssClass":"pl-c1"},{"start":20,"end":21,"cssClass":"pl-s1"},{"start":22,"end":23,"cssClass":"pl-c1"},{"start":24,"end":25,"cssClass":"pl-s1"},{"start":27,"end":29,"cssClass":"pl-c1"},{"start":29,"end":30,"cssClass":"pl-s1"}],[{"start":12,"end":14,"cssClass":"pl-k"},{"start":16,"end":17,"cssClass":"pl-s1"},{"start":18,"end":19,"cssClass":"pl-s1"},{"start":21,"end":26,"cssClass":"pl-c1"},{"start":27,"end":29,"cssClass":"pl-c1"},{"start":30,"end":35,"cssClass":"pl-s1"},{"start":36,"end":41,"cssClass":"pl-c1"}],[{"start":16,"end":19,"cssClass":"pl-s1"},{"start":20,"end":21,"cssClass":"pl-c1"},{"start":22,"end":23,"cssClass":"pl-s1"},{"start":24,"end":25,"cssClass":"pl-s1"},{"start":27,"end":41,"cssClass":"pl-c1"}],[{"start":16,"end":21,"cssClass":"pl-k"}],[],[],[{"start":8,"end":13,"cssClass":"pl-s1"},{"start":14,"end":15,"cssClass":"pl-c1"},{"start":16,"end":21,"cssClass":"pl-s1"},{"start":22,"end":28,"cssClass":"pl-c1"},{"start":28,"end":30,"cssClass":"pl-c1"},{"start":30,"end":38,"cssClass":"pl-c1"}],[{"start":8,"end":13,"cssClass":"pl-s1"},{"start":14,"end":15,"cssClass":"pl-c1"},{"start":16,"end":21,"cssClass":"pl-s1"},{"start":22,"end":28,"cssClass":"pl-c1"},{"start":28,"end":30,"cssClass":"pl-c1"},{"start":30,"end":40,"cssClass":"pl-c1"}],[{"start":8,"end":13,"cssClass":"pl-s1"},{"start":14,"end":15,"cssClass":"pl-c1"},{"start":16,"end":21,"cssClass":"pl-s1"},{"start":22,"end":28,"cssClass":"pl-c1"},{"start":28,"end":30,"cssClass":"pl-c1"},{"start":30,"end":39,"cssClass":"pl-c1"}],[{"start":8,"end":10,"cssClass":"pl-k"},{"start":12,"end":17,"cssClass":"pl-s1"},{"start":18,"end":23,"cssClass":"pl-c1"},{"start":24,"end":26,"cssClass":"pl-c1"},{"start":27,"end":29,"cssClass":"pl-c1"}],[{"start":12,"end":17,"cssClass":"pl-s1"},{"start":18,"end":19,"cssClass":"pl-c1"},{"start":21,"end":31,"cssClass":"pl-c1"},{"start":32,"end":33,"cssClass":"pl-c1"},{"start":36,"end":41,"cssClass":"pl-s1"},{"start":44,"end":49,"cssClass":"pl-s1"},{"start":52,"end":57,"cssClass":"pl-s1"}],[{"start":10,"end":14,"cssClass":"pl-k"}],[{"start":12,"end":17,"cssClass":"pl-s1"},{"start":18,"end":19,"cssClass":"pl-c1"},{"start":20,"end":21,"cssClass":"pl-c1"}],[],[{"start":8,"end":12,"cssClass":"pl-s1"},{"start":13,"end":19,"cssClass":"pl-c1"},{"start":20,"end":21,"cssClass":"pl-c1"}],[{"start":12,"end":38,"cssClass":"pl-en"},{"start":39,"end":42,"cssClass":"pl-s1"},{"start":44,"end":49,"cssClass":"pl-s1"},{"start":51,"end":56,"cssClass":"pl-s1"},{"start":58,"end":63,"cssClass":"pl-s1"},{"start":65,"end":70,"cssClass":"pl-s1"}],[{"start":8,"end":12,"cssClass":"pl-s1"},{"start":13,"end":14,"cssClass":"pl-c1"},{"start":15,"end":16,"cssClass":"pl-c1"},{"start":17,"end":29,"cssClass":"pl-en"},{"start":30,"end":34,"cssClass":"pl-s1"},{"start":34,"end":36,"cssClass":"pl-c1"},{"start":36,"end":43,"cssClass":"pl-c1"},{"start":45,"end":51,"cssClass":"pl-s1"}],[{"start":8,"end":12,"cssClass":"pl-s1"},{"start":13,"end":14,"cssClass":"pl-c1"},{"start":15,"end":16,"cssClass":"pl-c1"},{"start":17,"end":30,"cssClass":"pl-en"},{"start":31,"end":35,"cssClass":"pl-s1"},{"start":35,"end":37,"cssClass":"pl-c1"},{"start":37,"end":44,"cssClass":"pl-c1"},{"start":46,"end":52,"cssClass":"pl-s1"}],[{"start":8,"end":12,"cssClass":"pl-s1"},{"start":13,"end":25,"cssClass":"pl-c1"},{"start":26,"end":27,"cssClass":"pl-c1"},{"start":28,"end":29,"cssClass":"pl-c1"}],[{"start":8,"end":12,"cssClass":"pl-s1"},{"start":13,"end":23,"cssClass":"pl-c1"},{"start":24,"end":25,"cssClass":"pl-c1"},{"start":26,"end":30,"cssClass":"pl-c1"}],[],[{"start":8,"end":19,"cssClass":"pl-s1"},{"start":20,"end":21,"cssClass":"pl-c1"},{"start":23,"end":38,"cssClass":"pl-smi"},{"start":39,"end":40,"cssClass":"pl-c1"},{"start":42,"end":52,"cssClass":"pl-en"},{"start":53,"end":59,"cssClass":"pl-k"},{"start":60,"end":61,"cssClass":"pl-c1"},{"start":61,"end":72,"cssClass":"pl-s1"}],[{"start":8,"end":10,"cssClass":"pl-k"},{"start":13,"end":24,"cssClass":"pl-s1"}],[{"start":12,"end":20,"cssClass":"pl-k"}],[],[{"start":8,"end":19,"cssClass":"pl-s1"},{"start":19,"end":21,"cssClass":"pl-c1"},{"start":21,"end":27,"cssClass":"pl-c1"},{"start":28,"end":29,"cssClass":"pl-c1"},{"start":30,"end":36,"cssClass":"pl-s1"}],[{"start":8,"end":19,"cssClass":"pl-s1"},{"start":19,"end":21,"cssClass":"pl-c1"},{"start":21,"end":27,"cssClass":"pl-c1"},{"start":28,"end":29,"cssClass":"pl-c1"},{"start":30,"end":35,"cssClass":"pl-s1"},{"start":36,"end":42,"cssClass":"pl-c1"}],[{"start":8,"end":19,"cssClass":"pl-s1"},{"start":19,"end":21,"cssClass":"pl-c1"},{"start":21,"end":26,"cssClass":"pl-c1"},{"start":27,"end":28,"cssClass":"pl-c1"},{"start":29,"end":34,"cssClass":"pl-s1"},{"start":35,"end":40,"cssClass":"pl-c1"}],[],[{"start":8,"end":16,"cssClass":"pl-en"},{"start":17,"end":24,"cssClass":"pl-s1"}],[{"start":8,"end":15,"cssClass":"pl-s1"},{"start":16,"end":28,"cssClass":"pl-c1"},{"start":29,"end":30,"cssClass":"pl-c1"},{"start":31,"end":35,"cssClass":"pl-s1"}],[{"start":8,"end":15,"cssClass":"pl-s1"},{"start":16,"end":28,"cssClass":"pl-c1"},{"start":29,"end":30,"cssClass":"pl-c1"},{"start":31,"end":35,"cssClass":"pl-s1"}],[{"start":8,"end":15,"cssClass":"pl-s1"},{"start":16,"end":26,"cssClass":"pl-c1"},{"start":27,"end":28,"cssClass":"pl-c1"},{"start":29,"end":40,"cssClass":"pl-s1"}],[{"start":8,"end":27,"cssClass":"pl-en"},{"start":28,"end":29,"cssClass":"pl-c1"},{"start":29,"end":36,"cssClass":"pl-s1"}],[],[{"start":4,"end":9,"cssClass":"pl-en"},{"start":10,"end":11,"cssClass":"pl-s1"}],[],[],[{"start":0,"end":4,"cssClass":"pl-smi"}],[{"start":0,"end":19,"cssClass":"pl-en"},{"start":20,"end":25,"cssClass":"pl-smi"}],[],[{"start":4,"end":19,"cssClass":"pl-smi"},{"start":20,"end":21,"cssClass":"pl-c1"},{"start":21,"end":25,"cssClass":"pl-s1"},{"start":26,"end":27,"cssClass":"pl-c1"},{"start":29,"end":44,"cssClass":"pl-smi"},{"start":45,"end":46,"cssClass":"pl-c1"},{"start":48,"end":66,"cssClass":"pl-s1"},{"start":67,"end":77,"cssClass":"pl-c1"}],[{"start":4,"end":19,"cssClass":"pl-smi"},{"start":20,"end":24,"cssClass":"pl-s1"}],[{"start":4,"end":56,"cssClass":"pl-c"}],[],[],[{"start":0,"end":3,"cssClass":"pl-smi"}],[{"start":0,"end":18,"cssClass":"pl-en"},{"start":19,"end":24,"cssClass":"pl-smi"},{"start":26,"end":41,"cssClass":"pl-smi"},{"start":42,"end":43,"cssClass":"pl-c1"},{"start":44,"end":48,"cssClass":"pl-s1"}],[],[{"start":4,"end":75,"cssClass":"pl-c"}],[{"start":4,"end":10,"cssClass":"pl-k"},{"start":11,"end":13,"cssClass":"pl-c1"}],[],[],[{"start":0,"end":4,"cssClass":"pl-smi"}],[{"start":0,"end":13,"cssClass":"pl-en"},{"start":14,"end":19,"cssClass":"pl-smi"}],[],[],[],[{"start":0,"end":34,"cssClass":"pl-c"}]],"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/libsdl-org/SDL-historical-archive/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"SDL_x11modes.c","displayUrl":"https://github.com/libsdl-org/SDL-historical-archive/blame/49fd00c84f1ed0c7b8451a07769e7c9ab6fa3310/src/video/x11/SDL_x11modes.c?raw=true","headerInfo":{"blobSize":"3.97 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":null,"isGitLfs":false,"onBranch":false,"shortPath":"e64a374","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Flibsdl-org%2FSDL-historical-archive%2Fblame%2F49fd00c84f1ed0c7b8451a07769e7c9ab6fa3310%2Fsrc%2Fvideo%2Fx11%2FSDL_x11modes.c","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"140","truncatedSloc":"120"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"C","languageID":41,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/libsdl-org/SDL-historical-archive/blame/49fd00c84f1ed0c7b8451a07769e7c9ab6fa3310/src/video/x11/SDL_x11modes.c","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/libsdl-org/SDL-historical-archive/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/libsdl-org/SDL-historical-archive/raw/49fd00c84f1ed0c7b8451a07769e7c9ab6fa3310/src/video/x11/SDL_x11modes.c","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[{"name":"get_visualinfo","kind":"function","ident_start":932,"ident_end":946,"extent_start":932,"extent_end":998,"fully_qualified_name":"get_visualinfo","ident_utf16":{"start":{"line_number":27,"utf16_col":0},"end":{"line_number":27,"utf16_col":14}},"extent_utf16":{"start":{"line_number":27,"utf16_col":0},"end":{"line_number":27,"utf16_col":66}}},{"name":"X11_InitModes","kind":"function","ident_start":1906,"ident_end":1919,"extent_start":1906,"extent_end":1926,"fully_qualified_name":"X11_InitModes","ident_utf16":{"start":{"line_number":60,"utf16_col":0},"end":{"line_number":60,"utf16_col":13}},"extent_utf16":{"start":{"line_number":60,"utf16_col":0},"end":{"line_number":60,"utf16_col":20}}},{"name":"X11_GetDisplayModes","kind":"function","ident_start":3658,"ident_end":3677,"extent_start":3658,"extent_end":3684,"fully_qualified_name":"X11_GetDisplayModes","ident_utf16":{"start":{"line_number":120,"utf16_col":0},"end":{"line_number":120,"utf16_col":19}},"extent_utf16":{"start":{"line_number":120,"utf16_col":0},"end":{"line_number":120,"utf16_col":26}}},{"name":"X11_SetDisplayMode","kind":"function","ident_start":3856,"ident_end":3874,"extent_start":3856,"extent_end":3905,"fully_qualified_name":"X11_SetDisplayMode","ident_utf16":{"start":{"line_number":128,"utf16_col":0},"end":{"line_number":128,"utf16_col":18}},"extent_utf16":{"start":{"line_number":128,"utf16_col":0},"end":{"line_number":128,"utf16_col":49}}},{"name":"X11_QuitModes","kind":"function","ident_start":4007,"ident_end":4020,"extent_start":4007,"extent_end":4027,"fully_qualified_name":"X11_QuitModes","ident_utf16":{"start":{"line_number":135,"utf16_col":0},"end":{"line_number":135,"utf16_col":13}},"extent_utf16":{"start":{"line_number":135,"utf16_col":0},"end":{"line_number":135,"utf16_col":20}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"blame":{"ranges":{"1":{"start":1,"oldStart":1,"end":108,"oldEnd":108,"commitOid":"7dce7484fe6fcb87d0a430a3968cd8c458c8a04e","reblamePath":null},"109":{"start":109,"oldStart":109,"end":109,"oldEnd":109,"commitOid":"63d4e0b3ef76655de468cbe104e03260e1ce3b88","reblamePath":"src/video/x11/SDL_x11modes.c"},"110":{"start":110,"oldStart":109,"end":140,"oldEnd":139,"commitOid":"7dce7484fe6fcb87d0a430a3968cd8c458c8a04e","reblamePath":null}},"commits":{"7dce7484fe6fcb87d0a430a3968cd8c458c8a04e":{"oid":"7dce7484fe6fcb87d0a430a3968cd8c458c8a04e","message":"Started work on the new X11 driver.","shortMessageHtmlLink":"Started work on the new X11 driver.","authorAvatarUrl":"https://avatars.githubusercontent.com/u/2100061?s=80&v=4","committerName":"Sam Lantinga","committerEmail":"slouken@libsdl.org","committedDate":"2006-07-26T06:34:54.000Z","firstParentOid":"0835728709680bf6d9600e48fe6611d7bcf71de3"},"63d4e0b3ef76655de468cbe104e03260e1ce3b88":{"oid":"63d4e0b3ef76655de468cbe104e03260e1ce3b88","message":"Initial work on X11 window code in.","shortMessageHtmlLink":"Initial work on X11 window code in.","authorAvatarUrl":"https://avatars.githubusercontent.com/u/2100061?s=80&v=4","committerName":"Sam Lantinga","committerEmail":"slouken@libsdl.org","committedDate":"2006-07-27T06:53:23.000Z","firstParentOid":"7dce7484fe6fcb87d0a430a3968cd8c458c8a04e"}},"ignoreRevs":{"path":".git-blame-ignore-revs","present":false,"timedOut":null}},"csrf_tokens":{"/libsdl-org/SDL-historical-archive/branches":{"post":"YrJc5BuObM_B0unM_LSXoq0UbLDwIRStwILUmOt9sjjmCnDwH4c3YWCmB6OiayotmWMLuC5PA7YX6e3qy_OoCQ"},"/repos/preferences":{"post":"hj0co9n8wAHIaBMMWhUKR5D6VczYANEvBGQRguzVLRVyjI_aYv2iqV9kOcTXef7ct1c3McrtNA8eWguq5ebEJw"}}},"title":"Blaming SDL-historical-archive/src/video/x11/SDL_x11modes.c at 49fd00c84f1ed0c7b8451a07769e7c9ab6fa3310 ยท libsdl-org/SDL-historical-archive"}