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
31
32
33
34
35
36
37
38
|
--- src/karamba.cpp.orig Sun Oct 19 22:02:45 2003
+++ src/karamba.cpp Mon Feb 9 00:57:18 2004
@@ -2243,7 +2243,7 @@
//Matthew Kay: set window type to "dock" (plays better with taskbar themes this way)
- KWin::setType(winId(), NET::Dock);
+ //KWin::setType(winId(), NET::Dock);
widgetMask = 0;
info = new NETWinInfo( qt_xdisplay(), winId(), qt_xrootwin(), NET::WMState );
@@ -2662,6 +2662,26 @@
}
+ if( getBoolean("RIGHTBAR", line ) )
+ {
+ int dw = QApplication::desktop()->width();
+ move( dw - w, y );
+ KWin::setStrut( winId(), 0, w, 0, 0 );
+ toggleLocked->setChecked( true );
+ slotToggleLocked();
+ toggleLocked->setEnabled(false);
+
+ }
+ if( getBoolean("LEFTBAR", line) )
+ {
+ int dw = QApplication::desktop()->width();
+ move( 0, y );
+ KWin::setStrut( winId(), w, 0, 0, 0 );
+ toggleLocked->setChecked( true );
+ slotToggleLocked();
+ toggleLocked->setEnabled(false);
+
+ }
bool found = false;
QString path = getString( "MASK", line, found );
|