[webkit-gtk] updated webkit centos 7.1

Jerry Geis geisj at pagestation.com
Wed May 6 08:21:10 PDT 2015


Ok I have a very simple question:
What is the correct way to take my custom browser.c file and GO full screen?

I completely reinstalled CentOS 7.1, did not install any new webkit, I
simply did the yum install
of that which is packaged in. I then compiled my browser.c file, ran it an
the exact same behaviour.
it is always minimized. If I comment out the function:
gtk_window_fullscreen()
my app works as expected just not full screen.

So there was nothing wrong with me installing a later webkit (I think
anyway) it something in that function call.
(not sure why it worked in CentOS 6).

What is the correct way to tell a window to go fullscreen?

Thanks,

Jerry

Jerry

On Mon, May 4, 2015 at 8:03 PM, Jerry Geis <geisj at pagestation.com> wrote:

> I used centos 6.6 and put on webkit 2.4.6 and got that to work fine
> with my little browser app.
>
> I'm now trying to use centos 7.1 and trying to put on the same webkit.
> When I compile it and install it - then run my very short browser app
> the browser is ALWAYS minimized.
>
> I narrowed it down to the gtk_window_fullscreen() function.
>
> void maximize(void) {
>     gtk_window_maximize(GTK_WINDOW(window));
>     gtk_window_fullscreen(GTK_WINDOW(window));
>     gtk_window_set_decorated(GTK_WINDOW(window), FALSE);
> }
>
> When I comment the gtk_window_fullscreen() out, the browser comes up and
> is not minimized. As soon as I put that line back in the browser app is
> always minimized.
>
> Why might this be happening and how can I get past it?
> Thanks,
>
> Jerry
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-gtk/attachments/20150506/1b75afcd/attachment.html>


More information about the webkit-gtk mailing list