summaryrefslogtreecommitdiff
blob: a30d54b90fa456f4b0b033d5b4205fc13bcd8569 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- kde/window-decorator-kde4/window.cpp	2012-11-14 10:17:09 +0000
+++ kde/window-decorator-kde4/window.cpp	2012-11-23 06:43:18 +0000
@@ -554,6 +554,15 @@
     showWindowMenu (pos.bottomLeft ());
 }
 
+void KWD::Window::showApplicationMenu (const QPoint &p)
+{
+}
+
+bool KWD::Window::menuAvailable () const
+{
+    return false;
+}
+
 KWD::Options::MouseCommand
 KWD::Window::buttonToCommand (Qt::MouseButtons button)
 {

--- kde/window-decorator-kde4/window.h	2012-09-03 07:19:30 +0000
+++ kde/window-decorator-kde4/window.h	2012-11-23 06:43:18 +0000
@@ -92,6 +92,8 @@
 	virtual void processMousePressEvent (QMouseEvent *);
 	virtual void showWindowMenu (const QRect &);
 	virtual void showWindowMenu (const QPoint &);
+	virtual void showApplicationMenu (const QPoint &);
+	virtual bool menuAvailable () const;
 	virtual void performWindowOperation (WindowOperation);
 	virtual void setMask (const QRegion &, int);
 	virtual bool isPreview (void) const;