Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This is a quick post to show how to make wine app hides the titlebar and fully fill the vertical area of screen space when maximized.

In Unity DE, when Wine app is maximized, it doesn't hide the titlebar so the window can't be fully maximized. It looks something like this:

titlebar still showing on maximize

share|improve this question

1 Answer 1

up vote 3 down vote accepted

The fix is simple. Launch CompizConfig Setting Manager (apt-get install compizconfig-settings-manager) and open Window Decoration setting and in the Decoration Windows field, delete the existing rule any, then enter (!state=maxhorz & !class=wine)

If you got that right, your wine app titlebar should no longer appear when the app is maximized and it will be shown back when you unmaximized it.

Titlebar is hidden on maximize

share|improve this answer
    
Just want to note that, since Ubuntu 14.04 the decoration rule that I submitted here has been made redundant as Unity now uses its own window decorator and that seems to have magically solved the issue with wine app window being unable to fully maximize –  Flint May 5 at 17:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.