[Gtkradiant] [Bug 922] z window for 4 view mode has min/maximize buttons
gtkradiant@zerowing.idsoftware.com
gtkradiant@zerowing.idsoftware.com
Wed, 26 Nov 2003 22:03:08 -0600
http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=922
rfm@collectivecomputing.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #529 is|0 |1
obsolete| |
------- Additional Comments From rfm@collectivecomputing.com 2003-11-26 22:03 -------
Created an attachment (id=533)
--> (http://zerowing.idsoftware.com/bugzilla/attachment.cgi?id=533&action=view)
improved patch for bugs 921 and 922
In this patch, I pulled the floating z window creation into a single function,
since it was the same between 4 view mode and floating window mode.
I also changed the window decoration removing code to go entirely through
GTK/GDK, and set the window geometry hints so radiant can remember sizes
smaller than would be allowed with the decorations (as mentioned in my last
comment in bug 913). This uses hardcoded values for the absolute minimum size
of the z window. These may not match what fits the window decorations, but
should be reasonable minimums.
This works on win2k, and should do the right thing on other platforms, however,
I have not tested in on *nix.
Note this supercedes both the earlier patch for this bug and the one for 921.