Skip to content

set_fullscreen(false) does not work on window creation #432

@litvinov-git

Description

@litvinov-git

Describe the bug

When certain windows (firefox --kiosk in my case) are created, they are in fullscreen, and set_fullscreen(false) on their creation does not work. I have not found any reliable ways to prevent windows from spawning in fullscreen

Reproduction steps

firefox --kiosk

Relevant parts of config

        Window.add_window_rule(function(window)
            window:set_decoration_mode("server_side")
            my_border(window):decorate()
            window:set_maximized(false)
            window:set_fullscreen(false)
        end)

Version info

pinnacle 0.2.3

Build Info:
Build profile: release
rustc version: 1.91.1
Branch: v0.2
Commit: b33d2fe (release: v0.2.3)

Distro

Arch

GPU

builtin i5

Config language

Lua

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions