Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/itszariep/sgxpos

Simple GTK X11 Positioning library
https://github.com/itszariep/sgxpos

gtk-layer-shell gtk3 x11

Last synced: 24 days ago
JSON representation

Simple GTK X11 Positioning library

Awesome Lists containing this project

README

        

# SGXPos
Simple GTK3 X11 Positioning Library

This library aims to provide a simple way to position GTK3 windows in an X11 environment.

## Usage
See the wiki for detailed information.

## Why?
This project is mainly focused on providing a similar implementation to GTK Layer Shell, but only with a focus on positioning windows.

I wanted to achieve Wayland compatibility in a project, but I didn't want to heavily extend the codebase. Therefore, having a library that mimics another library makes the codebase more maintainable.

## GTK Layer Shell Compatibility
This project includes some definitions to call functions similar to those in gtk-layer-shell, but not every function is available. This compatibility is nearly incomplete, and I will only focus on what I need.

Therefore, GTK4 support is also not available, as I don't use that version of GTK.

If you are interested in contributing by adding functions to this library, feel free to open a pull request.