forked from obsproject/obs-studio
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UI: Make window-projector its own top level QWidget
Previously OBSProjector was a subclass of OBSQTDisplay, which is intended to own the entire surface it draws on. On wayland some compositors expect the client to draw decorations (window titlebar), but because OBSQTDisplay draws on the entire surface directly the client decorations from QT are overwritten. Instead promote OBSProjector to a simple QWidget with a single layout containing the OBSQTDisplay. This allows the OBSQTDisplay to own the entire contents while OBSProjector draws the decorations. fixes obsproject#6283
- Loading branch information
1 parent
4c96fea
commit 3379a8f
Showing
3 changed files
with
22 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters