Closed ReallyComeOn closed 6 years ago
SDL_GetWindowWMInfo can be used like so:
window = SDL::Window.new("Window", 640, 480) renderer = SDL::Renderer.new(window) win_info = LibSDL::SDL_WMInfo.new win_info.version.major = 2 win_info.version.minor = 0 win_info.version.patch = 1 if LibSDL.get_window_wm_info window, pointerof(win_info) puts "SUCCESS!" else puts "FAILED?" end puts win_info
I also added 5 additional x11 specific window flags.
Thanks!
SDL_GetWindowWMInfo can be used like so:
I also added 5 additional x11 specific window flags.