Commit graph

3315 commits

Author SHA1 Message Date
Matthias Ettrich
0df9f29ccd help toolkits to figure out the frame geometry when receiving reparentNotify
svn path=/trunk/kdebase/kwin/; revision=44288
2000-03-22 11:47:10 +00:00
Matthias Ettrich
0bb1975556 performance
svn path=/trunk/kdebase/kwin/; revision=44279
2000-03-22 10:06:37 +00:00
Matthias Ettrich
c2b5722a6b small optimizations
svn path=/trunk/kdebase/kwin/; revision=44233
2000-03-21 20:02:27 +00:00
Navindra Umanee
bff6c83557 reversed last patch. :)
svn path=/trunk/kdebase/kwin/; revision=44120
2000-03-20 13:50:27 +00:00
Navindra Umanee
3b4f6b0ef8 The so-called KWM style deviated rather disturbingly from the
original.  This is my attempt at making it more kosher.  As a bonus,
the title font is also vertically centered.

Unfortunately, the titlebar is still missing a line at the very top,
so the buttons are still not flush with it.  I hope someone can fix
it!

svn path=/trunk/kdebase/kwin/; revision=44093
2000-03-20 05:14:40 +00:00
Daniel M. Duley
06a809e7ac Screwing around with the titlebar layout a little. Windows can now be resized
smaller than the sizeHint of the bar.

Repainting is also messed up with all the clients it seems... dunno how that
happened :P

svn path=/trunk/kdebase/kwin/; revision=43873
2000-03-18 12:35:05 +00:00
Kurt Granroth
2b0fb2434f use KGlobal::menuFont()
svn path=/trunk/kdebase/kwin/; revision=43693
2000-03-16 19:37:37 +00:00
Kurt Granroth
bad0fc821a Added separator in workspace list
svn path=/trunk/kdebase/kwin/; revision=43207
2000-03-12 06:18:14 +00:00
Matthias Ettrich
98ea0a56db small fixes
svn path=/trunk/kdebase/kwin/; revision=42768
2000-03-06 19:14:20 +00:00
Waldo Bastian
c19c5935bf WABA: Build kwin as a kdeinit module.
svn path=/trunk/kdebase/kwin/; revision=41646
2000-02-24 14:46:31 +00:00
Stephan Kulow
34117fb345 CVS_SILENT simplifying make messages
svn path=/trunk/kdebase/kcontrol/; revision=40569
2000-02-12 17:07:24 +00:00
David Faure
ee87d173ec Name the interface object - I can logout !
svn path=/trunk/kdebase/kwin/; revision=40512
2000-02-12 01:00:30 +00:00
Christopher Molnar
54be0a25d9 CJM - fixed pid problem in main --->register kwin
svn path=/trunk/kdebase/kwin/; revision=40510
2000-02-12 00:55:36 +00:00
Christopher Molnar
5e28e27b2c added kwiniface iface in main for logout
svn path=/trunk/kdebase/kwin/; revision=40509
2000-02-12 00:50:53 +00:00
David Faure
87a7b9b775 Build a kwiniface + fixed compiler warning
svn path=/trunk/kdebase/kwin/; revision=40507
2000-02-12 00:36:49 +00:00
Christopher Molnar
6482ac8053 Added kwininface:logout code. Still needs revisions - Chris M.
svn path=/trunk/kdebase/kwin/; revision=40506
2000-02-12 00:25:21 +00:00
Stephan Kulow
7a2d237c3c removed some obsolete Qt functions (mostly QString::data())
svn path=/trunk/kdebase/kcontrol/; revision=40032
2000-02-05 22:37:42 +00:00
Cristian Tibirna
dc7f396179 CT: erase crash in tabbox thanks to Malte Starostik
svn path=/trunk/kdebase/kwin/; revision=39262
2000-01-26 01:43:26 +00:00
Daniel M. Duley
133bce84f6 Opps, I had a couple styles in the SUBDIRS like I hadn't committed yet ;-)
svn path=/trunk/kdebase/kwin/; revision=39127
2000-01-23 23:36:07 +00:00
Daniel M. Duley
49aba34b01 My weekly big ass style commit ;-) This implements what I discussed earlier
today.

First: All decoration pixmaps are now regenerated when the palette color scheme
changes. There is no longer any need to apply color schemes *before* switching
styles or reload the plugin. The schemes can change any time and be handled
correctly by styles that generate their pixmaps based on the color scheme.

Second: The color scheme has been extended to allow separate entries for
different visual styles. For example there are now entries for both titlebar
rectangle fills like those used in the standard KDE style and KStep vs.
titlebar grooves like those used in System. The same thing applies to
foreground colors for buttons that follow the button background settings like
KStep and System vs. those that don't like the standard style.

Right now none of the color schemes have the new entries so defaults are
calculated, usually by judging the intensity of what the decoration is
drawn on and contrasted with that. To check things out look at the standard,
KStep, and System styles under color schemes like default, CDE, and Digital
CDE.

The Be style is not updated because I have a cooler one on my HD ;-)

I hope this makes David happier <grin> :)

svn path=/trunk/kdebase/kwin/; revision=39126
2000-01-23 23:33:29 +00:00
Daniel M. Duley
cdbf1668b5 Don't use a bottom gradient, just a top one. There isn't enough space on the
bottom to get a smooth gradient that is noticeable and it doesn't blend
properly.

svn path=/trunk/kdebase/kwin/; revision=39070
2000-01-23 15:13:59 +00:00
Daniel M. Duley
202be83dae Making this style ultra-cool ;-) If you are on a highcolor display the frame
top and bottom automatically gradient bevels according to the color scheme.
Very cool looking, and no configuration required. If you want to see a pic
look at http://www.mosfet.org/system-gr.gif.

To try it out update, set the system color scheme, and the switch to the System
style via the right mouse menu on the kwin titlebar.

svn path=/trunk/kdebase/kwin/; revision=39064
2000-01-23 13:39:20 +00:00
Charles Samuels
d4e4653ac8 More I18N_NOOP stuff
svn path=/trunk/kdebase/kcontrol/; revision=38961
2000-01-21 23:34:50 +00:00
Daniel M. Duley
e25393dafa Did a real implementation for the question mark button for the standard style.
KPixmap2Bitmap is really useful for this type of thing :)

svn path=/trunk/kdebase/kwin/; revision=38552
2000-01-17 05:31:28 +00:00
Daniel M. Duley
03f09a8927 KWin plugins require -rdynamic because they need to resolve symbols in KWin.
The other plugins (kicker, widget themes, etc...) don't need this.

svn path=/trunk/kdebase/kwin/; revision=38549
2000-01-17 01:27:32 +00:00
Waldo Bastian
7077776bb1 WABA: Use KCmdLineArgs
svn path=/trunk/kdebase/kwin/; revision=38160
2000-01-12 15:08:42 +00:00
Matthias Ettrich
c772a8e8a2 new transients as well
svn path=/trunk/kdebase/kwin/; revision=37997
2000-01-10 03:49:49 +00:00
Matthias Ettrich
8460a9ad3e make transients sticky when their main window becomes sticky
svn path=/trunk/kdebase/kwin/; revision=37996
2000-01-10 03:47:30 +00:00
Stephan Kulow
39ef01ccbe some write more portable Makefiles than others :)
svn path=/trunk/kdebase/kwin/; revision=37819
2000-01-08 17:15:29 +00:00
Daniel M. Duley
a6cc2d48ab Opps, forgot to get rid of an annoying warning :P
svn path=/trunk/kdebase/kwin/; revision=37504
2000-01-03 13:16:39 +00:00
Daniel M. Duley
cb69226b40 Use kdrawutil and committing my initial implementation of the kwm theme
compatible style. This isn't done but currently reads most of the entries. It
requires you use kwinrc and kdeglobals so kthememgr will need to be updated if
you don't want to apply things manually ;-) I also have to add custom cursor
positioning and some other small things. Also, KWM used a bitmap to set the
mask and I do for now as well. This needs to change into regions as it is
*really* inefficent with KWin. For now installing the .desktop for the plugin
is disabled. I will provide some screenshots for the curious when I launch
mosfet.org ;-)

