mirror of
https://codeberg.org/scip/swayipc.git
synced 2025-12-16 20:20:56 +01:00
renamed to swayipc
This commit is contained in:
4
node.go
4
node.go
@@ -14,7 +14,7 @@ GNU General Public License for more details.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package i3ipc
|
||||
package swayipc
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
@@ -58,7 +58,7 @@ var __currentworkspace string
|
||||
// The top level node is the "root" node.
|
||||
//
|
||||
// Use the returned node oject to further investigate the wm setup.
|
||||
func (ipc *I3ipc) GetTree() (*Node, error) {
|
||||
func (ipc *SwayIPC) GetTree() (*Node, error) {
|
||||
err := ipc.sendHeader(GET_TREE, 0)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user