Commit graph

43 commits

Author SHA1 Message Date
Laurent Montel
5de42c4b68 Remove qt3_support into qstring
svn path=/trunk/KDE/kdebase/workspace/; revision=463544
2005-09-24 12:26:22 +00:00
Frank Karlitschek
5640dbc81b new default window decoration
svn path=/trunk/kdebase/kwin/; revision=347287
2004-09-17 21:09:28 +00:00
Luboš Luňák
87f8a85083 Added KDecorationFactory::checkRequirements(), which allows the decoration
plugin to check what the core supports, i.e. the opposite of supports().
Not used yet, but apparently will be needed e.g. for the new tranparency.

svn path=/trunk/kdebase/kwin/; revision=269291
2003-11-24 14:22:04 +00:00
Luboš Luňák
10f405c73d Merging kwin core from kwin_iii back to HEAD.
svn path=/trunk/kdebase/kwin/; revision=251608
2003-09-16 19:28:03 +00:00
Luboš Luňák
92cc980241 Make sure people can switch between HEAD and kwin_iii.
svn path=/trunk/kdebase/kwin/; revision=246934
2003-08-30 18:02:59 +00:00
Dirk Mueller
961f8f2173 typo fixes
svn path=/trunk/kdebase/kcontrol/; revision=233092
2003-06-22 23:37:37 +00:00
Kevin Puetz
cae8f9da18 commit fix for jcook
create_ptr and old_create_ptr have incompatible types, apparently
some compilers don't the type problem and complain (2.95.4 at least)

svn path=/trunk/kdebase/kwin/; revision=227517
2003-05-24 02:33:48 +00:00
Luboš Luňák
416f10d743 Nasty bug (not that actually anybody uses it though).
svn path=/trunk/kdebase/kwin/; revision=227281
2003-05-22 16:38:33 +00:00
Dirk Mueller
e3d4b7625c don't interpret format strings
svn path=/trunk/kdebase/kwin/; revision=199217
2003-01-12 13:00:03 +00:00
Fredrik Höglund
de4206660d Fixed the display depth test so we get the right default style on
24/32 bpp. Apparently QPixmap::defaultDepth() was called before
the screen info had been initialized in Qt.

svn path=/trunk/kdebase/kwin/; revision=186283
2002-10-28 22:54:25 +00:00
Karol Szwed
25e04fe680 Switch over to Keramik deco, (or Quartz for 8bpp visuals)
svn path=/trunk/kdebase/kwin/; revision=185724
2002-10-26 14:34:46 +00:00
Luboš Luňák
88c7d513f6 Use KLibrary::hasSymbol() before actually using symbol() in order to
avoid warning from KLibrary in case the symbol doesn't exist.

svn path=/trunk/kdebase/kwin/; revision=178239
2002-09-16 14:14:29 +00:00
Till Krech
7c1d536ad3 make it compile again...
RCS file: /home/kde/kdebase/kwin/client.h,v
retrieving revision 1.82
diff -u -p -r1.82 client.h
--- client.h    2002/07/05 20:00:02     1.82
+++ client.h    2002/07/06 02:04:23
@@ -155,7 +155,7 @@ public:
     bool isDesktop() const;
     bool isDock() const;
     bool isTool() const;
-    bool isMenu() const;
+    bool isTopMenu() const;

     bool isResizable() const;