svn path=/trunk/kdebase/kwin/; revision=37503
2000-01-03 13:13:57 +00:00
Kurt Granroth
4e650b8d0f fixed typo
svn path=/trunk/kdebase/kwin/; revision=37447
1999-12-30 22:46:45 +00:00
Woohyun JANG
ba32bbdd36 using KWM::title() instead of XFetchName() to get a window's name.
svn path=/trunk/kdebase/kwin/; revision=37307
1999-12-27 09:22:19 +00:00
Daniel M. Duley
e5a9e7cd5a Bye bye, you are plugins now.
svn path=/trunk/kdebase/kwin/; revision=37235
1999-12-24 01:38:53 +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
Daniel M. Duley
16008373fb Re-enabling sticky button.
svn path=/trunk/kdebase/kwin/; revision=37180
1999-12-22 23:55:18 +00:00
Stephan Kulow
caf3ce1376 let it compile with SparcWorks CC 5.0 (templates, stdlib.h, little ANSI glitches)
svn path=/trunk/kdebase/kwin/; revision=37154
1999-12-22 17:16:23 +00:00
Chris Schlaeger
7a0af99fb9 Code was generating an internal compiler error with egcs-2.91.66 on
my SuSE 6.3. Rearranging the statements fixed it.

svn path=/trunk/kdebase/kwin/; revision=37132
1999-12-22 09:46:21 +00:00
Cristian Tibirna
f9c7091e05 CT: Scott Lamb <slamb@oh.yeah.org> corrected the spelling of
Strickly and wanted to implement
    focus configurability. Here is the (for now) "politically correct" version.

svn path=/trunk/kdebase/kwin/; revision=37123
1999-12-22 04:49:43 +00:00
Daniel M. Duley
91cb1debe1 Small fixes.
svn path=/trunk/kdebase/kwin/; revision=37122
1999-12-22 04:09:47 +00:00
Kurt Granroth
eeca670a3d I have no clue why I thought I had fixed the floating toolbar
before... doesn't it make sense that [menu] would work for the
MENUBARS?  Yeesh... I'm not sure what I was drinking that day.

Anyway, I think I got it now.  Toolbars use [tools] (how about that!) :-)

svn path=/trunk/kdebase/kwin/; revision=37041
1999-12-21 05:54:40 +00:00
Cristian Tibirna
05f34e3f95 CT: the real fix. How the heck did this work?
svn path=/trunk/kdebase/kwin/; revision=36903
1999-12-19 03:04:39 +00:00
Cristian Tibirna
e3d3ed18d1 CT: wasn't smart placement act a bit strange? This fixes it.
svn path=/trunk/kdebase/kwin/; revision=36862
1999-12-18 20:33:54 +00:00
Stephan Kulow
fe7681b639 - const unsigned char *bitmap, int bw=0, int bh = 0)
+                       const unsigned char *bitmap, int bw, int bh)

svn path=/trunk/kdebase/kwin/; revision=36703
1999-12-16 10:27:45 +00:00
Matthias Ettrich
705e85aaf7 even more elaborate
svn path=/trunk/kdebase/kwin/; revision=36674
1999-12-15 18:27:26 +00:00
Matthias Ettrich
e673ba48e8 be more elaborate what you want
svn path=/trunk/kdebase/kwin/; revision=36673
1999-12-15 18:26:19 +00:00
Daniel M. Duley
5093710cf4 Change the shade default steps from 50 to a much snappier 10 ;-) If bg
pixmaps and masks are used (system and the kwm compatible style), 50 is way
too jerky.

svn path=/trunk/kdebase/kwin/; revision=36625
1999-12-15 00:43:48 +00:00
Lars Knoll
0b0548786a removed the subdir images, since it has no makefile. At least it compiles
like that.

svn path=/trunk/kdebase/kwin/; revision=36618
1999-12-14 23:45:14 +00:00
Daniel M. Duley
f182cd2a21 I was going to comment out all the styles except stdclient and system for
Krash since they are compiled in, but after comparing memory usage it's not
worth it. The styles are tiny ;-)

Also, Matthias - If you are reading this I am having a problem implementing
plugins. I get segfaults whenever I delete the old client and don't know why...
it looks okay. Specifically I need to iterate through all the clients, delete
them, then reallocate.

svn path=/trunk/kdebase/kwin/; revision=36614
1999-12-14 23:12:12 +00:00
Preston Brown
ee298f43ec moved over from kwm.
svn path=/trunk/kdebase/kwin/; revision=36550
1999-12-14 21:11:15 +00:00