Commit graph

6443 commits

Author SHA1 Message Date
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
Robin Harold Burchell
f892ffb0e7 Remove flicker when changing effect plugins by not fully reloading compositing plugins anymore.
Replaces one hack with another hack (due to having to support multiple kwin instances),  but provides a much better user experience.
Big thanks to mgraesslin for comments,  review,  and fixes.

BUG: 183107

svn path=/trunk/KDE/kdebase/workspace/; revision=1022489
2009-09-11 21:03:24 +00:00
Matthew Woehlke
35453d1e5b Minor improvements to tab names/tooltips.
svn path=/trunk/KDE/kdebase/workspace/; revision=1022034
2009-09-10 16:05:14 +00:00
Hugo Pereira Da Costa
2a9b681f34 added reimp 'reset' method to update mask when compositing state is changed
svn path=/trunk/KDE/kdebase/workspace/; revision=1021804
2009-09-10 05:13:25 +00:00
Hugo Pereira Da Costa
88dc7eccfd notify decorations when compositing is enabled/disabled
svn path=/trunk/KDE/kdebase/workspace/; revision=1021803
2009-09-10 05:06:53 +00:00
Hugo Pereira Da Costa
3004fba3ce notify decorations when compositing is suspended
svn path=/trunk/KDE/kdebase/workspace/; revision=1021802
2009-09-10 05:05:44 +00:00
Hugo Pereira Da Costa
39731f6d8c added 'SettingCompositing' to notify decorations that compositing state has changed
svn path=/trunk/KDE/kdebase/workspace/; revision=1021801
2009-09-10 05:03:04 +00:00
Michael Jansen
09f7f97831 When removing a desktop set the associated actions global shortcut to empty.
svn path=/trunk/KDE/kdebase/workspace/; revision=1021775
2009-09-10 00:24:45 +00:00
Michael Jansen
fdb11557bf Finally fix setting the global shortcuts. That's how it is supposed
to be done.

svn path=/trunk/KDE/kdebase/workspace/; revision=1021774
2009-09-10 00:24:43 +00:00
Michael Jansen
044acd9591 HINT: It's not the right way to call forgetGlobalShortcut just because you want
to set a new global shortcut for a action. Have a look at the parameters
of setGlobalShortcut()

The method is now only called for newly created actions. No need to overwrite
existing shortcuts. Step 2 will follow with next commit.

svn path=/trunk/KDE/kdebase/workspace/; revision=1021773
2009-09-10 00:24:41 +00:00
Michael Jansen
f37efe22c9 Add a undo() method that does what its name suggest for the global shortcuts
and call it where appropriate.

Leaving the dialog with cancel now leaves the user settings unchanged.
As expected.

svn path=/trunk/KDE/kdebase/workspace/; revision=1021767
2009-09-09 23:44:08 +00:00
Michael Jansen
fff3477452 1. Move adding the "Switch to Desktop %1" actions to init()
2. Document the relation between setting numberSpinBox and filling m_editor
   with defaults

svn path=/trunk/KDE/kdebase/workspace/; revision=1021766
2009-09-09 23:44:06 +00:00
Michael Jansen
22cb0b0226 Never ever discrespect the users current setting. NEVER
svn path=/trunk/KDE/kdebase/workspace/; revision=1021764
2009-09-09 23:44:02 +00:00
Michael Jansen
6b8a3a61a1 ALLWAYS set isConfigurationAction if you create action just for
configuration purposes.

And do it before you set a global shortcut. Doing it after that is good
intention but still tool late.

svn path=/trunk/KDE/kdebase/workspace/; revision=1021763
2009-09-09 23:43:58 +00:00
Hugo Pereira Da Costa
2371de7ac2 removed from relic code from kde-look times, that 1/ was intended to work with compiz 2/ is useless with kwin 3/ is obsoleted by compiz0.8.3
svn path=/trunk/KDE/kdebase/workspace/; revision=1021691
2009-09-09 20:11:05 +00:00
Hugo Pereira Da Costa
2fcb5767d5 removed unused variables
svn path=/trunk/KDE/kdebase/workspace/; revision=1021627
2009-09-09 17:14:23 +00:00
Hugo Pereira Da Costa
c519c41c9f further simplified ::renderWindowBorder, to use ::renderWindowBackground consistently
svn path=/trunk/KDE/kdebase/workspace/; revision=1021621
2009-09-09 17:02:07 +00:00
Hugo Pereira Da Costa
9e1f8372d1 use correct palette for rendering window border
svn path=/trunk/KDE/kdebase/workspace/; revision=1021620
2009-09-09 17:00:50 +00:00
Hugo Pereira Da Costa
4e60677a84 moved backgroundPalette to public (for use by nitrogenbutton)
svn path=/trunk/KDE/kdebase/workspace/; revision=1021619
2009-09-09 17:00:13 +00:00
Hugo Pereira Da Costa
60e95cc624 Used nitrogenclient::renderWindowBackground in place of helper::renderWindowBackground everywhere to honor 'solid color' in title outline. Removed useless white spaces
svn path=/trunk/KDE/kdebase/workspace/; revision=1021600
2009-09-09 16:28:01 +00:00
Marco Martin
e35a07a08d reove the window from the ignored list of the fade effect if the sliding
effect gets removed

svn path=/trunk/KDE/kdebase/workspace/; revision=1021482
2009-09-09 10:05:52 +00:00
Marco Martin
96f8952062 revert last change, it shouldn't have got in
svn path=/trunk/KDE/kdebase/workspace/; revision=1021455
2009-09-09 08:40:21 +00:00
Marco Martin
282d85e859 proxy() not const
remove the ignored windows that are deleted

svn path=/trunk/KDE/kdebase/workspace/; revision=1021452
2009-09-09 08:31:42 +00:00
Hugo Pereira Da Costa
c66c2f05e5 added 'No Side Border' border side option. It is intermediate between Tiny and No Border.
svn path=/trunk/KDE/kdebase/workspace/; revision=1021438
2009-09-09 07:40:07 +00:00
Hugo Pereira Da Costa
3fde3f12f4 added 'No Side Border' border side option. It is intermediate between Tiny and No Border.
svn path=/trunk/KDE/kdebase/workspace/; revision=1021437
2009-09-09 07:39:16 +00:00
Hugo Pereira Da Costa
4208b2bf54 removed extra spaces
svn path=/trunk/KDE/kdebase/workspace/; revision=1021413
2009-09-09 06:22:42 +00:00
Hugo Pereira Da Costa
d403b12336 added proper handling of translation
svn path=/trunk/KDE/kdebase/workspace/; revision=1021412
2009-09-09 06:22:06 +00:00
Hugo Pereira Da Costa
b2c993dc3e added i18n to tab names
svn path=/trunk/KDE/kdebase/workspace/; revision=1021411
2009-09-09 06:20:57 +00:00
Hugo Pereira Da Costa
ea7eb137e8 handle translation flag properly for exception definition
svn path=/trunk/KDE/kdebase/workspace/; revision=1021410
2009-09-09 06:20:06 +00:00