Move tag file

This commit is contained in:
Seaotatop 2023-06-25 19:12:48 -05:00
parent 29d4d86fd5
commit 541aab5755
5 changed files with 13 additions and 12 deletions

View file

@ -2,23 +2,24 @@ name: Rust
on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get dependencies
run: sudo apt install libwayland-dev libxkbcommon-dev libudev-dev libinput-dev libgbm-dev libseat-dev libsystemd-dev
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- uses: actions/checkout@v3
- name: Get dependencies
run: sudo apt install libwayland-dev libxkbcommon-dev libudev-dev libinput-dev libgbm-dev libseat-dev libsystemd-dev
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Celebratory yahoo
run: echo yahoo

View file

@ -25,7 +25,6 @@ mod layout;
mod pointer;
mod render;
mod state;
mod tag;
mod window;
mod xdg;

View file

@ -18,6 +18,7 @@ use crate::{
use self::window_state::{Float, WindowState};
pub mod tag;
pub mod window_state;
pub trait SurfaceState: Default + 'static {

View file

@ -11,7 +11,7 @@ use smithay::{
utils::{Logical, Point, Serial, Size},
};
use crate::tag::Tag;
use super::tag::Tag;
pub struct WindowState {
/// Whether the window is floating or tiled.