Commit graph

19 commits

Author SHA1 Message Date
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
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
Script Kiddy
6bfb54fe77 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=83062
2001-02-16 03:13:52 +00:00
David Faure
44a694a004 CVS_SILENT lib_ -> kde_module_
svn path=/trunk/kdebase/kwin/; revision=73405
2000-12-04 18:47:47 +00:00
Daniel M. Duley
420b046646 The old default is now moved to the Laptop style, since they are so similiar
but has so many more bugfixes. So if you liked the old default here it is ;-)

svn path=/trunk/kdebase/kwin/; revision=68367
2000-10-20 01:14:46 +00:00
Script Kiddy
a8a059a53d CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=66638
2000-10-07 05:06:26 +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
5e3b53660d WABA: Fixed #8656 kwin titlebar: doubleclick does not maximize
if (titlebar->geometry().contains( e->pos() ) )
-        setShade( !isShade() );
+       workspace()->performWindowOperation( this, options->operationTitlebarDblClick() );
     workspace()->requestFocus( this );

svn path=/trunk/kdebase/kwin/; revision=63485
2000-09-11 03:34:01 +00:00
Matthias Ettrich
5b1fb25c55 less flicker for default. Clean-up namespace for classes
(several clients used different versions of the same class 'SystemButton')

svn path=/trunk/kdebase/kwin/; revision=61249
2000-08-16 13:11:21 +00:00
Matthias Ettrich
d0ab0a1595 less flicker
svn path=/trunk/kdebase/kwin/; revision=61018
2000-08-14 17:50:51 +00:00
Michael Matz
160a2d549b Away with the *.moc.* files.
svn path=/trunk/kdebase/kwin/; revision=54907
2000-06-29 21:36:40 +00:00
Waldo Bastian
ebbf5fe55c WABA: Use $(KDE_PLUGIN) for plugins and let them link against kwin.{la|so}
svn path=/trunk/kdebase/kwin/; revision=49722
2000-05-16 23:10:41 +00:00
Daniel M. Duley
b58843030c Final updates for the new button color implementation. The options class
now only has one button entry, "ButtonBg", instead of 3. It's up to the client
what to do with it. All the clients are updated except mwm. As the
author noted in his README, mwm isn't Motif window manager at all but KStep ;-)
I disabled it for now until there is new drawing code in there, it would
confuse users anyways since were about to release another Krash and it is
identical to KStep.

Also, I removed the Groove and GrooveText color entries. We now use the
normal TitleBar and Font entries. Hence system will probably look funny until
you adjust the colors since it draws text on the frame and not the titlebar
bg. All the rest look much better by default.

To configure button colors set the active/inactive button background color
in KControl. I'll remove the other entries ASAP. You'll also note that the
active/inactive colors are now actually what you would expect.

svn path=/trunk/kdebase/kwin/; revision=47753
2000-04-28 15:53:00 +00:00
Daniel M. Duley
6a5046ebb6 Smaller spaced bevels
svn path=/trunk/kdebase/kwin/; revision=45492
2000-04-03 06:03:59 +00:00
Daniel M. Duley
9e709f2784 Frame for the titlebar. I originally left this out to leave more room for
the text when using tiny titlebars but it looks like crap without it ;-)

BTW, is this style working well for laptop people?

svn path=/trunk/kdebase/kwin/; revision=44853
2000-03-27 09:43:24 +00:00
Daniel M. Duley
1079007ceb Thinking about what Cristian said and how it's going to be difficult to
satisfy both laptop users who want large buttons and those who have low
resolution and want small bars. So I made it configurable :)

You can now set the titlebar height anywhere from 14 to 32 pixels, which also
changes the button size:

You currently need to edit ~/.kde/share/config/kwinrc and set:

[Laptop]
TitleHeight=Some number between 14-32.

Then restart KWin (it's not in the options class yet). The default is still
a small titlebar.

Here's the shot I put up before with the default small titlebar:
http://www.mosfet.org/kwinlaptop.gif

Here's one with a larger titlebar (21 pixels):
http://www.mosfet.org/laptop-bigtitlebar.gif

svn path=/trunk/kdebase/kwin/; revision=44755
2000-03-26 13:42:16 +00:00
Daniel M. Duley
ff6cb2d276 More layout stuff.
svn path=/trunk/kdebase/kwin/; revision=44699
2000-03-25 21:41:18 +00:00
Daniel M. Duley
0c77d7383e Trying to make the titlebar buttons easier to hit on laptops by increasing the
width. The issue here is I want to make the buttons as wide as possible for
laptop mice without having the titlebar be all buttons and no title ;-) My
solution so far is making the common buttons bigger and the uncommon ones
smaller. It's not consistent but let's me make the areas frequently hit
wide as hell, which is good for a laptop :) Close, iconify, and maximize are
larger - sticky and help are smaller.

Another updated shot is at:
http://www.mosfet.org/kwinlaptop.gif

svn path=/trunk/kdebase/kwin/; revision=44698
2000-03-25 21:37:49 +00:00
Daniel M. Duley
ef5094b21a New KWin look-and-feel plugin specifically coded for laptops :)
It features a reduced height taskbar with oversized width buttons (I may make
these even wider to make them easier to hit), a minimal frame, and a
oversized shaped resize handle. Uses the system KWin style buttons, not just
because I like them but because they fit in the reduced size bar ;-)

As usual, here's a screenshot:
http://www.mosfet.org/kwinlaptop.gif

On another note, the Be style is going away and is now replaced by B2. Be
needs work so I asked Matthias Ettrich about it (he's the maintainer of that
style), and it turns out he's already using B2 :)

svn path=/trunk/kdebase/kwin/; revision=44656
2000-03-25 16:49:12 +00:00