SDL_FULLSCREEN and system("") call

Hello,

I run SDL App in SDL_FULLSCREEN mode and want to run other GTK app via system call.
And GTK app can’t get display and display focus remains in SDL app, though GTK app is launched.

If I disable full screen mode everything works ok .

Thanks.
Pls CC me, I’m not subscribed.

I run SDL App in SDL_FULLSCREEN mode and want to run other GTK app via system call.
And GTK app can’t get display and display focus remains in SDL app, though GTK app is launched.

If I disable full screen mode everything works ok .

Yeah, that’s pretty much the definition of fullscreen mode - nothing but your
application can interact with the screen. You can always switch out of
fullscreen mode by resetting the video mode without SDL_FULLSCREEN in the
flags, and then re-enter fullscreen mode later.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Sam Lantinga wrote:

Yeah, that’s pretty much the definition of fullscreen mode - nothing but your
application can interact with the screen. You can always switch out of
fullscreen mode by resetting the video mode without SDL_FULLSCREEN in the
flags, and then re-enter fullscreen mode later.

Maybe there should be a new mode that uses no window decorations and
takes up the whole screen, but is still a window and thus can be covered
by other windows.

Calvin Spealman wrote:

Maybe there should be a new mode that uses no window decorations and
takes up the whole screen, but is still a window and thus can be covered
by other windows.

SDL_NOFRAME

  • Reinoud

I run SDL App in SDL_FULLSCREEN mode and want to run other GTK app via system call.
And GTK app can’t get display and display focus remains in SDL app, though GTK app is launched.

If I disable full screen mode everything works ok .

Yeah, that’s pretty much the definition of fullscreen mode - nothing but your
application can interact with the screen. You can always switch out of
fullscreen mode by resetting the video mode without SDL_FULLSCREEN in the
flags, and then re-enter fullscreen mode later.

Yes, I can , but I set video mode without SDL_FULLSCREEN , window manager draws
caption around my SDL app . I couldn’t find how to make SDL not to draw caption around my window without
using SDL_FULLSCREEN.

I have a Gtk app with set_decorated(false) and want SDL app also to be something like set_decorated(false).On Sun, 09 Mar 2003 13:30:16 -0800 Sam Lantinga wrote:

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Yes, I can , but I set video mode without SDL_FULLSCREEN , window manager draws
caption around my SDL app . I couldn’t find how to make SDL not to draw caption around my window without
using SDL_FULLSCREEN.

Use SDL_NOFRAME instead.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Yes, I can , but I set video mode without SDL_FULLSCREEN , window manager draws
caption around my SDL app . I couldn’t find how to make SDL not to draw caption around my window without
using SDL_FULLSCREEN.

Use SDL_NOFRAME instead.

Thanks a lot , this really helped me :-)On Wed, 12 Mar 2003 19:20:57 -0800 Sam Lantinga wrote: