You are not logged in.
Ghidra seems to start always floating and I can't seem to figure out why.
First it showed only gray window. Found out that java does that with tiling wm and had to add this to my init:
export _JAVA_AWT_WM_NONREPARENTING=1Now it always starts floating. Tried adding to my config.h:
/* class instance title tags mask isfloating monitor */
{ "Ghidra", NULL, NULL, 0, 0, -1 },but it seems to have no effect at all. I can of course manually toggle it to tiling but is quite annoying me to be honest
dwm - 6.2 with fullgaps patch
Anybody has any clue why is that happening ?
Last edited by ntsanov (2020-08-24 06:46:50)
Offline
This is a common (and really annoying) behavior for Java apps. They adjust their own window size after mapping their top level window (thus undoing or overriding any window manager positioning). In this case, you can specify a different default position and geometry (on line 22 of ~/.ghidra/.ghidra_9.1_DEV/FrontEndTool.xml after running the program at least once), but I don't know of any way to make it honor the positioning set by sane window managers.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thank you for the reply. That makes sense I guess, now that I think about it, the loading screen is properly tiled but after loading is done it becomes floating. I agree about the annoying part, though I guess in that case there isn't much to be done
Offline
It is possible to patch dwm to force the window back into tilining, but you'd then either need to make that code specific to this window - or java windows in general, or just force everything to always be tiled.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline