#!/bin/env python3

import os
os.environ['GDK_BACKEND'] = 'x11'

import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
from gi.repository import Gdk

attrs = Gdk.WindowAttr()
attrs.title = "test"
attrs.window_type = Gdk.WindowType.TOPLEVEL

buggygeom = Gdk.Geometry()
buggygeom.base_width=61517240
buggygeom.base_height=1

win = Gdk.Window(None, attrs, Gdk.WindowAttributesType.TITLE)
win.set_geometry_hints(buggygeom, Gdk.WindowHints.BASE_SIZE)
win.show()
Gtk.main()
