McArcady / lnp-forge

A Dwarf Fortress starter pack builder for Linux & MacOS
Other
239 stars 19 forks source link

Unresizeable window #65

Closed severinbratus closed 2 years ago

severinbratus commented 2 years ago

The minimum size is specified to be all the available space at the moment of spawning the program. Thus the window cannot be reduced, and can only be expanded.

I am using a tiling window manager, dwm.

Output of xprop below. Note that my screen resolution is 1600x900.

WM_STATE(WM_STATE):
        window state: Withdrawn
        icon window: 0x0
_NET_WM_STATE(ATOM) = 
WM_NORMAL_HINTS(WM_SIZE_HINTS):
        program specified minimum size: 1598 by 879
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW
WM_HINTS(WM_HINTS):
        Client accepts input or input focus: True
        Initial state is Normal State.
_NET_WM_ICON(CARDINAL) =    Icon (64 x 64):
_NET_WM_NAME(UTF8_STRING) = "PyLNP"
WM_NAME(STRING) = "PyLNP"
WM_CLASS(STRING) = "tk", "Tk"
carldavis commented 2 years ago

Hi, did you figure this out? I am on i3 and having a similar issue where I cannot resize the window.

McArcady commented 2 years ago

Not sure how to tackle this problem. In the Debian gnome shell, the launcher is resizable, and:

$ xprop 
WM_STATE(WM_STATE):
        window state: Normal
        icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 0
_GTK_EDGE_CONSTRAINTS(CARDINAL) = 170
_NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 37, 0
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW
_NET_WM_STATE(ATOM) = _NET_WM_STATE_FOCUSED
WM_NORMAL_HINTS(WM_SIZE_HINTS):
        program specified minimum size: 472 by 783
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW
WM_HINTS(WM_HINTS):
        Client accepts input or input focus: True
        Initial state is Normal State.
_NET_WM_ICON(CARDINAL) =    Icon (64 x 64):
_NET_WM_NAME(UTF8_STRING) = "PyLNP"
WM_NAME(STRING) = "PyLNP"
WM_CLASS(STRING) = "tk", "Tk"

Does it look specific to your WM?