Commit graph

880 commits

Author SHA1 Message Date
David Faure
c782732ce9 There it goes again. This time for good.
This code is opensource, we have every right to distribute it as part of KDE.

svn path=/trunk/kdebase/kwin/; revision=103029
2001-06-19 14:32:08 +00:00
Script Kiddy
33c2639574 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=103028
2001-06-19 14:30:56 +00:00
Daniel M. Duley
11e5ed61c2 See my earlier mail.
svn path=/trunk/kdebase/kwin/; revision=102970
2001-06-19 06:02:53 +00:00
Daniel M. Duley
4232fe0ae2 Nope
svn path=/trunk/kdebase/kwin/; revision=102955
2001-06-19 02:40:24 +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
Michael Matz
fd2b635e45 build B2
svn path=/trunk/kdebase/kwin/; revision=102785
2001-06-18 02:18:04 +00:00
Michael Matz
10af9bc3a2 Putting the pixmaps into an array, which was TODO from the beginning ;-)
svn path=/trunk/kdebase/kwin/; revision=102784
2001-06-18 02:15:36 +00:00
Michael Matz
7c239c69ba No sir. This one stays.
svn path=/trunk/kdebase/kwin/; revision=102782
2001-06-18 01:59:02 +00:00
Script Kiddy
ffdf3910d2 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=102500
2001-06-16 16:18:34 +00:00
Daniel M. Duley
29af54215b Removing the styles I wrote except the default one, and will be maintaining
them outside of CVS.

svn path=/trunk/kdebase/kwin/; revision=102431
2001-06-16 00:48:49 +00:00
Script Kiddy
bbee1d9340 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=102398
2001-06-15 19:53:22 +00:00
Dirk Mueller
86cdafb883 small cleanup - no functional change
svn path=/trunk/kdebase/kwin/; revision=102227
2001-06-14 23:55:44 +00:00
Script Kiddy
5a2be7e5eb CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=102166
2001-06-14 17:35:58 +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
Ralf Nolden
4e7519f774 added soundscheme filenames to the eventsrc. The user otherwise has a
horrible time enabling the soundscheme and it shortens kpersonalizer's
code by far :)

svn path=/trunk/kdebase/kwin/; revision=101815
2001-06-12 14:16:44 +00:00
Script Kiddy
539745fb0d CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=101663
2001-06-11 17:49:48 +00:00
Rik Hemsley
d8ba9584a1 Fixed off-by-one error in mousePosition()
svn path=/trunk/kdebase/kwin/; revision=101425
2001-06-10 21:59:22 +00:00
Rik Hemsley
71618ff55c Hey gallium, this patch makes it look cool in black.
You disappeared off IRC, so I'll check this in and you can revert
if you hate it :)

svn path=/trunk/kdebase/kwin/; revision=101323
2001-06-10 13:37:12 +00:00
Karol Szwed
ba45a39fa5 Make the titlebar gradient colors follow Options::TitleBlend as well.
This one is for Kand-ALF :)

svn path=/trunk/kdebase/kwin/; revision=101318
2001-06-10 13:06:05 +00:00
Karol Szwed
572cfb125f Making titlebar double click follow kcontrol window conveentions.
Added missing mousePosition() function.

svn path=/trunk/kdebase/kwin/; revision=101314
2001-06-10 12:27:26 +00:00
Karol Szwed
096025d7ed Renaming "foo Decoration Settings" to "Decoration Settings" to remove
redundancy in the config modules.

svn path=/trunk/kdebase/kwin/; revision=101301
2001-06-10 11:05:15 +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
d4dabdb756 Removing the old kwin default client
svn path=/trunk/kdebase/kwin/; revision=100840
2001-06-07 11:38:05 +00:00
Karol Szwed
97b0ee49e1 Default style update:
- Modifying the default style to use the new kwin plugin interface for proper
  resource management.
