aboutsummaryrefslogtreecommitdiff
path: root/x11/kde4-runtime/files/keramik-patch-kwin-client.h
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kde4-runtime/files/keramik-patch-kwin-client.h')
-rw-r--r--x11/kde4-runtime/files/keramik-patch-kwin-client.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/x11/kde4-runtime/files/keramik-patch-kwin-client.h b/x11/kde4-runtime/files/keramik-patch-kwin-client.h
new file mode 100644
index 000000000000..bf09b2f0355a
--- /dev/null
+++ b/x11/kde4-runtime/files/keramik-patch-kwin-client.h
@@ -0,0 +1,27 @@
+--- kwin/client.h.orig Sun Oct 6 16:00:30 2002
++++ kwin/client.h Sun Oct 6 14:49:21 2002
+@@ -161,6 +161,7 @@
+ bool isTool() const; // KDE4 remove me
+ bool isToolbar() const;
+ bool isTopMenu() const;
++ bool isMenu() const; // compat. for KDE 3.0.x <alane@freebsd.org>
+ bool isNormalWindow() const; // normal as in 'NET::Normal or NET::Unknown non-transient'
+ bool isDialog() const;
+
+@@ -505,6 +506,16 @@
+ {
+ return cmap;
+ }
++
++/*
++ compat. for 3.0.x <alane@freebsd.org>
++*/
++
++inline bool Client::isMenu() const
++{
++ return isTopMenu();
++}
++
+
+ class NoBorderClient : public Client
+ {