Matthias Ettrich
9388aeba3d
fixed maximization handling
...
svn path=/trunk/kdebase/kwin/; revision=113436
2001-09-05 20:40:04 +00:00
Dirk Mueller
df7c4fb8b6
kdesktopwidget -> qdesktopwidget
...
svn path=/trunk/kdebase/kwin/; revision=112863
2001-09-01 12:52:41 +00:00
Waldo Bastian
83cbfe3acb
Window follows mind^H^H^H^Hdesktop.
...
svn path=/trunk/kdebase/kwin/; revision=112163
2001-08-27 23:56:15 +00:00
Stephan Binner
21a2a14edd
Fix Konsole transparent background problems when window is sticky or sent to other desktop ( #24178 )
...
svn path=/trunk/kdebase/kwin/; revision=112136
2001-08-27 21:02:33 +00:00
Waldo Bastian
aedc59bde7
Ported from KDE 1.1.2: Electric Borders are back!
...
svn path=/trunk/kdebase/kwin/; revision=112025
2001-08-27 05:42:32 +00:00
Simon Hausmann
c8f1508b36
- moved netwm.h inclusions after indirect qvariant.h inclusions
...
(fixes Bool clash)
- missing includes (qcursor,qstyle,qpainter,qvaluelist)
- minor qstyle api fixlet
svn path=/trunk/kdebase/kwin/; revision=110958
2001-08-18 23:06:16 +00:00
Matthias Ettrich
bb34fb1c55
fixed hanging keyboard in CDE-style Alt-Tab
...
svn path=/trunk/kdebase/kwin/; revision=109474
2001-08-07 11:15:12 +00:00
Waldo Bastian
d07cce76b9
Less debug output
...
svn path=/trunk/kdebase/kwin/; revision=108939
2001-08-02 18:31:37 +00:00
Matthias Ettrich
6847f73526
cleaned grabbing up a bit
...
svn path=/trunk/kdebase/kwin/; revision=107986
2001-07-27 12:48:30 +00:00
Ellis Whitehead
c06084d21b
Make switching box disappear on mouse click, and release keyboard and pointer grabs.
...
Before, a mouse-click would cause a partial lock-up (global shortcuts could still be activated).
svn path=/trunk/kdebase/kwin/; revision=105788
2001-07-12 17:16:04 +00:00
Matthias Ettrich
a325dd9966
make focusEnsurance() multi-screen capable (at least I hope it works this
...
way)
svn path=/trunk/kdebase/kwin/; revision=105769
2001-07-12 13:50:19 +00:00
Ellis Whitehead
24ede41380
Make sure that Window/Desktop popup (e.g. Alt+Tab) isn't shown if modifier key has already been released before switch is processed.
...
svn path=/trunk/kdebase/kwin/; revision=105392
2001-07-09 03:10:16 +00:00
Ellis Whitehead
3e604d14b0
Remove "Window iconify all" since we now how "Toggle Show Desktop".
...
Index: kwinbindings.cpp
===================================================================
RCS file: /home/kde/kdebase/kwin/kwinbindings.cpp,v
retrieving revision 1.24
diff -u -3 -d -p -r1.24 kwinbindings.cpp
--- kwinbindings.cpp 2001/06/26 23:30:52 1.24
+++ kwinbindings.cpp 2001/06/29 04:29:14
@@ -22,7 +22,7 @@
keys->insertItem(i18n("Window Maximize Vertical"), "Window maximize vertical", KKey(), KKey("Meta+Bar"));
keys->insertItem(i18n("Window Maximize Horizontal"), "Window maximize horizontal", KKey(), KKey("Meta+Equal"));
keys->insertItem(i18n("Window Iconify"), "Window iconify", KKey(), KKey("Meta+Minus"));
- keys->insertItem(i18n("Window Iconify (All)"), "Window iconify all", KKey(), KKey("Meta+Ctrl+Minus"));
+ //keys->insertItem(i18n("Window Iconify (All)"), "Window iconify all", KKey(), KKey("Meta+Ctrl+Minus"));
keys->insertItem(i18n("Window Shade"), "Window shade", KKey(), KKey("Meta+Underscore"));
keys->insertItem(i18n("Window Move"), "Window move", 0);
keys->insertItem(i18n("Window Resize"), "Window resize", 0);
@@ -113,6 +113,6 @@ This belongs in taskbar rather than here
#endif
keys->insertItem(i18n("Mouse Emulation"), "Mouse emulation", KKey("ALT+F12"), KKey());
keys->insertItem(i18n("Kill Window"), "Kill Window", KKey("CTRL+ALT+Escape"), KKey("Meta+Ctrl+Delete"));
- keys->insertItem(i18n("Window Screenshot"), "Screenshot of active window", KKey("Print"), KKey());
- keys->insertItem(i18n("Desktop Screenshot"), "Screenshot of desktop", KKey("CTRL+PrtSc"), KKey());
+ keys->insertItem(i18n("Window Screenshot"), "Screenshot of active window", KKey("Print"), KKey("Alt+Print"));
+ keys->insertItem(i18n("Desktop Screenshot"), "Screenshot of desktop", KKey("CTRL+Print"), KKey("Meta+Print"));
Index: workspace.cpp
===================================================================
RCS file: /home/kde/kdebase/kwin/workspace.cpp,v
retrieving revision 1.263
diff -u -3 -d -p -r1.263 workspace.cpp
--- workspace.cpp 2001/06/29 00:16:26 1.263
+++ workspace.cpp 2001/06/29 04:29:24
@@ -2553,7 +2553,7 @@ void Workspace::createKeybindings(){
keys->connectItem( "Window maximize horizontal", this, SLOT( slotWindowMaximizeHorizontal() ) );
keys->connectItem( "Window maximize vertical", this, SLOT( slotWindowMaximizeVertical() ) );
keys->connectItem( "Window iconify", this, SLOT( slotWindowIconify() ) );
- keys->connectItem( "Window iconify all", this, SLOT( slotWindowIconifyAll() ) );
+ //keys->connectItem( "Window iconify all", this, SLOT( slotWindowIconifyAll() ) );
keys->connectItem( "Window shade", this, SLOT( slotWindowShade() ) );
keys->connectItem( "Window move", this, SLOT( slotWindowMove() ) );
keys->connectItem( "Window resize", this, SLOT( slotWindowResize() ) );
@@ -2744,6 +2744,7 @@ void Workspace::slotWindowIconify()
performWindowOperation( popup_client, Options::IconifyOp );
}
+// This should probably be removed now that there is a "Show Desktop" binding.
void Workspace::slotWindowIconifyAll()
{
int iDesktop = currentDesktop();
svn path=/trunk/kdebase/kwin/; revision=104351
2001-06-29 04:30:25 +00:00
Richard J. Moore
649c822bc2
Include window frame when grabbing snapshots
...
svn path=/trunk/kdebase/kwin/; revision=104328
2001-06-29 00:16:26 +00:00
Richard J. Moore
2cd059894a
Window grabbing stuff for linuxtag
...
svn path=/trunk/kdebase/kwin/; revision=104070
2001-06-26 23:30:52 +00:00
Matthias Ettrich
ab5b07786a
more alt-tab hanging fixes. Requires update in libkdecore/kglobalaccel.cpp
...
svn path=/trunk/kdebase/kwin/; revision=103034
2001-06-19 15:05:03 +00:00
Matthias Ettrich
6413e1dd8f
Fixed hanging Alt-Tab under heavy load (Part II, first part was in
...
kdelibs/kdecore/kglobalaccel.cpp)
svn path=/trunk/kdebase/kwin/; revision=102912
2001-06-18 20:18:32 +00:00
Ellis Whitehead
c77c63a6d3
Forgot to connect.
...
===================================================================
RCS file: /home/kde/kdebase/kwin/workspace.cpp,v
retrieving revision 1.258
diff -u -3 -d -p -r1.258 workspace.cpp
--- workspace.cpp 2001/06/13 15:47:54 1.258
+++ workspace.cpp 2001/06/13 18:46:54
@@ -2562,6 +2562,8 @@ void Workspace::createKeybindings(){
keys->connectItem( "Walk through desktops", this, SLOT( slotWalkThroughDesktops()));
keys->connectItem( "Walk back through desktops", this, SLOT( slotWalkBackThroughDesktops()));
+ keys->connectItem( "Walk through desktop list", this, SLOT( slotWalkThroughDesktopList()));
+ keys->connectItem( "Walk back through desktop list", this, SLOT( slotWalkBackThroughDesktopList()));
keys->connectItem( "Walk through windows",this, SLOT( slotWalkThroughWindows()));
keys->connectItem( "Walk back through windows",this, SLOT( slotWalkBackThroughWindows()));
@@ -2571,6 +2573,8 @@ void Workspace::createKeybindings(){
keys->readSettings();
walkThroughDesktopsKeycode = keys->currentKey( "Walk through desktops" );
walkBackThroughDesktopsKeycode = keys->currentKey( "Walk back through desktops" );
+ walkThroughDesktopListKeycode = keys->currentKey( "Walk through desktop list" );
+ walkBackThroughDesktopListKeycode = keys->currentKey( "Walk back through desktop list" );
walkThroughWindowsKeycode = keys->currentKey( "Walk through windows" );
walkBackThroughWindowsKeycode = keys->currentKey( "Walk back through windows" );
}
svn path=/trunk/kdebase/kwin/; revision=101992
2001-06-13 18:48:23 +00:00
Luboš Luňák
0827825fcb
Use debug area for the debug info.
...
Explicitly note in the headers that the classes have to keep BC ( after KDE2.2 ).
Fixed index in walking through desktops.
svn path=/trunk/kdebase/kwin/; revision=101972
2001-06-13 15:47:54 +00:00
Ellis Whitehead
9e0653455e
kdebase/kcontrol/keys/: add ability to separate between 'normal' shortcuts and a shortcut series
...
kdebase/kwin/tabbox: allow for choosing between switching between desktops in focus order versus numeric order.
kdebase/kwin/workspace: add key bindings for focus-order-desktop-walking and sending a window to a specific desktop.
*bindings.cpp: add labels for kcontrol
svn path=/trunk/kdebase/kwin/; revision=101281
2001-06-10 04:10:42 +00:00
Malte Starostik
f8c8380275
Expose int currentDesktop() const via DCOP
...
and added void nextDesktop() and void previousDesktop(), also available
via DCOP.
This makes it possible to use KGesture to cycle through desktops :)
svn path=/trunk/kdebase/kwin/; revision=101071
2001-06-09 05:00:46 +00:00
Ellis Whitehead
a9c55776ae
KAccel: allow for 4-modifier setup defaults, check whether Qt supports the
...
Meta key.
KGlobalAccel: improve X key ungrabbing for key map changes.
KKeyDialog: Allow caller to specify whether normal keys (i.e., 'A', 'B') can
be used as shortcuts and whether the Meta key can be used in a shortcut.
KeyConfog: Add support for a second default configuration. Add support for a
user with a Meta key not to default to 4-modifier setup (not yet working
completely).
Workspace: Added 'Window iconify all'. Still speed work -- best might be to
merge this with 'Show Desktop'
kcontrol/keys/main.cpp: a bit of capitalization
kcontrol/kwm/mouse, kwin/client, kwin/options: Let user use Meta key for
window resizing/moving/etc
*bindings.cpp: add 4-modifier setup defaults
svn path=/trunk/kdebase/kcontrol/; revision=100877
2001-06-07 18:17:24 +00:00
Karol Szwed
9c0f71e601
Making reconfigure() timer buffered so that we don't get flooded with
...
too many reconfigure events at once, which would re-client all windows
multiple times and cause lots of ugly flicker.
svn path=/trunk/kdebase/kwin/; revision=100375
2001-06-04 14:01:00 +00:00
Ellis Whitehead
e2b6a56386
Compared a Qt key code to an X key code and lost the ability to use Escape
...
to abort switch between programs/desktops mode. Fixed.
svn path=/trunk/kdebase/kwin/; revision=100319
2001-06-04 06:43:31 +00:00
Ellis Whitehead
b4a70d38fe
A couple simplifications in the Program/Desktop switching routine.
...
svn path=/trunk/kdebase/kwin/; revision=100272
2001-06-03 22:29:12 +00:00
Dirk Mueller
5a49a411dd
whoops, restoring binary compatibility in case we want it (SC was given)
...
svn path=/trunk/kdebase/kwin/; revision=100140
2001-06-03 09:30:19 +00:00
Dirk Mueller
8e8dce5e64
Xinerama support, patch by Balaji Ramani <balaji@spinnakernet.com>
...
svn path=/trunk/kdebase/kwin/; revision=100136
2001-06-03 09:04:03 +00:00
Ellis Whitehead
1a3f866309
When switching between programs, Workspace was calling KGlobalAccel::setEnabled(false) and then KGlobalAccel::setEnabled(true), causing hundreds of XGrabKey and XUngrabKey calls. This problem was multiplied by four times by mods i made to KGlobalAccel allowing it to ignore the ModeSwitch and ScrollLock keys. The sluggishness became apparent, so now it calls KGlobalAccel::setKeyEventEnabled( bool ), which merely disables processing, rather than changing any X-server behavior. Much faster.
...
svn path=/trunk/kdebase/kwin/; revision=99589
2001-05-31 06:22:52 +00:00
Luboš Luňák
0603cb240d
'Logout' and 'Lock screen' keybindings don't really belong to kwin, they
...
belong to kdesktop.
svn path=/trunk/kdebase/kwin/; revision=99466
2001-05-30 13:23:53 +00:00
Helge Deller
6536d083a0
added global "Lock Screen" key-binding (CTRL-ALT-L)
...
svn path=/trunk/kdebase/kwin/; revision=99436
2001-05-30 10:31:03 +00:00
Ellis Whitehead
03d449b0b8
Add flag for working with Meta-key
...
svn path=/trunk/kdebase/kcontrol/; revision=99403
2001-05-30 05:57:16 +00:00
Luboš Luňák
322eaa8daa
Use the new app startup info stuff to implement start_on_desktop.
...
svn path=/trunk/kdebase/kwin/; revision=98620
2001-05-24 21:01:09 +00:00
Luboš Luňák
10672210ae
Better focus handling when sending windows to other desktops.
...
svn path=/trunk/kdebase/kwin/; revision=98455
2001-05-23 20:39:28 +00:00
Dirk Mueller
e3766f1c3b
Xinerama support (patch by Balaji Ramani <balaji@spinnakernet.com>)
...
svn path=/trunk/kdebase/kwin/; revision=96584
2001-05-12 00:33:43 +00:00
Henrik Johnson
10baa96bc7
Add key bindings to move current window to next/previous desktop
...
svn path=/trunk/kdebase/kwin/; revision=96538
2001-05-11 21:38:00 +00:00
Carsten Pfeiffer
3e28074e23
Configure WindowManager
...
svn path=/trunk/kdebase/kwin/; revision=96232
2001-05-10 17:54:57 +00:00
Luboš Luňák
1034a53451
Make KWinModule::activeWindowChanged() emit with 0 when there's no window
...
active - no need to try to focus windows that don't accept it anyway unless
forced to.
svn path=/trunk/kdebase/kwin/; revision=96046
2001-05-09 20:06:46 +00:00
Martijn Klingens
c0d943b01a
Added some icons to the popup menus
...
svn path=/trunk/kdebase/kwin/; revision=95333
2001-05-05 18:28:41 +00:00
Luboš Luňák
e0dbc88040
Implemented NET::SkipPager in kwin, kpager, the pager applet and kstart.
...
Not that I really understand why's there both SkipTaskbar and SkipPager ...
svn path=/trunk/kdebase/kwin/; revision=94832
2001-05-02 20:37:30 +00:00
Matthias Ettrich
d9a7551774
window snapping for all windows, including dialogs (suggestion by Melchior Franz)
...
svn path=/trunk/kdebase/kwin/; revision=93936
2001-04-25 16:15:54 +00:00
Waldo Bastian
42291d5b87
Make Workspace a singleton, accesible via Workspace::self()
...
svn path=/trunk/kdebase/kwin/; revision=93375
2001-04-22 06:51:07 +00:00
Waldo Bastian
57f4808d0f
Make resource management in clients easier with these three functions:
...
init() called after client got loaded
deinit() called when client is about to get unloaded
reset() called once before Options::resetClients() is emitted
svn path=/trunk/kdebase/kwin/; revision=93372
2001-04-22 05:39:17 +00:00
Daniel Molkentin
5c63088d15
- popup->insertItem(i18n("&Decoration"), deco );
...
+ // danimo: Tackat says: use kcontrol!
+ // Will remove the stuff behind later
+ // popup->insertItem(i18n("&Decoration"), deco );
svn path=/trunk/kdebase/kwin/; revision=92401
2001-04-16 22:03:28 +00:00
Luboš Luňák
18d2c93cea
Added private data pointer members to classes which might be accessed
...
by style plugins ( KWin has to keep BC for these ). I hope these are
all classes that need it.
And of course, this change is not binary compatible, but it fortunately
doesn't matter much for KWin these days.
svn path=/trunk/kdebase/kwin/; revision=90127
2001-04-03 14:40:34 +00:00
Luboš Luňák
d194f74314
Reduce wallpaper repaints during desktop switching.
...
svn path=/trunk/kdebase/kwin/; revision=90111
2001-04-03 12:50:32 +00:00
Luboš Luňák
6261311a69
I think I've finally found the right place for the propagateClients() call.
...
Now KWinModule will emit windowAdded() after all properties are set
correctly, but still before activeWindowChanged().
If it breaks something, beat me.
svn path=/trunk/kdebase/kwin/; revision=90016
2001-04-02 22:12:54 +00:00
Adriaan de Groot
2b0e89325f
Added window raise-or-lower
...
svn path=/trunk/kdebase/kwin/; revision=89959
2001-04-02 16:17:06 +00:00
Leon Bottou
715dcc3beb
Workspace::storeLegacySession() now uses kwin_time.
...
svn path=/trunk/kdebase/kwin/; revision=89469
2001-03-30 19:37:40 +00:00
Luboš Luňák
c125639ccb
Make KWinModule first emit windowAdded(), then activeWindowChanged().
...
svn path=/trunk/kdebase/kwin/; revision=89414
2001-03-30 11:50:22 +00:00
Luboš Luňák
4c03fa5c6f
Less flickering when switching virt. desktops.
...
svn path=/trunk/kdebase/kwin/; revision=89410
2001-03-30 11:15:15 +00:00