Skip to content

Commit

Permalink
Add method to use wf-info to get view information by clicking on a vi…
Browse files Browse the repository at this point in the history
…ew (#7)
  • Loading branch information
soreau authored Sep 1, 2024
1 parent 4b3e8b5 commit 872e8e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wayfire/extra/wpe.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,7 @@ def fs_has_shader(self, output_name: str):
message["data"] = {}
message["data"]["output-name"] = output_name
return self.socket.send_json(message)

def get_view_info(self):
message = get_msg_template("wf-info/get_view_info")
return self.socket.send_json(message)

0 comments on commit 872e8e4

Please sign in to comment.