Skip to content

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