<div dir="ltr">Ok I have a very simple question:<div>What is the correct way to take my custom browser.c file and GO full screen?</div><div><br></div><div>I completely reinstalled CentOS 7.1, did not install any new webkit, I simply did the yum install</div><div>of that which is packaged in. I then compiled my browser.c file, ran it an the exact same behaviour.</div><div>it is always minimized. If I comment out the function:</div><div>gtk_window_fullscreen() </div><div>my app works as expected just not full screen.</div><div><br></div><div>So there was nothing wrong with me installing a later webkit (I think anyway) it something in that function call.</div><div>(not sure why it worked in CentOS 6).</div><div><br></div><div>What is the correct way to tell a window to go fullscreen?</div><div><br></div><div>Thanks,</div><div><br></div><div>Jerry</div><div><br></div><div>Jerry</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 4, 2015 at 8:03 PM, Jerry Geis <span dir="ltr"><<a href="mailto:geisj@pagestation.com" target="_blank">geisj@pagestation.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I used centos 6.6 and put on webkit 2.4.6 and got that to work fine<div>with my little browser app.<br><div><br></div><div>I'm now trying to use centos 7.1 and trying to put on the same webkit.</div><div>When I compile it and install it - then run my very short browser app</div><div>the browser is ALWAYS minimized.</div><div><br></div><div>I narrowed it down to the gtk_window_fullscreen() function.</div><div><pre style="color:rgb(0,0,0)">void maximize(void) {
gtk_window_maximize(GTK_WINDOW(window));
gtk_window_fullscreen(GTK_WINDOW(window));
gtk_window_set_decorated(GTK_WINDOW(window), FALSE);
}
</pre></div><div>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.</div><div><br></div><div>Why might this be happening and how can I get past it?</div><div>Thanks,</div><div><br></div><div>Jerry</div></div></div>
</blockquote></div><br></div>