Dana Jansens
615cbd9607
change the menu plugin interface, no need for the create/destroy functions any more.
...
redo the client-menu plugin to work with the new menu api
2003-08-28 05:44:13 +00:00
Dana Jansens
c34ef4028e
half way through the changes to new menu code/design. hot shit. static menus work, on to plugins next.
2003-08-28 02:10:23 +00:00
Dana Jansens
a32c2c125c
dont be rude to non-normal windows with keeping them onscreen
2003-08-27 18:50:12 +00:00
Dana Jansens
fdfaa0c8dd
remove the last of the cool stuff thanks to GTK fuck fuck. no more not focusing windows in groups that arent focused on map
2003-08-25 18:40:00 +00:00
Dana Jansens
5186d04c61
better handling of maximizing, wrt changing decorations on the windows, and showing the correct decor for the max state especially for windows which dont change size (Xnest) when maximized cuz they are at their maximum size already
2003-08-25 08:49:48 +00:00
Dana Jansens
0964b804a1
restore the stacking order of a saved session
2003-08-25 07:48:28 +00:00
Dana Jansens
888c3d1f6a
make activate take a here parameter
2003-08-14 05:57:45 +00:00
Dana Jansens
950b85b988
oops i fucked up tore's patch. better.
2003-08-12 19:41:22 +00:00
Dana Jansens
e531f69006
bug fixes for growtoedge from tore. props to tore for all the growtoedge and movetoedge code, and directional focus code also since i dont think i mentioned his name before in the changelogs woot.
2003-08-12 19:25:03 +00:00
Dana Jansens
f4979de3f5
dont move windows when starting
2003-08-12 09:30:28 +00:00
Dana Jansens
c1f0f7c40f
small bugfix to the directional focus code.
...
add the client_directional_edge_search function.
2003-08-12 08:25:04 +00:00
Dana Jansens
c90da6da78
move the keyboard and mouse plugins into the kernel for mucho sexiness.
...
make workspace changing a grabbed/interactive process like focus cycling is, with the popup and all.
this is some hot shit.
2003-08-12 07:26:16 +00:00
Dana Jansens
d94fba7262
save the frame decorations in client_configure_full before causing the fake frame adjust, since that loses its old value.
2003-08-10 23:30:15 +00:00
Dana Jansens
2494762dbf
a couple frame layout bugfixes hidden inside all this.. wee
...
fixes for maximizing windows:
- when you toggledecor, it will reconfigure once, but the new constraints from the decor changes would not be in effect when the window was resized to the contranits. fixed by calling frame_adjust_area first thing ni client_configure_fulll with fake=TRUE which will recalc all the frame geometry without resizing/redrawing anything in the frame. this way the decor can take effect in the geometries.
- when maxed horizontally, make the client fill the screen, but dont do this by just making it wider than the screen, fit it to the screen and adjust the titlebar/handle as appropriate to keep it all on the screen.
- when maxed horizontally and vertically, remove the handle from the decorations
2003-08-05 10:31:20 +00:00
Dana Jansens
853d5f4b70
when setting up decor on a window, it needs to reconfigure twice if the decor changes, cuz the constraints need the new frame sizes to work right
2003-08-05 07:39:44 +00:00
Dana Jansens
26827d875a
kill non-opaque move/resize
...
add an option for redrawing/resizing the client window while resizing, when disabled the client is not touched until the resize is complete.
2003-08-03 17:47:10 +00:00
Dana Jansens
be7c0d426a
use the frame size not the client size when figuring out if stuff fits on the screen
2003-08-02 18:09:46 +00:00
Dana Jansens
4a2400c5c2
that line ended up in teh if somehow...
2003-08-02 05:31:23 +00:00
Dana Jansens
c8fa3a6028
set the desktop hint if the desktop is changed by the session code
2003-07-31 09:02:56 +00:00
Dana Jansens
d7f3d16fb7
set the desktop hint after everything is read/setup even session stuff
2003-07-31 09:01:14 +00:00
Dana Jansens
717d10f31a
add the window to the lists before setting the client list hint
2003-07-31 08:45:57 +00:00
Dana Jansens
02c15aca65
add a function to retrieve the sm_client_id value
2003-07-31 08:04:20 +00:00
Dana Jansens
9c1438f17b
restore saved session data for applications
2003-07-30 20:01:35 +00:00
Dana Jansens
9e9e6278d5
attemp #3
2003-07-30 16:15:51 +00:00
Dana Jansens
f346738173
attempt #2 at better logical size values
2003-07-30 16:14:24 +00:00
Dana Jansens
0a809d36dd
attempt #2 at better logical size values
2003-07-30 16:13:52 +00:00
Dana Jansens
c852826e9e
include the base size in the logical size
2003-07-30 16:09:56 +00:00
Dana Jansens
006de2abaa
the size can be 0 when there is a base size
2003-07-30 07:09:36 +00:00
Dana Jansens
1aa0bc66eb
improved ICCCM compliance!
...
a) send ConfigureNotify back to the client as required by the ICCCM in all sitatuations.
b) send the corrent coords in the ConfigureNotify, including the border width
c) remove the WM_STATE property when unmanaging a window
2003-07-30 06:19:15 +00:00
Dana Jansens
b799cfd9a3
base rudeness on if they have a strut even smarter!
2003-07-28 19:59:37 +00:00
Dana Jansens
067776e783
base rudeness on if they have a strut or not
2003-07-28 19:56:52 +00:00
Dana Jansens
4d82dd3017
make the new placement restrictions not affect !normal windows like panels
2003-07-28 19:53:54 +00:00
Dana Jansens
950516124f
make those apps stay/map on screen!! fuck stupid apps. thats right im talking to you mozilla and you too java.
2003-07-28 18:06:55 +00:00
Dana Jansens
09f178aa54
use the macro
2003-07-28 16:10:06 +00:00
Dana Jansens
eb1fb5580e
keep apps from moving/maping their titlebar underneath left/top panels
2003-07-28 07:19:47 +00:00
Dana Jansens
11cde9683d
add client_search_transient which searches the tree from a client down for a client
2003-07-25 13:25:09 +00:00
Dana Jansens
5be0a82a35
use ob_debug for any debug printing and only display the output when its a debug build or when --debug is passed to it
2003-07-24 06:02:38 +00:00
Dana Jansens
a057d14c8b
stop shownig the desktop when a new window maps
2003-07-22 16:50:23 +00:00
Dana Jansens
4c1641bfc7
simple code cleanup
2003-07-12 06:17:13 +00:00
Dana Jansens
9d7244e646
when a transient maps on another desktop, give it focus when it deserves it
2003-07-11 15:32:03 +00:00
Dana Jansens
130a42710c
move to the desktop of the activated window
2003-07-11 00:08:43 +00:00
Dana Jansens
81af5a8b0c
add disabled buttons, instead of now showing buttons at all when they wont do anything, now show a disabled button instead. this severely breaks compatibility with blackbox themes since there is no good way to automiatically create a disabled button that i can think of, so if they dont exist in the theme you get black and white for the button.
...
when a window cant be resized, its handle is not removed but its grips are.
change allowing the user to disable individual decorations as that is overkill,
instead allow a toggle through the client.decorate boolean.
2003-07-10 23:27:02 +00:00
Dana Jansens
a95dc346fe
prefix and capitalize ObMenu ObMenuEntry and ObMenuEntryRenderType
...
make the ObMenuEntryRenderType a standard enum instead bitflags
2003-07-10 19:27:12 +00:00
Dana Jansens
bddbe94328
make ob_state a function so it cant be changed outside of openbox.c
2003-07-10 19:06:00 +00:00
Dana Jansens
35418ca0fc
remove the ob_root var, its redundant of what Xlib already provides
2003-07-10 19:01:41 +00:00
Dana Jansens
122d55fbad
prefixing and capitalizing the StackLayer -> ObStackingLayer enum.
...
less includes in headers for less rebuilding on changes
2003-07-10 17:03:05 +00:00
Dana Jansens
59f318e897
prefix and capitalize the ObFocusFallbackType enum
2003-07-10 16:42:42 +00:00
Dana Jansens
e4be1f860b
prefix TRAN_GROUP to OB_TRAN_GROUP
2003-07-10 07:01:13 +00:00
Dana Jansens
4736c257a5
prefix and capitalize some more constants/enums in client.h (Function -> ObFunctions and WindowType -> ObClientType)
2003-07-10 06:59:39 +00:00
Dana Jansens
2477a38d2f
rename the Client struct to ObClient
2003-07-10 06:38:42 +00:00