Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add window min/max/resize #294

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

akvadrako
Copy link
Contributor

This does a couple things:

  • allows one to specify an optional min/max window size like this:

    export COG_PLATFORM_FDO_VIEW_HEIGHT=100:300:500
    export COG_PLATFORM_FDO_VIEW_WIDTH=100:300:500
    
  • allows one to resize a window with cogctl:

    ./cogctl resize 0:500:0x0:500:0
    ./cogctl resize 100x200
    

In the end I want to do this from the client side, but I thought for a now a clean way is to add it do cogctl. Probably I'll use a local HTTP server than can call cogctl for privileged operations.

It could use a bit of docs and maybe some refactoring. I'm also not sure if this is something you want to have in cog, so I could fork it if that's preferable.

@aperezdc aperezdc added this to the Cog 0.12 milestone Apr 1, 2021
@aperezdc aperezdc modified the milestones: Cog 0.12, Cog 0.14 Nov 3, 2021
@aperezdc aperezdc modified the milestones: Cog 0.14, Cog 0.16 Jun 29, 2022
@aperezdc aperezdc modified the milestones: Cog 0.16, Cog 0.18 Sep 29, 2022
@aperezdc aperezdc removed this from the Cog 0.18 milestone Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants