Home » U++ Library support » TopWindow&PopUp, TrayIcon » Bug: TopWindow::IsFullscreen is not working under GTK (TopWindow::FullScreen in GtkTop.cpp is not setting internal fullscreen property)
Bug: TopWindow::IsFullscreen is not working under GTK [message #47734] |
Wed, 15 March 2017 18:03 |
|
I was trying to make an application change to fullscreen mode and back by pressing F11. Unfortunately IsFullScreen() always returns false on Ubuntu.
This change to TopWindow::FullScreen() in GtkTop.cpp would fix both FullScreen() and IsFullScreen():
TopWindow& TopWindow::FullScreen(bool b)
{
if (fullscreen = b)
SetMode(FULLSCREEN);
else
SetMode(OVERLAPPED);
return *this;
}
Now a simple toggle to/from full screen can be done like this:
FullScreen(!IsFullScreen());
|
|
|
|
|
Goto Forum:
Current Time: Fri Oct 04 23:39:38 CEST 2024
Total time taken to generate the page: 0.02473 seconds
|