Commit Graph

209 Commits (743e058af560875c275cc1070ea069fbe629f5d6)

Author SHA1 Message Date
Robin Harold Burchell f585e4e1d9 A number of small warning fixes (bracketing, etc) to help pick up real problems when working.
svn path=/trunk/KDE/kdebase/workspace/; revision=1022531
2009-09-11 23:44:29 +00:00
A. Lynn Spehr 72521c5691 This somehow escaped being included in r964140...
CCBUG:164261

svn path=/trunk/KDE/kdebase/workspace/; revision=965103
2009-05-07 23:24:20 +00:00
Fredrik Höglund 8bba7aed7d Make it possible for the decorations to paint outside the window frame
when compositing is enabled, by letting them add additional padding
to the sides of the frame.

svn path=/trunk/KDE/kdebase/workspace/; revision=963586
2009-05-04 22:35:33 +00:00
Fredrik Höglund 43856dc300 Fix a coding style issue.
svn path=/trunk/KDE/kdebase/workspace/; revision=957672
2009-04-22 17:22:40 +00:00
Urs Wolfer 63a77d245b SVN_SILENT
revert unwanted change from r926381

svn path=/trunk/KDE/kdebase/workspace/; revision=926383
2009-02-15 10:07:41 +00:00
Urs Wolfer 5ef15617d1 * KDE4_KDE3SUPPORT_LIBS--
* warnings--

svn path=/trunk/KDE/kdebase/workspace/; revision=926381
2009-02-15 10:04:01 +00:00
Luboš Luňák b50a8d352a Compress possible several reasons for resetting compositing.
svn path=/trunk/KDE/kdebase/workspace/; revision=923836
2009-02-09 14:37:07 +00:00
Luboš Luňák 4d82d2291e Don't needlessly setup compositing twice during startup.
Xrandr seems to like to send events about "changes" right
after application startup.


svn path=/trunk/KDE/kdebase/workspace/; revision=923829
2009-02-09 14:31:42 +00:00
Frederik Schwarzer a604e4a60d global typo fix
svn path=/trunk/KDE/kdebase/workspace/; revision=922431
2009-02-07 01:12:28 +00:00
Lucas Murray d5a630cabd When window shade hovering is enabled do not immediately shade the
window once the cursor leaves the window, instead wait a little while.
Patch by Marcel Partap.
BUG: 81085

svn path=/trunk/KDE/kdebase/workspace/; revision=897056
2008-12-15 08:27:17 +00:00
Lucas Murray 6d41a1320e Moved all debug, warning and error messages into the KWin 1212 area.
Replaced deprecated kdDebug() with kDebug().
Removed empty debug messages.

svn path=/trunk/KDE/kdebase/workspace/; revision=885620
2008-11-17 15:04:52 +00:00
Jason vanRijn Kasper fb0a01228f This change allows KWin to use the new NETWinInfo2 class (binary
compatibility class) and subsequently properly handle the
_NET_WM_FULLSCREEN_MONITORS EWMH spec hint.

svn path=/trunk/KDE/kdebase/workspace/; revision=885362
2008-11-17 08:03:39 +00:00
Luboš Luňák b93766efc8 Make the cached stacking order invalid right after sending X command for changing it,
in case the new stacking order is needed before kwin gets the matching event,
due to X being asynchronous.
BUG: 171033


svn path=/trunk/KDE/kdebase/workspace/; revision=866605
2008-10-01 12:49:52 +00:00
Luboš Luňák 6c04eb4a6a When window shape changes, also cause a workspace repaint, just in case
the change removes part of a window. Also, window repaint is enough,
no need to damage the window contents.


svn path=/trunk/KDE/kdebase/workspace/; revision=866350
2008-09-30 16:45:24 +00:00
Luboš Luňák c6230db535 Stop the compositing timer when idle.
FEATURE: 155694


svn path=/trunk/KDE/kdebase/workspace/; revision=854913
2008-08-30 15:28:47 +00:00
Luboš Luňák 09d81b7e87 Cache the result of XQueryTree().
svn path=/trunk/KDE/kdebase/workspace/; revision=851667
2008-08-24 10:35:45 +00:00
Luboš Luňák 818070d3aa Keep fullscreen windows covering the whole screen when it is the topmost
window on its xinerama screen.
FEATURE: 126817


svn path=/trunk/KDE/kdebase/workspace/; revision=851204
2008-08-23 09:20:42 +00:00
Luboš Luňák 63b01aff5d Rework handling of mapping and unmapping windows, in particular:
- the NormalState/IconicState things in ICCCM need to match exactly
  the real mapping state, so ensure that, no matter how superfluous that is
- extend the option for having live window previews either for all
  windows or for only all shown windows (default)
FEATURE: 163385


svn path=/trunk/KDE/kdebase/workspace/; revision=845772
2008-08-12 11:02:58 +00:00
Luboš Luňák 43d5a25d39 Don't activate inactive windows on wheeling over them.
BUG: 161174


svn path=/trunk/KDE/kdebase/workspace/; revision=817599
2008-06-06 11:40:38 +00:00
Luboš Luňák 2f8d2751a1 Fix handling of stacking order of unmanaged windows. Could maybe use a little
bit more of optimization.
BUG: 157878


svn path=/trunk/KDE/kdebase/workspace/; revision=800581
2008-04-24 12:53:03 +00:00
Luboš Luňák fb7f6b67e1 Discard window pixmap only if the window actually resizes.
svn path=/trunk/KDE/kdebase/workspace/; revision=787945
2008-03-20 09:58:46 +00:00
Luboš Luňák cda4477458 Add a hack that somewhat improves screen repaint after X session
switch with drivers that have a problem with this.
CCBUG: 154825


svn path=/trunk/KDE/kdebase/workspace/; revision=783860
2008-03-09 20:06:11 +00:00
Luboš Luňák cd8e69aff3 Add break.
svn path=/trunk/KDE/kdebase/workspace/; revision=764703
2008-01-22 11:39:31 +00:00
Luboš Luňák b053544c72 Trigger full repaint after configuration change and after switching to X,
just in case.
BUG: 154825


svn path=/trunk/KDE/kdebase/workspace/; revision=761857
2008-01-15 13:06:26 +00:00
Luboš Luňák 0bbc0fa5dc Support for getting PropertyNotify events - effects can have their
own properties for communication with something outside of kwin.
Intended now mainly for a better taskbar thumbnails effect.


svn path=/trunk/KDE/kdebase/workspace/; revision=755991
2008-01-02 15:21:33 +00:00
Luboš Luňák 60e904fb04 Don't refuse explicit window activation request just because the window
is not on the current desktop.


svn path=/trunk/KDE/kdebase/workspace/; revision=742984
2007-11-29 15:01:30 +00:00
Luboš Luňák 01bf6cbb4c License cleanup - add headers where missing, be explicit about GPL
being v2+ (right now it says just GPL, which according to GPL itself
means any GPL). Decoration clients will come later.
CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=742302
2007-11-27 19:40:25 +00:00
Luboš Luňák 0e55f109c5 Don't do any compositing when nothing is visible anyway (e.g. when switched
away from the X session).


svn path=/trunk/KDE/kdebase/workspace/; revision=726713
2007-10-18 17:58:08 +00:00
Luboš Luňák 4a66783f51 Silence.
svn path=/trunk/KDE/kdebase/workspace/; revision=723460
2007-10-09 18:38:29 +00:00
Arto Hytönen b494cddaa9 includes, include guards and typos fixed
svn path=/trunk/KDE/kdebase/workspace/; revision=705066
2007-08-27 04:31:52 +00:00
Luboš Luňák ca87a4bae2 In mouse focus policies, change active window only when the mouse actually
moves, not as a result of window changes (#92290).


svn path=/trunk/KDE/kdebase/workspace/; revision=704202
2007-08-24 09:46:56 +00:00
Luboš Luňák f3997b2739 When removing grabs from the set, first grab all, don't assume it's
there from somewhen before.


svn path=/trunk/KDE/kdebase/workspace/; revision=703900
2007-08-23 15:12:25 +00:00
Luboš Luňák 51e7514b11 No idea why I removed this in r659308.
BUG: 149011


svn path=/trunk/KDE/kdebase/workspace/; revision=703896
2007-08-23 15:08:39 +00:00
Laurent Montel 994c800d79 Adapt to new KWarning/kFatal/kDebug api
svn path=/trunk/KDE/kdebase/workspace/; revision=695877
2007-08-03 06:59:24 +00:00
Luboš Luňák 63a0120a60 Remove some no longer relevant todos.
svn path=/trunk/KDE/kdebase/workspace/; revision=689955
2007-07-19 16:38:46 +00:00
Luboš Luňák ab1582de27 It's really interesting that KWin has had support for an arbitrary root
window, but I don't think it really works these days, and it's probably
also not useful at all.


svn path=/trunk/KDE/kdebase/workspace/; revision=689949
2007-07-19 16:24:51 +00:00
Luboš Luňák 162d6ac7c9 Support for _NET_WM_SYNC_REQUEST, based on a patch
by Rayiner Hashem <gtg990h@mail.gatech.edu>.


svn path=/trunk/KDE/kdebase/workspace/; revision=679986
2007-06-25 08:51:44 +00:00
Luboš Luňák 27f67f3428 Dump support for the KDE systray mechanism. Hurray.
svn path=/trunk/KDE/kdebase/workspace/; revision=677076
2007-06-18 12:28:11 +00:00
Luboš Luňák a47797e80a Read desktop layout also during startup.
svn path=/trunk/KDE/kdebase/workspace/; revision=669892
2007-05-30 18:17:18 +00:00
Luboš Luňák 1caa3f95ed Properly check for all needed extensions and handle gracefully absence.
svn path=/trunk/KDE/kdebase/workspace/; revision=669827
2007-05-30 14:22:09 +00:00
Luboš Luňák 1040404a2a Track stacking order of unmanaged windows.
svn path=/trunk/KDE/kdebase/workspace/; revision=667686
2007-05-23 16:22:59 +00:00
Luboš Luňák 61ada25cdf Rework r293762 - enter move/resize mode also when the user just
holds the mouse button down for a moment, without moving.


svn path=/trunk/KDE/kdebase/workspace/; revision=667351
2007-05-22 15:46:42 +00:00
Luboš Luňák 8bb79367cd Merging from old trunk:
r633205 | lunakl | 2007-02-13 15:09:23 +0100 (Tue, 13 Feb 2007) | 3 lines

Implement _NET_DESKTOP_LAYOUT.


svn path=/trunk/KDE/kdebase/workspace/; revision=659545
2007-04-30 12:00:32 +00:00
Luboš Luňák 125cfda8e0 Merging from old trunk:
r626731 | lunakl | 2007-01-24 14:49:28 +0100 (Wed, 24 Jan 2007) | 4 lines

Revert r427993 (#106013) as it causes #140023.
BUG: 140023


svn path=/trunk/KDE/kdebase/workspace/; revision=659526
2007-04-30 11:36:55 +00:00
Luboš Luňák 8c5d3af9d5 Merging from old trunk:
r605401 | lunakl | 2006-11-16 17:56:16 +0100 (Thu, 16 Nov 2006) | 7 lines

Fix finding the most recently raised window when updating mouse
grab for click raise (#137119).

And I think I'll have somewhen to fix all the tabs and other
horrible things porting has done to indentation.


svn path=/trunk/KDE/kdebase/workspace/; revision=659312
2007-04-29 22:39:07 +00:00
Luboš Luňák b9ce4b2954 Merging from old trunk:
r603295 | lunakl | 2006-11-08 14:59:27 +0100 (Wed, 08 Nov 2006) | 6 lines

Ok, with a compositing manager running, VisibilityNotify no longer
considers windows not visible just because a window is above them,
so the code from r198017 no longer works.
(#128648)


svn path=/trunk/KDE/kdebase/workspace/; revision=659308
2007-04-29 22:37:19 +00:00
Luboš Luňák f52b8e48cd branches/work/kwin_composite becomes new trunk kwin.
svn path=/trunk/KDE/kdebase/workspace/; revision=659202
2007-04-29 17:35:43 +00:00
Luboš Luňák 2b7e1f4993 Remove kwin, kwin_composite will become new trunk kwin, missing merges
from trunk will be merged in.


svn path=/trunk/KDE/kdebase/workspace/; revision=659200
2007-04-29 17:34:49 +00:00
Luboš Luňák 76cb5de294 Support for effects taking control of the keyboard. Needs recent kdeui change
to work properly.


svn path=/branches/work/kwin_composite/; revision=654259
2007-04-15 16:31:13 +00:00
Luboš Luňák 67f830d223 Use symbolic name for keyboard modifiers mask instead
of hardcoded and wrong value.


svn path=/branches/work/kwin_composite/; revision=654234
2007-04-15 14:56:38 +00:00