Removing support for _NET_WORKAERA.
Brought to you by:
captnmark
This patch remove support for _NET_WORKAERA. Although it is part of the ewmh standard, this hint is incompatible with dual heads (because it assume that the net work aera is rectangular, which is not the case). This cause problems with QT4 apps not displaying menus on the second screen. It is the equivalent of this corresponding patch for awesome, that have been accepted, see: https://awesome.naquadah.org/bugs/index.php?do=details&task_id=732#comment1756
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches"
Remove support for _NET_WORKAERA
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches"
Seems there is a problem with sourceforge to access the file. The patch is available here: http://pastebin.com/wxJyeWMH
That paste looks incomplete, croped at line 66
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches"
The paste is correct (ouput of dif -rc) and is accepted by patch. It effectvely ends at line 66. Just apply the patch and rediff -rc to convince yourself.
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches"
Arghh, some pastebin problems. This website has removed then last required end of line character and had mixed up DOS and Unix newline. But at least as you see it works.
Removing _NET_WORKAREA is a very bad idea. A better approach would be to make it configurable. I created a patch for that ( http://pastebin.com/hvztwLhJ ).
# NET_WORKAREA behaviour: 0 (single/multimonitor with STRUT information, like metacity), 1 (always full desktop), 2 (singlemonitor with STRUT, multimonitor without STRUT)
# NetWorkAreaBehaviour=0
Best regards