Commit graph

1025 commits

Author SHA1 Message Date
Dana Jansens
8ed79248e7 when python_exec fails on user.py:
a) remove all the bindings
  b) exec defaults.py
  c) show a dialog message
2003-02-16 16:33:12 +00:00
Dana Jansens
8cbabdcb93 import the config module properly.
shit all over stderr and exit when something from the config module couldn't be loaded
2003-02-16 16:32:21 +00:00
Dana Jansens
afe1d9e3a8 still draw the background when no text will fit 2003-02-16 10:05:29 +00:00
Dana Jansens
532697b21a put the desktop names in the right variable 2003-02-16 09:08:34 +00:00
Derek Foreman
73a584981e Fixed a bug in grab handling for chains
(wasn't updating _grabbed or the current binding tree position in some cases)
2003-02-16 06:55:11 +00:00
Dana Jansens
fd76689470 dont provide a default icon in the python stuff, itll come from the style 2003-02-15 12:47:05 +00:00
Dana Jansens
7fe3301e7e Add the "obsetroot" tool. Use it to set the root background. 2003-02-14 23:05:59 +00:00
Dana Jansens
299dc47a6b rm shit that no longer applies 2003-02-14 22:53:24 +00:00
Dana Jansens
53b5c60a5e check if the window is focused before unfocusing it 2003-02-14 18:31:52 +00:00
Dana Jansens
f78761c8dd just because we think we're focused doesnt mean we actually are, so send the focus change to the xserver anyways. 2003-02-14 11:09:01 +00:00
Dana Jansens
29d030cc3e use an icon smaller than the surface if possible 2003-02-14 08:47:37 +00:00
Dana Jansens
0b466d7136 kill debug prints 2003-02-14 08:20:54 +00:00
Dana Jansens
49974f6916 dont put DEBUG: in the printf 2003-02-14 06:22:29 +00:00
Dana Jansens
50002f2ceb add a default icon 2003-02-14 05:48:31 +00:00
Dana Jansens
e936cba57e rm debug print 2003-02-14 03:44:00 +00:00
Dana Jansens
2f2d6e736e layout the titlebar right, was adding too much space when buttons were removed from the titlebar 2003-02-14 03:13:26 +00:00
Dana Jansens
059bc4dc24 add a Config class with config data from the scripts.
set up the functions for loading a style from a file.
use the Config class throughout instead of reading out of the python namespace all the time.
2003-02-14 03:04:23 +00:00
Dana Jansens
238355f190 put the Python.h header in the .cc 2003-02-13 23:44:47 +00:00
Dana Jansens
54e85b2599 only keep fullscreen windows in the top layer when they or a relative is focused 2003-02-13 23:44:32 +00:00
Dana Jansens
07305ec718 display icons in the frame titlebar! 2003-02-13 10:23:22 +00:00
Dana Jansens
af27d7b7f0 doc _layer.
add an Icon struct
2003-02-13 07:38:45 +00:00
Dana Jansens
939e7887ce notify the frame when the desktop changes 2003-02-13 07:35:25 +00:00
Dana Jansens
23cc9e0546 show state with the alldesktops and max buttons 2003-02-13 07:32:30 +00:00
Dana Jansens
f898314662 buttons press! 2003-02-13 07:30:11 +00:00
Dana Jansens
c88451f0c1 readd titlebar buttons. but they dont press yet 2003-02-13 07:18:11 +00:00
Dana Jansens
8ad1d0bb99 clear the stringlist before populating it 2003-02-13 04:37:41 +00:00
Dana Jansens
7c32ac2b3f proper order for headers 2003-02-12 06:49:06 +00:00
Dana Jansens
555facb9c7 free the surfaces' pixeldata after rendering it 2003-02-11 22:38:29 +00:00
Dana Jansens
e429ce39de new key code with keyboard grabs and such, thanks to ManMower. Kills the "key leak" bug, and makes everything work better and faster! woot 2003-02-11 21:05:50 +00:00
Dana Jansens
7112755cfc add a comment regarding the client.area() being not-what-you-want 2003-02-11 20:20:01 +00:00
Dana Jansens
6ae8608aed make stacked cycling work without a modifier-key binding, i think. cleaner checking for modifiers in motion and stackedcycle. 2003-02-11 09:52:24 +00:00
Dana Jansens
b18959e1bd provide access to the desktop names 2003-02-10 23:28:56 +00:00
Dana Jansens
22b5d6458e initialize the net_showing_desktop hint 2003-02-10 22:49:46 +00:00
Dana Jansens
1e46a39dc3 more user friendly net_showing_desktop support 2003-02-10 22:17:40 +00:00
Dana Jansens
ba9b0617ed smarter focus restoring 2003-02-10 17:01:32 +00:00
Dana Jansens
5d47526b30 focus the desktop when entering show-desktop-mode, and refocus what was focused before when leaving 2003-02-10 17:00:34 +00:00
Dana Jansens
265cf6c947 show desktop mode works! 2003-02-10 16:56:03 +00:00
Dana Jansens
f305e7f18d rm some old commented code 2003-02-10 16:28:00 +00:00
Dana Jansens
81c164bbf9 add support for desktop layouts specified by pagers 2003-02-10 16:12:33 +00:00
Dana Jansens
29bd1c97a2 rm a debug print 2003-02-10 15:41:48 +00:00
Dana Jansens
4ef1514836 stop using a desktop number for iconic windows. woot! 2003-02-10 07:16:56 +00:00
Dana Jansens
12108e16e1 keep track of struts for each desktop 2003-02-10 06:50:19 +00:00
Dana Jansens
544bc20a84 rm debug prints 2003-02-10 03:50:47 +00:00
Dana Jansens
43c1f2a8f8 modal works like a charm now 2003-02-10 03:47:54 +00:00
Dana Jansens
ebdfbdabbe keep things in min/max bounds properly 2003-02-10 00:21:09 +00:00
Dana Jansens
115fedf432 use the c++ std cheaders 2003-02-09 23:07:54 +00:00
Dana Jansens
74cfb1b4c1 signed ints instead of unsigned ints again. less pain. pain bad. 2003-02-09 22:40:47 +00:00
Dana Jansens
9e05db9518 remove includes for widgetbase.hh. fix bug with circular modal pointer. 2003-02-08 10:48:19 +00:00
Dana Jansens
c54d92b784 this is no longer used 2003-02-08 09:23:24 +00:00
Dana Jansens
e4fa1c5a71 split the move and resize on the client window 2003-02-08 09:19:40 +00:00