Skip to content

resize_window() not working properly #51

@klartext

Description

@klartext

Some first experiments allowed using resize_window to set sizes.
But in my current code (even though I now commented out nearly anything) the function has no effect anymore.
The window size, as reported by xprop, is 1024 x 768.

It's on Arch Linux, insallation is done via opam.

<><> graphics: information on all versions ><><><><><><><><><><><><><><><><><><>
name                   graphics
all-installed-versions 5.2.0 [default]
all-versions           4.08.1  5.0.0  5.1.2  5.2.0

<><> Version-specific details <><><><><><><><><><><><><><><><><><><><><><><><><>
version      5.2.0
repository   default
url.src      "https://github.com/ocaml/graphics/archive/refs/tags/5.2.0.tar.gz"
url.checksum "sha256=baa99f5316c26df0844ee68921f531e554aab7ea2a1c881f30bd8365309077b0"
             "sha512=3a9a534b438aff86fd7ac83b394ae118e79538dcce7787e587039310b6e8fd9b352cadd54392c6190bbf8127e227bcefec1902c714ed2dc987a6e5694170b6b4"
homepage     "https://github.com/ocaml/graphics"
bug-reports  "https://github.com/ocaml/graphics/issues"
dev-repo     "git+https://github.com/ocaml/graphics.git"
authors      "Xavier Leroy" "Jun Furuse" "J-M Geffroy" "Jacob Navia" "Pierre Weis"
maintainer   "[email protected]" "[email protected]"
license      "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
depends      "dune" {>= "2.7"}
             "dune-configurator"
             "conf-libX11" {os != "win32"}
             "conf-libXft" {os != "win32"}
             "conf-pkg-config" {os != "win32"}
             "ocaml" {>= "4.09.0~~"}
synopsis     The OCaml graphics library
description  The graphics library provides a set of portable drawing
             primitives. Drawing takes place in a separate window that is created
             when Graphics.open_graph is called.
             This library used to be distributed with OCaml up to OCaml 4.08.

Are there limits to the window-size, maybe dependent on certain environmental / X11 settings?
I got no warning that would indicate a problem of some kind.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions