Skip to content

Commit

Permalink
Wayland first implementation has been made by h7io in the PR #148.
Browse files Browse the repository at this point in the history
Co-authored-by: h7io
  • Loading branch information
sblantipodi committed Nov 26, 2023
1 parent 121c574 commit e335b20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/dpsoftware/managers/PipelineManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ public static XdgStreamDetails getXdgStreamDetails() {
dBusConnection.addGenericSigHandler(matchRule, signal -> {
try {
if (signal.getParameters().length == 2 // verify amount of arguments
&& signal.getParameters()[0] instanceof UInt32 // verify argument types
&& signal.getParameters()[1] instanceof DBusMap
&& ((UInt32) signal.getParameters()[0]).intValue() == 0 // verify success-code
&& signal.getParameters()[0] instanceof UInt32 // verify argument types
&& signal.getParameters()[1] instanceof DBusMap
&& ((UInt32) signal.getParameters()[0]).intValue() == 0 // verify success-code
) {
// parse signal & set appropriate Future as the result
if (((DBusMap<?, ?>) signal.getParameters()[1]).containsKey("session_handle")) {
Expand Down

0 comments on commit e335b20

Please sign in to comment.