Index: plugins.cpp
===================================================================
RCS file: /home/kde/kdebase/kwin/plugins.cpp,v
retrieving revision 1.30
diff -u -p -r1.30 plugins.cpp
--- plugins.cpp 2002/07/05 20:05:22     1.30
+++ plugins.cpp 2002/07/06 02:04:23
@@ -119,7 +119,7 @@ bool PluginMgr::loadPlugin(QString nameS

     void* create_func = library->symbol("create");
     if(create_func) {
-        create_ptr = (Client* (*)(Workspace *ws, WId w, NET::WindowType, NET::WindowType))create_func                                   ;
+        create_ptr = (Client* (*)(Workspace *ws, WId w, NET::WindowType))create_func;
     }
     create_func = library->symbol("allocate");
     if(create_func) {

svn path=/trunk/kdebase/kwin/; revision=165118
2002-07-06 02:05:46 +00:00
Luboš Luňák
1fab5c76ce NET::Menu -> NET::TopMenu, and make NET::Menu mean what it is supposed to mean.
+ backward compatibility hack

svn path=/trunk/kdebase/kwin/; revision=165076
2002-07-05 20:05:22 +00:00
Matthias Ettrich
d05c588ffb part of Karol's fix: keep the old library in loadPlugin() so that
updatePlugin() can call the reset() function.

svn path=/trunk/kdebase/kwin/; revision=141202
2002-03-05 19:02:24 +00:00
Matthias Ettrich
dd29e3723c faster configuration changes. No crashes when reconfiguring kwin
several times with invalid plugin strings (happens when running
today's kpersonalizer)

svn path=/trunk/kdebase/kwin/; revision=139725
2002-03-01 01:34:54 +00:00
David Faure
34bbc5e457 qWarning -> kdWarning
svn path=/trunk/kdebase/kwin/; revision=138408
2002-02-24 18:16:45 +00:00
Simon Hausmann
71b35e9a0c - use KLibrary/KLibLoader instead of libltdl
svn path=/trunk/kdebase/kwin/; revision=138343
2002-02-24 10:41:20 +00:00
Adrian Schroeter
aebf39c8df compile fix, since KDE has no own ltdl anymore.
old libtool ltdl.h have #defines for lt_ptr_t. New ones are simply using
lt_ptr for lt_ptr_t.

svn path=/trunk/kdebase/kwin/; revision=138132
2002-02-23 00:41:48 +00:00
Stephan Kulow
e3e09f533d use kwin_ instead of libkwin
svn path=/trunk/kdebase/kwin/; revision=137446
2002-02-19 16:56:16 +00:00
Daniel Molkentin
3cba456ff4 QFile::encodeName() here, too
svn path=/trunk/kdebase/kwin/; revision=129232
2001-12-31 01:54:45 +00:00
Dirk Mueller
375f175fbb CVSSILENT: fixincludes
svn path=/trunk/kdebase/khotkeys/; revision=129081
2001-12-29 17:33: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
Dirk Mueller
e3766f1c3b Xinerama support (patch by Balaji Ramani <balaji@spinnakernet.com>)
svn path=/trunk/kdebase/kwin/; revision=96584
2001-05-12 00:33:43 +00:00
Matthias Ettrich
6c7cd20690 tabify
svn path=/trunk/kdebase/kwin/; revision=93937
2001-04-25 16:16:18 +00:00
Waldo Bastian
57f4808d0f Make resource management in clients easier with these three functions:
init() called after client got loaded
deinit() called when client is about to get unloaded
reset() called once before Options::resetClients() is emitted

svn path=/trunk/kdebase/kwin/; revision=93372
2001-04-22 05:39:17 +00:00
Michael Matz
a9522c8834 changes for ltdl.h (when I remove that backward compatible POSIX breaking
hack).

svn path=/trunk/kdebase/kwin/; revision=90718
2001-04-06 04:04:51 +00:00
Matthias Elter
c48346551b Patch by Matthias Ettrich:
Changing the focus policy does not reset all client styles.

svn path=/trunk/kdebase/kwin/; revision=83927
2001-02-21 18:29:24 +00:00
Waldo Bastian
2f90225543 Put stuff in KWinInternal namespace.
Export client.h, workspace.h and options.h so that people can write plugins.

svn path=/trunk/kdebase/kwin/; revision=83707
2001-02-20 01:20:38 +00:00
Waldo Bastian
460c6e1d36 Don't crash when changing decorations with RMB.
svn path=/trunk/kdebase/kwin/; revision=83040
2001-02-15 23:19:07 +00:00
Matthias Ettrich
3deaa52496 cooperate with qt-2.2.4 (the deadkey popup fix) and qt-copy.
Don't update the frame decoration if it didn't change, I don't want
flicker when changing the focus policy.

svn path=/trunk/kdebase/kwin/; revision=80891
2001-02-01 01:13:44 +00:00
Waldo Bastian
8190667206 Let reconfigure() reparse plugin setting.
svn path=/trunk/kdebase/kwin/; revision=78491
2001-01-16 23:54:45 +00:00
David Faure
d3c59a34aa Look for plugins using KLibLoader::findLibrary.
Makefiles will be committed silently :)

svn path=/trunk/kdebase/kwin/; revision=73404
2000-12-04 18:47:19 +00:00
Matthias Ettrich
6dacbd0112 tool window handling for the default style
visible dialogs for stays-on-top fullscreen windows (helps with Konqueror's dialogs)
Fixed lock with Alt-Tab box plus accelerator

svn path=/trunk/kdebase/kwin/; revision=65241
2000-09-25 15:30:51 +00:00
Waldo Bastian
480d78944d WABA: Fixed BR#9445: Checkmark in decoration menu is missing
svn path=/trunk/kdebase/kwin/; revision=63499
2000-09-11 05:30:24 +00:00
Matthias Ettrich
5314dbb817 mosfet's much ligher version of the default style. Still flickers a little bit, but
uses much less resources

svn path=/trunk/kdebase/kwin/; revision=61022
2000-08-14 18:49:44 +00:00
Dirk Mueller
6d0db49d84 warning -> qWarning
these warnings should be popup boxes in fact.
If only there would be no string freeze... :-(

svn path=/trunk/kdebase/kwin/; revision=59163
2000-07-29 01:55:29 +00:00
Rik Hemsley
62e30dc0dc KDE 2 style is now default. KDE 1 style now available as plugin.
KDE 2 style still needs work, but bear with me. I'll get on it...

svn path=/trunk/kdebase/kwin/; revision=57252
2000-07-16 10:20:29 +00:00
Rik Hemsley
bad229a6ee s/Standard/KDE 1/
svn path=/trunk/kdebase/kwin/; revision=57037
2000-07-15 07:03:06 +00:00
David Faure
b9cc5b7cb1 Hmm, somebody went on holidays and forgot to commit killwindow.h apparently :->
Commented out the feature (you didn't think I would reimplement it, did you ?) :)

And took the opportunity of touching Makefile.am for including *.moc in *.cpp
(faster compilation, smaller link lines, less files...)

svn path=/trunk/kdebase/kwin/; revision=52667
2000-06-09 00:20:21 +00:00
Frank Baumgart
99c4839913 --enable-final fixes
svn path=/trunk/kdebase/kwin/; revision=47102
2000-04-20 17:37:33 +00:00
Matthias Ettrich
b49151074f Session management for KDE-2.x : say hello to the ksmserver
svn path=/trunk/kdebase/kwin/; revision=44552
2000-03-24 22:23:02 +00:00
Daniel M. Duley
de782ec37b Implemented plugins :) This was a huge pain in the arse because a) I am stupid
and it kept segfaulting because I wasn't releasing windows, and b) The plugins
didn't want to resolve anything in the kwin executable, only to the other
libs. I finally solved this by using -rdynamic in kwin's LDFLAGS, which I hope
is okay ;-)

svn path=/trunk/kdebase/kwin/; revision=37234
1999-12-24 01:36:47 +00:00