Skip to content

nabil-otsmane/wayland-first-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wayland Client Hello world

This repo contains a simple "hello world" for the creation of a wayland client.

I followed some tutorials to understand the process and come up with this code (I avoided copying code I did not understand):

along with some documentation websites for wayland:

Building and running the client

Before running the code, make sure you are running a wayland compositor and have all the necessary packages installed.

Running the client can be done using a single command:

make && ./client

Running the broken version

When I was trying to add the resize functionality to my simple client, I accidentally broke Hyprland (my compositor of choice). Oops..

The version I tested this code on is "Hyprland 0.45.2". The bug should be fixed by the time you are reading this.. hopefully.

The broken version can be ran using the following command

make broken && ./client

About

Trying to learn wayland by creating a simple client for it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors