Commit graph

6421 commits

Author SHA1 Message Date
Hugo Pereira Da Costa
9eec5543bf Moved all shadow handling into global cache oxygenShadowCache. This allows to share same
shadow tilesets between clients, thus reducing the memory usage; to simplify the oxygenclient
class; and leave room for optimizing active/inactive shadow transitions. The global class is
declared using K_GLOBAL_STATIC_WITH_ARGS.

Also cleaned-up unnecessary headers.


svn path=/trunk/KDE/kdebase/workspace/; revision=1025063
2009-09-17 22:40:06 +00:00
Hugo Pereira Da Costa
d58e7b7812 fixed (again) issue with shadow and mask for 'no-border' shaded windows, to cope with commit r1023615
svn path=/trunk/KDE/kdebase/workspace/; revision=1024918
2009-09-17 15:24:44 +00:00
Andreas Kling
a26a08830d Always respect the cornerShape(). Fixes a minor visual glitch when a shaped
window is mapped next to a screen edge.

BUG: 197516

svn path=/trunk/KDE/kdebase/workspace/; revision=1024877
2009-09-17 13:08:01 +00:00
Laurent Montel
9bfb085232 Fix "QLayout: Attempting to add QLayout "" to KWin::TabBox::LayoutConfig "LayoutConfigForm", which already has a layout"
svn path=/trunk/KDE/kdebase/workspace/; revision=1024833
2009-09-17 10:07:47 +00:00
Script Kiddy
c2049a9875 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1024781

The following changes were in SVN, but were removed from git:

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Air/metadata.desktop
M	wallpapers/Atra_Dot/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/EOS/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2009-09-17 09:29:41 +00:00
Lucas Murray
02909b5713 Make the default decoration settings even awesomer. Center aligned title
and no separator line.

svn path=/trunk/KDE/kdebase/workspace/; revision=1024689
2009-09-17 08:16:46 +00:00
Lucas Murray
b21b7cbb98 Fix quick tiling and maximization on multi-screen systems.
svn path=/trunk/KDE/kdebase/workspace/; revision=1024688
2009-09-17 08:11:01 +00:00
Lucas Murray
cf86c50d98 Fix quick tiling and maximization GUI and interlocks.
svn path=/trunk/KDE/kdebase/workspace/; revision=1024684
2009-09-17 07:48:24 +00:00
Hugo Pereira Da Costa
c5c7cd79d6 used OxygenShadowConfigration rather than shadowTileOption to detect if shadowTiles are to be recreated, because the latter was both incomplete and redundant with the former.
svn path=/trunk/KDE/kdebase/workspace/; revision=1024657
2009-09-17 05:07:43 +00:00
Hugo Pereira Da Costa
2f5512e00e put equal to operator inline, and fixed logic in order to disable check on outerColor, if the latter is not used
svn path=/trunk/KDE/kdebase/workspace/; revision=1024656
2009-09-17 05:05:45 +00:00
Hugo Pereira Da Costa
1495f281c2 fixed animation glitch when leaving button while pressed
svn path=/trunk/KDE/kdebase/workspace/; revision=1024652
2009-09-17 04:23:38 +00:00
Hugo Pereira Da Costa
45f5f00f9f Removed oxygentimeline (was not working). Use qtimeline directly, to handle animations. It is simpler, and it is actually working. Also changed 'repaint' into 'update' for the slot connected to the timeLine FrameChanged signal. More efficient.
svn path=/trunk/KDE/kdebase/workspace/; revision=1024648
2009-09-17 03:43:55 +00:00
Andreas Kling
ae06efee25 Fixed the vertical alignment of window titles.
svn path=/trunk/KDE/kdebase/workspace/; revision=1024514
2009-09-16 18:36:55 +00:00
Hugo Pereira Da Costa
45717eeae9 Fixed glitch between glow pixmap and icon color when animating glow
svn path=/trunk/KDE/kdebase/workspace/; revision=1024491
2009-09-16 17:16:55 +00:00
Hugo Pereira Da Costa
e679d07b93 Added animated button glow.
svn path=/trunk/KDE/kdebase/workspace/; revision=1024489
2009-09-16 17:09:33 +00:00
Laurent Montel
24270ef9f3 enable disable spinbox when we change checkbox state
svn path=/trunk/KDE/kdebase/workspace/; revision=1024342
2009-09-16 12:08:40 +00:00
Martin Gräßlin
2d0e2c3921 Adding a safety check in coverswitch so that the input window is not destroyed twice.
BUG: 207554

svn path=/trunk/KDE/kdebase/workspace/; revision=1024275
2009-09-16 09:57:17 +00:00
Script Kiddy
f28d0ef21e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1024263

The following changes were in SVN, but were removed from git:

M	wallpapers/Evening/metadata.desktop
2009-09-16 09:54:02 +00:00
Martin Gräßlin
14e8285615 A window which is overlapping screens has to be moved to a position on its screen even if it is the only window on the screen.
BUG: 203210

svn path=/trunk/KDE/kdebase/workspace/; revision=1024193
2009-09-16 09:13:02 +00:00
Hugo Pereira Da Costa
363986a030 fixed Krazy stuff (headers, K classes in place of Q classes, and use of pointers to modal dialogs)
svn path=/trunk/KDE/kdebase/workspace/; revision=1024127
2009-09-16 06:09:31 +00:00
Hugo Pereira Da Costa
1a0eb644f1 Fixed shadow description to 1/ better match old oxygen and ozone default shadow (when using default settings) 2/ avoid 'transparent' line around window when shadow is too small 3/ avoid flatness of inner shadow when shadow is too large. Also made vertical (and horizontal) offsets scale with shadow size, to keep top over bottom shadow size ratio constant.
svn path=/trunk/KDE/kdebase/workspace/; revision=1024115
2009-09-16 03:19:36 +00:00
Martin Gräßlin
08ef17879b Fix improper include guards in tabbox (Krazy issue no 14)
svn path=/trunk/KDE/kdebase/workspace/; revision=1023785
2009-09-15 10:43:42 +00:00
Martin Gräßlin
87c2711665 Use single quotes for single char in kcmtabbox (Krazy issue no 6)
svn path=/trunk/KDE/kdebase/workspace/; revision=1023776
2009-09-15 10:35:45 +00:00
Martin Gräßlin
c6a1918d97 Use a QPointer for modal dialogs in kcmtabbox (Krazy issue no 5) and make some dialogs modal which should be modal.
svn path=/trunk/KDE/kdebase/workspace/; revision=1023767
2009-09-15 10:31:52 +00:00
Martin Gräßlin
eb95fc7cba Fix typos in comments of tabbox (Krazy issue 28).
svn path=/trunk/KDE/kdebase/workspace/; revision=1023737
2009-09-15 10:06:27 +00:00
Hugo Pereira Da Costa
8244e7644f Changed nitrogen class names and file names into oxygen; adding Oxygen namespace where missing; updated CMakeFiles.txt accordingly
svn path=/trunk/KDE/kdebase/workspace/; revision=1023654
2009-09-15 07:12:54 +00:00
Hugo Pereira Da Costa
8eecf6375c Moved Nitrogen to Oxygen deco, and removed Nitrogen.
It is believed that Nitrogen is versatile enough to satisfy most users, and that it is 
good-looking enough to make Nuno happy.

CCMAIL: kwin@kde.org
BUG: 160627

svn path=/trunk/KDE/kdebase/workspace/; revision=1023636
2009-09-15 06:25:06 +00:00
Hugo Pereira Da Costa
c7f4edf5e1 Removed oxygen decoration
svn path=/trunk/KDE/kdebase/workspace/; revision=1023633
2009-09-15 05:36:30 +00:00
Hugo Pereira Da Costa
a614c6fa55 fixed (again) corner bevel scaling. Disabled bevel of bottom corners in 'no-border' mode; and fixed glow gradient to implement offsets
svn path=/trunk/KDE/kdebase/workspace/; revision=1023615
2009-09-15 02:16:31 +00:00
Hugo Pereira Da Costa
d9e1f47050 fixed 'scaling' issue when drawing beveled corners
svn path=/trunk/KDE/kdebase/workspace/; revision=1023612
2009-09-15 01:43:18 +00:00
Hugo Pereira Da Costa
072ffcc405 try rationalize 'window-specifics' dialog text
svn path=/trunk/KDE/kdebase/workspace/; revision=1023600
2009-09-15 00:58:51 +00:00
Hugo Pereira Da Costa
be7affcaab fixed class members naming convention
svn path=/trunk/KDE/kdebase/workspace/; revision=1023570
2009-09-14 23:10:19 +00:00
Andreas Hartmetz
37ec3b56af fix the build. however it is *very* unclear what colorGroup[()?] actually is. two suggestion would be using naming conventions like m_* to mark member variables and not to be too clever with namespaces.
svn path=/trunk/KDE/kdebase/workspace/; revision=1023561
2009-09-14 22:36:29 +00:00
Hugo Pereira Da Costa
f6973ae9dd added support for fully configurable shadows, on agreement with Nuno.
svn path=/trunk/KDE/kdebase/workspace/; revision=1023467
2009-09-14 19:21:39 +00:00
Michael Zanetti
400ee1a6c8 work correctly with multiple modal windows
svn path=/trunk/KDE/kdebase/workspace/; revision=1023324
2009-09-14 14:22:31 +00:00
Markus Meik Slopianka
d26256cc22 BUG: 207136
svn path=/trunk/KDE/kdebase/workspace/; revision=1023070
2009-09-13 20:19:24 +00:00
Laurent Montel
a3a55182ba Fix forward-declaration
svn path=/trunk/KDE/kdebase/workspace/; revision=1023067
2009-09-13 20:15:21 +00:00
Laurent Montel
9178d9c191 Fix forward declaration
svn path=/trunk/KDE/kdebase/workspace/; revision=1023066
2009-09-13 20:14:27 +00:00
Laurent Montel
f26ea79b6d Extract messahes
svn path=/trunk/KDE/kdebase/workspace/; revision=1023060
2009-09-13 19:37:03 +00:00
Laurent Montel
da5394f620 fix ui files
svn path=/trunk/KDE/kdebase/workspace/; revision=1023007
2009-09-13 17:53:58 +00:00
Robin Harold Burchell
102ec081e2 Extend on the quicktiling(/snap) work by mgraesslin in r1021305:
- Add hotkeys for snap left/snap right, kwin won't need a seperate hotkey for snap up, as maximize will do that job for us, and it already has a hotkey
 - Add geometry restoring to quick tile, meaning that windows can be moved back to their original state after a tile, useful if just looking at something quickly.

Thanks to mgraesslin for review and lots of mentoring.

svn path=/trunk/KDE/kdebase/workspace/; revision=1022987
2009-09-13 17:09:44 +00:00
Hugo Pereira Da Costa
cb7e8d9644 added button to detect properties (title and class) from window under mouse to build window-specifics override. Also removed unnecessary setMargin and setSpacing to use KDE/QT defaults in dialog design
svn path=/trunk/KDE/kdebase/workspace/; revision=1022971
2009-09-13 16:43:26 +00:00
Robin Harold Burchell
a1e6118f15 Make hitting buttons when maximized easier.
Reported and patched by Charles Huber.

CCBUG: 143851

svn path=/trunk/KDE/kdebase/workspace/; revision=1022908
2009-09-13 13:57:33 +00:00
Martin Gräßlin
eee788f45a Don't crash when focus chain is empty.
svn path=/trunk/KDE/kdebase/workspace/; revision=1022903
2009-09-13 13:46:58 +00:00
Andreas Kling
c4b279eed5 Fixed two uninitialized reads on startup ({m_,}isShown)
svn path=/trunk/KDE/kdebase/workspace/; revision=1022869
2009-09-13 12:15:04 +00:00
Martin Gräßlin
76f17e6de1 Here comes the new TabBox. It is a complete rewrite using a MVC approach. Here some highlights:
* Models and Delegates for Clients and Desktops
 * Horizontal, vertical and tabular layout
 * Layout of one item can be configured by an XML definition
 * A desktop item can include a client list
 * An optional second list view showing only the selected item
 * A new KCM "kwintabbox"
 * An alternative TabBox with independent settings and keybindings
 * Optional Highlight Windows effect integration
 * List scrolls instead of removing items
 * Scroll wheel support
 * Cursor key support
 * Middle click on item closes window
BUG: 195745
BUG: 197187
BUG: 201103
FEATURE: 118184
FEATURE: 156723
FEATURE: 177441
FEATURE: 182897
FEATURE: 193882
GUI:

svn path=/trunk/KDE/kdebase/workspace/; revision=1022861
2009-09-13 11:36:45 +00:00
Andreas Kling
00b1ad8e18 Plug an X11 property leak in Client::getSyncCounter()
svn path=/trunk/KDE/kdebase/workspace/; revision=1022615
2009-09-12 09:42:03 +00:00
Andreas Kling
0204c2127c Fixed some uses of uninitialized data (SceneOpenGL::selfCheckDone and TimeLine::m_CurveShape)
svn path=/trunk/KDE/kdebase/workspace/; revision=1022613
2009-09-12 09:38:12 +00:00
Martin Gräßlin
faa64877bf Add keybinding for show desktop.
No shortcut is set by default. Thanks to Alexander (alex3255) for providing the patch.
FEATURE: 182729

svn path=/trunk/KDE/kdebase/workspace/; revision=1022596
2009-09-12 08:01:44 +00:00
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