Remove "new-window" functionality

I were never able to get setifactionary results with this because:
* In GTK apps new window is created from the same process
* OpenGL is single-threaded so performance per window is halfed
* GTK4 has problems with rendeing using multiple contexts resulting in some frames being upside down

So for the time being I am removing a non-working option. There is a chance
that it will be fixed and added in future, but for now lets not
advertise a functionality that does not work.
This commit is contained in:
Rafostar
2020-12-24 12:18:17 +01:00
parent 6afbbc767a
commit 094de19018
4 changed files with 12 additions and 12 deletions

View File

@@ -43,13 +43,22 @@ class ClapperApp extends AppBase
super.vfunc_open(files, hint);
this.playlist = files;
this._handleAppStart();
if(!this.doneFirstActivate)
this._handleAppStart();
else
this.setWindowPlaylist(this.active_window);
}
_onWindowShow(window)
{
super._onWindowShow(window);
this.setWindowPlaylist(window);
}
setWindowPlaylist(window)
{
if(!this.playlist.length)
return;