X11: Creating a non-resizable window

Started by
12 comments, last by LonelyStar 19 years, 11 months ago
quote:Original post by pkelly83
SDL can make non resizeable windows as far as I can remember, (...)


I''m doing this:
screen = SDL_SetVideoMode(1024, 768, 32, SDL_OPENGL ); 


and get a non-resizable window, so it seems to be standard for SDL at least when doing GL stuff.
Advertisement
Hi found out how to do it looking at SDL. Thank you very much.
quote:Original post by LonelyStar
Hi,
after your responses, I gave up the thought of makeing my OpenGL window non-rezizeble under Linux.
But now, another thought suddenly poped into my mind:
xmms is not resizable, and if I create a dialog-window with wxWindows (wxGTK) it is not resizable too.
How to they do that? Can''t I do it the same way?
Thanks!


It''s not resizable because the WM respects its request to be non-resizable. You could, concievably, have a wm that didn''t do it, and the app would have to just deal with the wm resizing it.


"There is no dark side of the moon really,
As a matter of fact, its all dark."
I hate windows which expect to be a certain size, because my favorite window manager (Ion) totally ignores a window''s request to change its size. If you want your programs to be very usable, test them in Ion (or ratpoison) before releasing.

Zorx (a Puzzle Bobble clone)
Discontinuity (an animation system for POV-Ray)
Zorx (a Puzzle Bobble clone)Discontinuity (an animation system for POV-Ray)

This topic is closed to new replies.

Advertisement