Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc » function TopWindow::Maximize does not work in linux.
Re: function TopWindow::Maximize does not work in linux. [message #6107 is a reply to message #6105] Mon, 30 October 2006 22:18 Go to previous messageGo to previous message
guido is currently offline  guido
Messages: 169
Registered: April 2006
Experienced Member
Hi Nico!


In TopWindow::SyncCaption() please add:

if (state == MAXIMIZED) {
			wina[n++] = XAtom("_NET_WM_STATE_MAXIMIZED_HORZ");
			wina[n++] = XAtom("_NET_WM_STATE_MAXIMIZED_VERT");
		}


above or below this line:

if(topmost)
	wina[n++] = XAtom("_NET_WM_STATE_ABOVE");



and report if that works.

That would be my guess.

Guido
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: plugin/sqlite3 case sensitive name on linux
Next Topic: Dynamic library load works rare in Linux
Goto Forum:
  


Current Time: Sat Apr 27 02:57:46 CEST 2024

Total time taken to generate the page: 3.91890 seconds