- The new default style looks nearly the same, but adds several nice features
  such as titlebar height and button position customisation among others,
  and adds a config module for configuration.
- kwin plugin loader modified to reflect the new default plugin change. The
  old default will be removed shortly.
- oh, and never ever flicker :)

svn path=/trunk/kdebase/kwin/; revision=100839
2001-06-07 11:35:06 +00:00
Luboš Luňák
7afe6d11c7 Reverting r1.242 - WM_NAME is ICCCM, not NET_WM , and it's not UTF8.
svn path=/trunk/kdebase/kwin/; revision=100452
2001-06-04 21:55:14 +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
Karol Szwed
3ecb89d03f Removed some unused headers, and made titlebar buttons visible
on isMinimizable() and isMaximizable()

svn path=/trunk/kdebase/kwin/; revision=100360
2001-06-04 12:32:26 +00:00
Karol Szwed
2333114db6 - Changed from using kwinrc to kwinicewmrc not to clutter kwin's config
- Added missing stickyChange(bool) since this client was based on Quartz
- Minimised shade animation flicker (all unpainted areas are painted now)
- Code cleanup
- some other things I probably can't remember anymore :)

svn path=/trunk/kdebase/kwin/; revision=100352
2001-06-04 11:49:35 +00:00
Karol Szwed
b48692a6c4 - Removed some shading flicker
- Paints all uncovered areas when a window is shaded

svn path=/trunk/kdebase/kwin/; revision=100339
2001-06-04 10:11:21 +00:00
Karol Szwed
ea93dcc2a4 - Follows stickyChange(bool) now - I should be shot for basing quartz on win2k
- Uses its own config file "kwinquartzrc" not to clutter kwinrc
- Fixed an unpainted area problem when windows are shaded

svn path=/trunk/kdebase/kwin/; revision=100337
2001-06-04 09:51:23 +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
a8fb7ecd4a Default shortcuts for maximize, minimize & shade using the Meta key
svn path=/trunk/kdebase/kwin/; revision=100315
2001-06-04 05:32:18 +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
Script Kiddy
8b55c2d232 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=100253
2001-06-03 21:21:09 +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
Stephan Kulow
b16109eb07 NET_WM saves in utf-8:
-               s = QString::fromLocal8Bit( (const char*) tp.value );
+               s = QString::fromUtf8( (const char*) tp.value );

svn path=/trunk/kdebase/kwin/; revision=99426
2001-05-30 09:38:18 +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
Karol Szwed
e7a3ecfd82 Added patch by Melchior to move the [ModernSystem] section in the kwinrc
file into kwinmodernsysrc

svn path=/trunk/kdebase/kwin/; revision=99266
2001-05-29 07:10:17 +00:00
Malcolm Hunter
869ac89c8f Spelling and grammar corrections
svn path=/trunk/kdebase/kwin/; revision=99204
2001-05-28 18:32:02 +00:00
Lennart Kudling
35263f3b77 add mwm at last
svn path=/trunk/kdebase/kwin/; revision=98910
2001-05-26 20:56:32 +00:00
Lennart Kudling
fa39ba305a it basically works now
svn path=/trunk/kdebase/kwin/; revision=98909
2001-05-26 20:56:20 +00:00
Karol Szwed
2ade4cc7ec Small code cleanups and window border color config option added.
svn path=/trunk/kdebase/kwin/; revision=98802
2001-05-26 02:34:47 +00:00
Karol Szwed
1e7469d54e Fixed several bugs:
- When titlebutton pixmaps totally cover a toolbutton, they are
	  moved by a (1,1) offset when clicked so users have a visual prompt
	  that they are attempting to click the button. (i.e. for MGBreizh theme)
	- Titlebar buttons follow isMinimizable() and isMaximizable() and
	  are hidden when not required
	- Sticky button is drawn correctly now
	- Made shading animation nice and smooth

svn path=/trunk/kdebase/kwin/; revision=98699
2001-05-25 11:17:29 +00:00