summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Riedi <andrewriedi@gmail.com>2007-07-25 19:33:42 -0700
committerAndrew Riedi <andrewriedi@gmail.com>2007-07-25 19:33:42 -0700
commit76912d1f55a3857b60693ca46c0cba4f9edca4df (patch)
treede4d0eb10df350680a093c983f7619ad058ac366
parent1d6f1d45761ab06d2abc5bf3d6e56cac91499c37 (diff)
downloadworkarounds-76912d1f55a3857b60693ca46c0cba4f9edca4df.tar.gz
workarounds-76912d1f55a3857b60693ca46c0cba4f9edca4df.tar.bz2
Add string.h include and fix up workarounds.xml.in.
-rw-r--r--workarounds.c12
-rw-r--r--workarounds.xml.in12
2 files changed, 13 insertions, 11 deletions
diff --git a/workarounds.c b/workarounds.c
index 2f541fb..109de1c 100644
--- a/workarounds.c
+++ b/workarounds.c
@@ -18,6 +18,8 @@
* This plug-in for Metacity-like workarounds.
*/
+#include <string.h>
+
#include <compiz.h>
#include <workarounds_options.h>
@@ -63,7 +65,7 @@ typedef struct _WorkaroundsWindow {
static void
-workaroundsDoLegacyApps (CompWindow *w)
+workaroundsDoLegacyFullscreen (CompWindow *w)
{
unsigned int type;
@@ -83,11 +85,11 @@ workaroundsWindowResizeNotify (CompWindow *w, int dx, int dy,
{
WORKAROUNDS_SCREEN (w->screen);
- if (workaroundsGetLegacyApps (w->screen->display))
+ if (workaroundsGetLegacyFullscreen (w->screen->display))
{
/* Fix up the window type. */
recalcWindowType (w);
- workaroundsDoLegacyApps (w);
+ workaroundsDoLegacyFullscreen (w);
}
UNWRAP (ws, w->screen, windowResizeNotify);
@@ -101,8 +103,8 @@ workaroundsWindowAddNotify (CompWindow *w)
WORKAROUNDS_WINDOW (w);
WORKAROUNDS_SCREEN (w->screen);
- if (workaroundsGetLegacyApps (w->screen->display))
- workaroundsDoLegacyApps (w);
+ if (workaroundsGetLegacyFullscreen (w->screen->display))
+ workaroundsDoLegacyFullscreen (w);
/* FIXME: Is this the best way to detect a notification type window? */
if (workaroundsGetNotificationDaemonFix (w->screen->display) && w->resName)
diff --git a/workarounds.xml.in b/workarounds.xml.in
index 8337b1f..9a9fac7 100644
--- a/workarounds.xml.in
+++ b/workarounds.xml.in
@@ -8,19 +8,19 @@
<_short>Workarounds</_short>
<_long>Metacity-like workarounds.</_long>
<display>
- <option type="bool" name="legacy_apps">
- <_short>Legacy application support</_short>
- <_long>Make Wine and legacy applications work.</_long>
+ <option type="bool" name="legacy_fullscreen">
+ <_short>Legacy Fullscreen Support</_short>
+ <_long>Make Wine and legacy applications fullscreen properly.</_long>
<default>true</default>
</option>
<option type="bool" name="firefox_menu_fix">
- <_short>Firefox menu fix</_short>
+ <_short>Firefox Menu Fix</_short>
<_long>Fix window type of Firefox and Thunderbird menus.</_long>
<default>true</default>
</option>
<option type="bool" name="notification_daemon_fix">
- <_short>Notification-Daemon Fix</_short>
- <_long>Fix window type of notification daemon windows.</_long>
+ <_short>Notification Daemon Fix</_short>
+ <_long>Fix window type of notification daemon windows.</_long>
<default>true</default>
</option>
</display>