Commit graph

18261 commits

Author SHA1 Message Date
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
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
Karol Szwed
cba4ba635d Fixed a nasty null pointer reference during window icon change.
svn path=/trunk/kdebase/kwin/; revision=98374
2001-05-23 08:21:29 +00:00
Luboš Luňák
b975b5622b Oops, forgot the defaults.
svn path=/trunk/kdebase/kwin/; revision=98216
2001-05-22 07:36:26 +00:00
Malcolm Hunter
7187b01f9d Spelling and grammar corrections
svn path=/trunk/kdebase/kcontrol/; revision=98188
2001-05-22 01:15:09 +00:00
Waldo Bastian
a2091e91af Center window titles vertically. Especially usefull when using large fonts.
-                   AlignLeft, caption() );
+                   AlignLeft|AlignVCenter, caption() );

svn path=/trunk/kdebase/kwin/; revision=98182
2001-05-21 23:51:02 +00:00
Waldo Bastian
ac5556a78d Don't crash on divisions by zero.
svn path=/trunk/kdebase/kwin/; revision=98171
2001-05-21 23:02:38 +00:00
Malcolm Hunter
ade32a5124 *** empty log message ***
svn path=/trunk/kdebase/kwin/; revision=97893
2001-05-20 00:40:28 +00:00
Rik Hemsley
678a95dad2 Reverting resize-at-top by malte. Sorry, but this is how I want the
style to be. I don't like styles that let you resize by the top edge.
I want to be able to throw the mouse to the screen top or corners and
hit the buttons or the titlebar so I can iconify, close or move the
window.

svn path=/trunk/kdebase/kwin/; revision=97774
2001-05-19 02:05:58 +00:00
Rik Hemsley
8a597cc22e Don't crash. Thanks to gallium for pointing this out.
svn path=/trunk/kdebase/kwin/; revision=97773
2001-05-19 01:58:07 +00:00
Waldo Bastian
8b5d812a5f CVS_SILENT
Move $(all_includes) to end.

svn path=/trunk/kdebase/kwin/; revision=97772
2001-05-19 01:39:13 +00:00
Michael Matz
be37d317bd first search in srcdir, to not depend on installed headers.
-INCLUDES                  = $(all_includes) -I$(top_srcdir)
+INCLUDES                  = -I$(top_srcdir) $(all_includes)

svn path=/trunk/kdebase/kwin/; revision=97744
2001-05-18 20:22:57 +00:00
Script Kiddy
f5c0f445de CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=97200
2001-05-15 15:30:31 +00:00
Joerg Habenicht
69ae5062c2 bugfix: $(topdir) -> $(top_srcdir)
svn path=/trunk/kdebase/kwin/; revision=97161
2001-05-15 09:52:43 +00:00
Joerg Habenicht
54a3e5f999 added includepath to config.h file in kdebase/kwin
svn path=/trunk/kdebase/kwin/; revision=97153
2001-05-15 08:50:30 +00:00
Malte Starostik
d4304445d5 Support for resizing windows on the top border
svn path=/trunk/kdebase/kwin/; revision=96759
2001-05-13 06:58:29 +00:00
Karol Szwed
070353f3f5 Adding a few cleanups by Melchior
svn path=/trunk/kdebase/kwin/; revision=96754
2001-05-13 05:47:49 +00:00
Malte Starostik
dc874cdc2f Use the standard kwin button order configuration instead of an own one
svn path=/trunk/kdebase/kwin/; revision=96753
2001-05-13 05:19:20 +00:00
Karol Szwed
d551bc8c15 Small repaint fix
svn path=/trunk/kdebase/kwin/; revision=96611
2001-05-12 07:57:55 +00:00