Commit graph

1055 commits

Author SHA1 Message Date
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
Dana Jansens
6a88803b8c formatting 2003-02-08 07:42:31 +00:00
Dana Jansens
17b0266979 No longer using otk widgets for the frame decorations.
The titlebar no long has any buttons, in preparation for a new button system.
Using otk::Size for sizes, and unsigned ints (*PAIN*) we'll see..
2003-02-08 07:37:22 +00:00
Dana Jansens
d2df40965b compress motion events better 2003-02-07 09:39:04 +00:00
Dana Jansens
7359d4d711 compress config req's 2003-02-07 09:37:20 +00:00
Dana Jansens
c3e4f97d87 make "make dist" work, compiler flags cleanups 2003-02-06 06:19:46 +00:00
Dana Jansens
f26ebce547 only show prints for debug builds 2003-02-05 15:53:22 +00:00
Dana Jansens
7c8c9e998f new swig build system. much better. yay. 2003-02-05 15:38:29 +00:00
Dana Jansens
635af8c38b make sure windows aren't doing things they aren't allowed when their allowed actions changes.
remaximize windows when their decorations are changed
2003-02-05 06:44:39 +00:00
Dana Jansens
a1740a5071 add the headers 2003-02-04 13:36:00 +00:00
Dana Jansens
fc4885a3f4 compile fix 2003-02-04 13:32:03 +00:00
Dana Jansens
df0447ce6d watch for bad actions and contexts 2003-02-04 12:47:42 +00:00
Dana Jansens
f28550dc28 add an assert to catch bad stuff from the python 2003-02-04 12:46:04 +00:00
Dana Jansens
76525992cd update comment 2003-02-04 11:15:08 +00:00
Dana Jansens
220b5c40f9 make python config variables very visible by making them all capitals. cleaner nicer documentation in the py modules. make public functions more visible. 2003-02-04 11:03:57 +00:00
Dana Jansens
51a41b9b76 all new stacked cycling code. so much sexy.
add an openbox_active_window client message that lets you specify if you want the window to be raised and/or unshaded.
2003-02-04 08:51:47 +00:00
Dana Jansens
f6085d7801 rm debug prints 2003-02-04 03:53:15 +00:00
Dana Jansens
a765df7fa6 call getState() before updateTransientFor(), don't need to initialize _modal separately then 2003-02-04 01:43:20 +00:00
Dana Jansens
4ddb8181c2 make this focus shit not buggy again.. 2003-02-04 00:45:27 +00:00
Dana Jansens
1da8531a7b initialize _modal, its used before the window's type is checked 2003-02-03 22:35:07 +00:00
Dana Jansens
1cd253f468 handle modal windows better (bugfixes).
handle client-installed colormaps.
2003-02-03 20:18:30 +00:00
Dana Jansens
5dfd87b085 add a focused() member 2003-02-03 20:02:52 +00:00
Dana Jansens
02b9d474f1 dont let maximizing occur if the window cant move or resize 2003-02-03 10:50:14 +00:00
Dana Jansens
c9389a8970 support for modal children, both in the focus code and in the raise/lower code 2003-02-03 10:35:26 +00:00
Dana Jansens
e44c0cba4b set the desktop number before the number of desktops 2003-02-03 09:26:19 +00:00
Dana Jansens
9f8253a0a8 fix a signed/unsigned thing 2003-02-03 09:06:25 +00:00
Dana Jansens
6cc8d62e26 find modal children and focus them 2003-02-03 08:51:44 +00:00
Dana Jansens
d64505cfe2 logic error for modal focus 2003-02-03 08:48:54 +00:00
Dana Jansens
edd5394207 add function to focus modal children 2003-02-03 08:47:57 +00:00
Dana Jansens
cda0b1b8b7 rm a XXX that we cant do anything about, and wont break things anyhow 2003-02-03 08:43:36 +00:00
Dana Jansens
586cbd9354 dont let kde override-redirect windows be moved or resized 2003-02-03 08:42:42 +00:00
Dana Jansens
5bf70002f9 support the kde override_redirect hint, to make a window decor-less 2003-02-03 08:41:43 +00:00
Dana Jansens
05a8e51f17 add comments 2003-02-03 08:40:47 +00:00
Dana Jansens
88a4e59f44 always get the first focused screen 2003-02-03 08:37:55 +00:00
Dana Jansens
ef48bd3dff only watch for events on our window.
rm a XXX
2003-02-03 08:32:18 +00:00
Dana Jansens
2472004b8c watch for windows on desktops being removed, and change desktops if on one being removed 2003-02-03 08:30:41 +00:00
Dana Jansens
c00829334d rm a XXX 2003-02-03 08:21:06 +00:00
Dana Jansens
4147215afa rm a XXX.. comment it out :) 2003-02-03 08:20:30 +00:00
Dana Jansens
0571837e50 maximizing fixes and simplification 2003-02-03 08:19:48 +00:00
Dana Jansens
16df453856 fix compile err 2003-02-03 08:16:52 +00:00
Dana Jansens
8b7373cfca rm a XXX 2003-02-03 07:58:49 +00:00
Dana Jansens
7dbc6db043 remove a XXX 2003-02-03 07:44:54 +00:00
Dana Jansens
f06b944933 Client::move moves the client to the position so that its *frame* will be at the given coordinates 2003-02-03 04:51:10 +00:00
Dana Jansens
9223bfdd67 let the client be moved to a position specified for the *frame* 2003-02-03 04:14:54 +00:00
Dana Jansens
f5904cdaaa delete the openbox class, to shut things down properly! 2003-02-03 04:11:58 +00:00
Dana Jansens
478f240c7f fix the HOOOGE mem leak! YAY MANMOWER! 2003-02-03 04:04:08 +00:00
Dana Jansens
e2069b5792 move the restart into main.cc, so the openbox class can clean up properly before the restart 2003-02-03 00:06:46 +00:00
Dana Jansens
3a8af58b19 change commented code 2003-02-02 23:39:35 +00:00
Dana Jansens
51628baed0 dont decref this dictionary 2003-02-02 23:15:09 +00:00
Dana Jansens
76896e9aa5 dont include old configuration.hh 2003-02-02 22:01:02 +00:00
Dana Jansens
d22a6c6c04 capitalization 2003-02-02 22:00:38 +00:00
Dana Jansens
ca91ebe20c initialize the _single variable 2003-02-01 22:43:27 +00:00
Dana Jansens
889cb8880d GRAMMAR HAMMER 2003-02-01 13:37:16 +00:00
Dana Jansens
8a7bff7a05 let clients be remaximized to adjust to new surroundings/struts 2003-02-01 13:04:22 +00:00
Dana Jansens
83bfa01b0b remaximize windows when the strut changes 2003-02-01 12:25:24 +00:00
Dana Jansens
a7c7ae09aa dont let a resize get moved into a new increment by our little tricks 2003-02-01 12:19:17 +00:00
Dana Jansens
b18e83e010 always call the placewindow routine 2003-02-01 10:22:33 +00:00
Dana Jansens
fe9fb53a7b fire Startup on startup, not shutdown 2003-02-01 09:15:59 +00:00
Dana Jansens
3cca07840b maximizing without bugs! can it be? i think so! 2003-02-01 05:49:21 +00:00
Dana Jansens
2a2f4306f8 maximizing! 2003-02-01 05:26:06 +00:00
Dana Jansens
2c710b8646 missing a break 2003-02-01 00:22:16 +00:00
Dana Jansens
785957de80 add comment 2003-01-31 23:50:59 +00:00
Dana Jansens
536d54f9b8 import config 2003-01-31 09:23:31 +00:00
Dana Jansens
ff94208ce0 typo 2003-01-31 09:23:23 +00:00
Dana Jansens
3d8a035a9a try appending our shit to the path, and not import config in the cc 2003-01-31 06:01:16 +00:00
Dana Jansens
3afcc0bbf0 fix comment 2003-01-31 04:08:02 +00:00
Dana Jansens
9e89436208 add functions to give the skipTaskbar/Pager state 2003-01-30 22:58:12 +00:00
Dana Jansens
31ae81b34a changeState after a setState request 2003-01-30 22:20:25 +00:00
Dana Jansens
610950024f don't move the client if it isnt going anywhere 2003-01-30 21:51:50 +00:00
Dana Jansens
5de35ba1f7 update the strut when a client is unmanaged 2003-01-30 21:50:24 +00:00
Dana Jansens
f7a0eb7624 grab the keyboard during move/resize to make sure the popup doesnt get left onscreen if the modifiers are released before the button 2003-01-30 21:39:12 +00:00