Blender Git Commit Log

Git Commits -> Revision 350d754

Revision 350d754 by Diego Borghetti (master)
January 3, 2008, 21:04 (GMT)
Add support for GHOST_kWindowState* to Linux.

This add support for the different window state in Linux/X11.
Two think to take care:
1) m_post_*
2) motifFullScreen

1) This is only need if we want start a window in FullScreen or Maximized
state. The basic problem is that we can't set this property to a window
until it's really map, so i add a "post init" proccess for this two
special case (check the code for more info).

2) The Motif Hint isn't really a "FullScreen" mode, it's only a
"NO DECORATIONS" options, so if the window manager don't support WM-spec
this function only remove the border of the window, don't make it
FullScreen. A simple fix (hack) is check if the Window Manager support
WM-spec, in case that not, remove the decorations and move/resize the
window.

Test in different WM (gnome, kde, etc) and comment are welcome :)

Commit Details:

Full Hash: 350d754b16b97f56fb02765bc35178d2ad2d7415
SVN Revision: 13116
Parent Commit: c877856
Lines Changed: +386, -60

4 Modified Paths:

/intern/ghost/intern/GHOST_SystemX11.cpp (+37, -2) (Diff)
/intern/ghost/intern/GHOST_SystemX11.h (+13, -0) (Diff)
/intern/ghost/intern/GHOST_WindowX11.cpp (+315, -58) (Diff)
/intern/ghost/intern/GHOST_WindowX11.h (+21, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021